bugguy Posted May 26, 2006 Posted May 26, 2006 Hi, Our host has recently changed name servers. since this happened we get errors on some of the admin pages. I'm quite sure the offending pages were working before our host changed their name servers. For instances if i click on Catalog | Specials 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 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 -20, 20 and a similar error for Customers | orders button; 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 o.orders_id, o.customers_name, o.customers_id, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.customers_id = '7' and o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total' order by orders_id DESC limit -20, 20 [TEP STOP] Would anyone have any idea about whats causing this problem?
Jack_mcs Posted May 26, 2006 Posted May 26, 2006 It probably doesn't have to do with the nameservers change. That error is a php problem. They probably changed php versions in the move. In any event, you should install the security update to fix it. There is also a single fix which is easier but there are other problems that the update fixes so it really should be installed. 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.