osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

1064 - You have an error in your SQL syntax.

This is a discussion on 1064 - You have an error in your SQL syntax. within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hey guys/girls I have a fresh install with all the upgrades done (1 through 3) and i can connect to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack (4) Thread Tools
  4 links from elsewhere to this Post. Click to view. #1  
Old 08-24-2004, 03:01 PM
Lurker
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
j0ly
Default 1064 - You have an error in your SQL syntax.

Hey guys/girls

I have a fresh install with all the upgrades done (1 through 3) and i can connect to the db no problem, i removed all the packaged sample products, but when i go to add a new product, this is what i get after trying to view it

Quote:
1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 0, 10' at line 1

select p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '22' order by limit 0, 10

[TEP STOP]

ive tried adding new products various different ways, but nothing.... any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 08-24-2004, 03:13 PM
Lurker
 
Join Date: Jun 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
j0ly
Default

k this is bizarre, ill tell you abit about my catagorie hiarchy

its a site for car parts for a friend of mine, ( you can check out my problem at www.controlaltdeleted.com/customauto)

basically i have catagories of parts on the site
under the parts is a catagory for what car (brand of car ieL acura) the part can fit on
under that is the year of the car
then the part for that car

i did it this way thinking this is the only way (if someone can make a better suggestion im game for it)

so, heres the funny thing... if i click on the part under latest products i can see it no problem. if i navigate to that part through the catagory hiarchy then i get the error... any ideas???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/oscommerce-2-2-installation-help/3098-1064-you-have-error-your-sql-syntax.html

Posted By For Type Date
osCommerce Community Support Forums > error 1064 - /checkout_confirmation.php This thread Refback 01-14-2008 08:47 AM
osCommerce Community Support Forums > error 1064 - /checkout_confirmation.php This thread Refback 04-03-2007 05:15 AM
error 1064 - /checkout_confirmation.php - osCommerce Community Support Forums This thread Refback 01-19-2007 11:51 PM
error 1064 - /checkout_confirmation.php - osCommerce Community Support Forums This thread Refback 01-19-2007 11:07 PM

Similar Threads

Thread Thread Starter Forum Replies Last Post
1064 - error in your SQL syntax admin customer search webwolfe osCMax v1.7 Discussion 0 11-10-2006 06:13 AM
osCMax-2.0RC2-update051112 1064 Error. gamerigs osCMax v2 Customization/Mods 3 12-05-2005 06:44 AM
1064 - You have an error in your SQL syntax. jamie74 osCommerce 2.2 Modification Help 0 10-20-2004 11:45 AM
1064 error when creating new account CTapia osCommerce 2.2 Installation Help 2 10-01-2004 02:20 AM
1064 - You have an error in your SQL syntax Anonymous osCMax v1.7 Installation 3 05-10-2004 10:48 AM


All times are GMT -8. The time now is 06:46 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax