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 'and pd.language_id = '1' WHERE c.categories_status=1 AND p.pro' at line 23

SELECT DISTINCT p.products_id, p.products_quantity, p.products_fsk18, p.products_shippingtime, pd.products_name, pd.products_short_description, p.products_image, p.products_price, p.products_vpe, p.products_vpe_status, p.products_vpe_value, p.products_tax_class_id, p.products_date_added, m.manufacturers_name FROM (((products p, categories c, products_to_categories p2c) LEFT JOIN manufacturers m on p.manufacturers_id = m.manufacturers_id) LEFT JOIN products_description pd on p.products_id = pd.products_id ) and pd.language_id = '1' WHERE c.categories_status=1 AND p.products_id = p2c.products_id AND c.categories_id = p2c.categories_id AND products_status = '1' and p.products_date_added > '2012.01.07' ORDER BY p.products_date_added DESC

[XT SQL Error]