chirag nagar Posted April 24, 2013 Posted April 24, 2013 Hi All, I am using oscommerce 2.2rc2a. I have installed YMM and seo urls5 contribution. YMM working fine but when i enables seo urls i got following error. "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 p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd' at line 1 select distinct p.products_id, pd.products_name from products p, products_description pd, products_to_categories p2c, categories c where p.products_id in () and p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '120084' in (c.categories_id, c.parent_id) and find_in_set('0', p.products_hide_from_groups) = '0' order by p.products_ordered desc, pd.products_name limit 10". If anybody has solved this? Need help with this.
Guest Posted April 24, 2013 Posted April 24, 2013 Hi All, I am using oscommerce 2.2rc2a. I have installed YMM and seo urls5 contribution. YMM working fine but when i enables seo urls i got following error. "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 p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd' at line 1 select distinct p.products_id, pd.products_name from products p, products_description pd, products_to_categories p2c, categories c where p.products_id in () and p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and '120084' in (c.categories_id, c.parent_id) and find_in_set('0', p.products_hide_from_groups) = '0' order by p.products_ordered desc, pd.products_name limit 10". If anybody has solved this? Need help with this. The problem is in here: where p.products_id in () and p.products_status = '1' // marked with RED
chirag nagar Posted April 24, 2013 Author Posted April 24, 2013 The problem is in here: where p.products_id in () and p.products_status = '1' // marked with RED Yes i am aware of this. any solutiuon to fix it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.