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 '%religion%' OR p.products_model LIKE '%religion%' OR m.manufacturers_name LIKE '%religion%' OR (mtpd.metatags_keywords LIKE '%religion%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%religion%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%long%' OR p.products_model LIKE '%long%' OR m.manufacturers_name LIKE '%long%' OR (mtpd.metatags_keywords LIKE '%long%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%long%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%sleeved%' OR p.products_model LIKE '%sleeved%' OR m.manufacturers_name LIKE '%sleeved%' OR (mtpd.metatags_keywords LIKE '%sleeved%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%sleeved%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%legion%' OR p.products_model LIKE '%legion%' OR m.manufacturers_name LIKE '%legion%' OR (mtpd.metatags_keywords LIKE '%legion%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%legion%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%shirt%' OR p.products_model LIKE '%shirt%' OR m.manufacturers_name LIKE '%shirt%' OR (mtpd.metatags_keywords LIKE '%shirt%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shirt%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%f��r%' OR p.products_model LIKE '%f��r%' OR m.manufacturers_name LIKE '%f��r%' OR (mtpd.metatags_keywords LIKE '%f��r%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%f��r%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%m��n%' OR p.products_model LIKE '%m��n%' OR m.manufacturers_name LIKE '%m��n%' OR (mtpd.metatags_keywords LIKE '%m��n%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%m��n%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%flottan%' OR p.products_model LIKE '%flottan%' OR m.manufacturers_name LIKE '%flottan%' OR (mtpd.metatags_keywords LIKE '%flottan%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%flottan%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%|%' OR p.products_model LIKE '%|%' OR m.manufacturers_name LIKE '%|%' OR (mtpd.metatags_keywords LIKE '%|%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%|%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%herrkl��der%' OR p.products_model LIKE '%herrkl��der%' OR m.manufacturers_name LIKE '%herrkl��der%' OR (mtpd.metatags_keywords LIKE '%herrkl��der%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%herrkl��der%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%fxh4172%' OR p.products_model LIKE '%fxh4172%' OR m.manufacturers_name LIKE '%fxh4172%' OR (mtpd.metatags_keywords LIKE '%fxh4172%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%fxh4172%' AND mtpd.metatags_description !='')) ))]