♥jailaxmi Posted March 1, 2006 Share Posted March 1, 2006 When I try to do an advanced search, I get the 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 'select distinct p.products_image, m.manufacturers_id, p.products_id, pd.product' at line 1 select count(distinct p.products_id) as total select distinct p.products_image, m.manufacturers_id, p.products_id, pd.products_name, p.products_price, 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 where p.products_status = '1' 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 ((pd.products_name like '%laxmi%' or p.products_model like '%laxmi%' or m.manufacturers_name like '%laxmi%' or p2pef.products_extra_fields_value like '%laxmi%' or pd.products_description like '%laxmi%') ) I have no clue about what it means or where it's coming from, but I noticed that it mentions "products_extra_fields" which is a contribution I installed and then removed because it was causing me problems. Now, my guess is that it is related to this contribution, but I don't know anything about MySQL syntax. I looked everywhere for "products_extra_fields" in al my files and by browsing the database, but couldn't find it anywhere. Please help!!! jailaxmi I repeat myself when under stress, I repeat myself when under stress, I repeat myself... --King Crimson (“Discipline”) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.