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 p.product_sold = '0' order by cd.categories_name' at line 19

select distinct c.categories_id as id, cd.categories_name as name from jos_jstore_products p, jos_jstore_products_to_categories p2c, jos_jstore_categories c, jos_jstore_categories_description cd where p2c.categories_id = c.categories_id and p.products_id = p2c.products_id and cd.categories_id = c.categories_id and cd.language_id = '1' and p.manufacturers_id = '11 and p.products_status = '1' and p.product_sold = '0' order by cd.categories_name

[TEP STOP]