Error im getting looks like this:
1054 - Unknown column 'pa.products_id' in 'where clause'
select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id, products_description pd, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and m.manufacturers_id = '1' and ((pd.products_name like '1%' or p.products_model like '1%' or m.manufacturers_name like '1%') )and pa.products_id = p.products_id and pa.options_values_id in (1)
And its showing when im trying to search using products attribution fields.
And this one whem im using original "Advanced search with products attributes..." files
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 'p left join manufacturers m using(manufacturers_id), products_description pd lef' at line 1
select count(distinct p.products_id) as total from (products) p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c,products_attributes pa where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and m.manufacturers_id = '1'and pa.products_id = p.products_id and pa.options_values_id in (1)