1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'like'
in:
[select count(distinct p.products_id) as total 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 = 1 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 '%barn%' OR p.products_model LIKE '%barn%' OR m.manufacturers_name LIKE '%barn%' OR (mtpd.metatags_keywords LIKE '%barn%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%barn%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%boots%' OR p.products_model LIKE '%boots%' OR m.manufacturers_name LIKE '%boots%' OR (mtpd.metatags_keywords LIKE '%boots%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%boots%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%och%' OR p.products_model LIKE '%och%' OR m.manufacturers_name LIKE '%och%' OR (mtpd.metatags_keywords LIKE '%och%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%och%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%k��ngor%' OR p.products_model LIKE '%k��ngor%' OR m.manufacturers_name LIKE '%k��ngor%' OR (mtpd.metatags_keywords LIKE '%k��ngor%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%k��ngor%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%varmfodrad%' OR p.products_model LIKE '%varmfodrad%' OR m.manufacturers_name LIKE '%varmfodrad%' OR (mtpd.metatags_keywords LIKE '%varmfodrad%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%varmfodrad%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%halvh��g%' OR p.products_model LIKE '%halvh��g%' OR m.manufacturers_name LIKE '%halvh��g%' OR (mtpd.metatags_keywords LIKE '%halvh��g%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%halvh��g%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%k��nga%' OR p.products_model LIKE '%k��nga%' OR m.manufacturers_name LIKE '%k��nga%' OR (mtpd.metatags_keywords LIKE '%k��nga%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%k��nga%' AND mtpd.metatags_description !='')) ))]