Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manufacturers Drop Down List


Guest

Recommended Posts

Posted

Hi Guys,

 

On a store im working on when selecting anything from the manufactures drop down list a page displays which says the folowing:

 

   


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 '1' and pd.products_id = p.products_id and pd.language_id = '1' 

select count(p.products_id) as total from products p, products_description pd, manufacturers m, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = 'select p.products_image, pd.products_name, p.products_id, p.manufacturers_id, p.products_price, p.products_price1, p.products_price2, p.products_price3, p.products_price4, p.products_price5, p.products_price6, p.products_price7, p.products_price8, p.products_price1_qty, p.products_price2_qty, p.products_price3_qty, p.products_price4_qty, p.products_price5_qty, p.products_price6_qty, p.products_price7_qty, p.products_price8_qty, p.products_qty_blocks, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products p, products_description pd, manufacturers m left join specials s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '12'

 

What does this mean?

 

I have installed a few mods , the main to being wysiwyg editor (including define mainpage etc) and quantity price breaks per product (plus a few small mods) but I havent had problems with them before ??

 

Chris

Archived

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

×
×
  • Create New...