Jayson Wonder Posted August 4, 2006 Share Posted August 4, 2006 I deleted the demo tax zone in order to create a new one and when I went back to add it I get this error: 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 '-20, 20' at line 1 select geo_zone_id, geo_zone_name, geo_zone_description, last_modified, date_added from geo_zones order by geo_zone_name limit -20, 20 When go to reports / best products purchased I get this error also: No. Products Purchased 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 '-20, 20' at line 1 select p.products_id, p.products_ordered, pd.products_name from products p, products_description pd where pd.products_id = p.products_id and pd.language_id = '1' and p.products_ordered > 0 group by pd.products_id order by p.products_ordered DESC, pd.products_name limit -20, 20 I think it is becasue the database feilds are empty but I am not sure. Can anyone give any advice , I am not so good with mysql. How can this be fixed? Thanks Link to comment Share on other sites More sharing options...
Guest Posted August 4, 2006 Share Posted August 4, 2006 http://www.oscommerce.com/community/bugs,1605 fix at the end of the page. Link to comment Share on other sites More sharing options...
Jayson Wonder Posted August 5, 2006 Author Share Posted August 5, 2006 http://www.oscommerce.com/community/bugs,1605fix at the end of the page. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.