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 '%levi\'s%' OR p.products_model LIKE '%levi\'s%' OR m.manufacturers_name LIKE '%levi\'s%' OR (mtpd.metatags_keywords LIKE '%levi\'s%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%levi\'s%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%511���%' OR p.products_model LIKE '%511���%' OR m.manufacturers_name LIKE '%511���%' OR (mtpd.metatags_keywords LIKE '%511���%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%511���%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%slim%' OR p.products_model LIKE '%slim%' OR m.manufacturers_name LIKE '%slim%' OR (mtpd.metatags_keywords LIKE '%slim%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%slim%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%cut-off%' OR p.products_model LIKE '%cut-off%' OR m.manufacturers_name LIKE '%cut-off%' OR (mtpd.metatags_keywords LIKE '%cut-off%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%cut-off%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%shorts%' OR p.products_model LIKE '%shorts%' OR m.manufacturers_name LIKE '%shorts%' OR (mtpd.metatags_keywords LIKE '%shorts%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%shorts%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%herrar%' OR p.products_model LIKE '%herrar%' OR m.manufacturers_name LIKE '%herrar%' OR (mtpd.metatags_keywords LIKE '%herrar%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%herrar%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%hippie%' OR p.products_model LIKE '%hippie%' OR m.manufacturers_name LIKE '%hippie%' OR (mtpd.metatags_keywords LIKE '%hippie%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%hippie%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%boy%' OR p.products_model LIKE '%boy%' OR m.manufacturers_name LIKE '%boy%' OR (mtpd.metatags_keywords LIKE '%boy%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%boy%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%i50c9432%' OR p.products_model LIKE '%i50c9432%' OR m.manufacturers_name LIKE '%i50c9432%' OR (mtpd.metatags_keywords LIKE '%i50c9432%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%i50c9432%' AND mtpd.metatags_description !='')) ))]