I get this error every time i use the SEARCH function:
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 'order by p.products_sort_order, pd.products_name limit 0, 15' at line 19
in:
[SELECT DISTINCT p.products_image, p.products_quantity , m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status, p.master_categories_id FROM (products p LEFT JOIN manufacturers m USING(manufacturers_id), products_description pd, categories c, products_to_categories p2c ) LEFT JOIN meta_tags_products_description mtpd ON mtpd.products_id= p2c.products_id AND mtpd.language_id = 2 WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 2 AND p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND p.products_price > 0 AND ((pd.products_name LIKE '%incenso%' OR p.products_model LIKE '%incenso%' OR m.manufacturers_name LIKE '%incenso%' OR (mtpd.metatags_keywords LIKE '%incenso%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%incenso%' AND mtpd.metatags_description !='') OR pd.products_description LIKE '%incenso%') )) AND p.products_price > 0 order by p.products_sort_order, pd.products_name order by p.products_sort_order, pd.products_name limit 0, 15]
The error is always the same, i would like to understand what is causing it (which file). Note that I've many mod running and it's not doable to uninstall one by one to address the error...
Obiovsly it regards MYSQL 5.x.x cause with the 4.x.x i didn't get this error.
Actually I've:
Zencart 1.3.8a
MySQL 5.0.82sp1-log
PHP Version 5.2.13
the site is http://www.laviadellincenso.it/commerce/index.php
any help would be greatly appreciated ;-)




