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 '%accessories%' OR p.products_model LIKE '%accessories%' OR m.manufacturers_name LIKE '%accessories%' OR (mtpd.metatags_keywords LIKE '%accessories%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%accessories%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%for%' OR p.products_model LIKE '%for%' OR m.manufacturers_name LIKE '%for%' OR (mtpd.metatags_keywords LIKE '%for%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%for%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%women%' OR p.products_model LIKE '%women%' OR m.manufacturers_name LIKE '%women%' OR (mtpd.metatags_keywords LIKE '%women%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%women%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%d48h1008%' OR p.products_model LIKE '%d48h1008%' OR m.manufacturers_name LIKE '%d48h1008%' OR (mtpd.metatags_keywords LIKE '%d48h1008%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%d48h1008%' 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 '%belt%' OR p.products_model LIKE '%belt%' OR m.manufacturers_name LIKE '%belt%' OR (mtpd.metatags_keywords LIKE '%belt%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%belt%' AND mtpd.metatags_description !='')) and ( (pd.products_name LIKE '%dark%' OR p.products_model LIKE '%dark%' OR m.manufacturers_name LIKE '%dark%' OR (mtpd.metatags_keywords LIKE '%dark%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%dark%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%brown%' OR p.products_model LIKE '%brown%' OR m.manufacturers_name LIKE '%brown%' OR (mtpd.metatags_keywords LIKE '%brown%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%brown%' AND mtpd.metatags_description !='')) ) ))]