Guest Posted September 4, 2006 Share Posted September 4, 2006 Hi Im getting the following errors in the admin side under - Specials, Products expected and Manufacturers Specials Products Products Price Status Action 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 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 Manufacturers Manufacturers Action 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 manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from manufacturers order by manufacturers_name limit -20, 20 [TEP STOP] Any ideas as to what I need to do? Thanks so much in advance :blush: Link to comment Share on other sites More sharing options...
irish06200 Posted September 4, 2006 Share Posted September 4, 2006 Well that "limit -20" does not look right . Have you changed any code? Link to comment Share on other sites More sharing options...
irish06200 Posted September 4, 2006 Share Posted September 4, 2006 IN you admin/minimum maximum values did you put a negative number somewhere? Link to comment Share on other sites More sharing options...
Jack_mcs Posted September 4, 2006 Share Posted September 4, 2006 You need to install the fix for the split_page_results file. It is in either of the oscommerce updates. 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 Link to comment Share on other sites More sharing options...
phixer Posted September 4, 2006 Share Posted September 4, 2006 As another newbie I got this as well and it happened after I removed all of the maufacturers via the admin panel. As soon as I deleted the last one the same error message appeared. This also happened in the tax area and produts area. This probably won't help but it might give a clue. I am finding it difficult to get to grips with this as the documentationis almost non existant.....and I aint no programmer thats for sure. :blush: Link to comment Share on other sites More sharing options...
Guest Posted September 5, 2006 Share Posted September 5, 2006 As another newbie I got this as well and it happened after I removed all of the maufacturers via the admin panel. As soon as I deleted the last one the same error message appeared. This also happened in the tax area and produts area. This probably won't help but it might give a clue. I am finding it difficult to get to grips with this as the documentationis almost non existant.....and I aint no programmer thats for sure. :blush: YES! Thats what happened, I removed all off the stock maufacturers via the admin and i got this message Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.