Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie here - Weird error codes in admin


Guest

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...