Guest Posted February 9, 2007 Posted February 9, 2007 Hi, I have this problem 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 followed by select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from newsletters order by date_added desc limit -20, 20 [TEP STOP] I am running on MySQL 4.1.13a Heeellp! :'( :'(
jenso Posted February 9, 2007 Posted February 9, 2007 Hi, I have this problem1064 - 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 followed by select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from newsletters order by date_added desc limit -20, 20 [TEP STOP] I am running on MySQL 4.1.13a Heeellp! :'( :'( I guess you made some kind of change to the file. Look closely at the changes you made. Most likely you have missed some kind of ; or so at the end of the line.
Jack_mcs Posted February 9, 2007 Posted February 9, 2007 Hi, I have this problem1064 - 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 followed by select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from newsletters order by date_added desc limit -20, 20 [TEP STOP] I am running on MySQL 4.1.13a Heeellp! :'( :'( Go to the above menu, Community->Downloads, adn download the latest update of oscommerce. Either install all of the patches (recommended) or just the one that applies to this problem. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.