mmontalbano Posted December 2, 2007 Posted December 2, 2007 I'm getting this error when trying to access Specials, Products Expected and Newsletters. Using 2.2 MS2 with PHP 5.2.4. Nothing else giving me problems: Here is the error: Specials 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 '-6, 6' at line 1 select p.products_id, pd.products_name, p.products_price, s.specials_id, s.specials_new_products_price, s.specials_date_added, s.specials_last_modified, s.expires_date, s.date_status_change, s.status from products p, specials s, products_description pd where p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = s.products_id order by pd.products_name limit -6, 6 [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 '-6, 6' 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 -6, 6 [TEP STOP] Newletter Manager 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 '-6, 6' at line 1 select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from newsletters order by date_added desc limit -6, 6 [TEP STOP]
♥geoffreywalton Posted December 2, 2007 Posted December 2, 2007 Have you applied the updates to get oscommerece to work with mysql version 5. There is a contribution just search for mysql5 Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
user99999999 Posted December 3, 2007 Posted December 3, 2007 Specifically there is a change to not allow nrgative numbers for the limit in split page results.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.