giorgos Posted October 17, 2006 Posted October 17, 2006 in admin panel i choose Catalog/ Reviews Products Expected Andi got message : Reviews 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 reviews_id, products_id, date_added, last_modified, reviews_rating from reviews order by date_added DESC limit -20, 20 [TEP STOP] Products Expected 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 pd.products_id, pd.products_name, p.products_date_available from products_description pd, products p where p.products_id = pd.products_id and p.products_date_available != '' and pd.language_id = '1' order by p.products_date_available DESC limit -20, 20 [TEP STOP] ver. info: osCommerce 2.2-MS2 MySQL 4.1.10a Thanks.
Guest Posted October 18, 2006 Posted October 18, 2006 Hi, I had the same problem (although I detected it when installing the discount coupon contribution). The formal solution is documented here: http://www.oscommerce.com/community/bugs,1605/. See the final entry dated 29 Sep 2005 19:21:49. I applied the solution (caused by a newer version of MySQL) and I'm now back up and running. in admin panel i choose Catalog/ Reviews Products Expected Andi got message : Reviews 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 reviews_id, products_id, date_added, last_modified, reviews_rating from reviews order by date_added DESC limit -20, 20 [TEP STOP] Products Expected 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 pd.products_id, pd.products_name, p.products_date_available from products_description pd, products p where p.products_id = pd.products_id and p.products_date_available != '' and pd.language_id = '1' order by p.products_date_available DESC limit -20, 20 [TEP STOP] ver. info: osCommerce 2.2-MS2 MySQL 4.1.10a Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.