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 '%marrakech%' OR p.products_model LIKE '%marrakech%' OR m.manufacturers_name LIKE '%marrakech%' OR (mtpd.metatags_keywords LIKE '%marrakech%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%marrakech%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%julia%' OR p.products_model LIKE '%julia%' OR m.manufacturers_name LIKE '%julia%' OR (mtpd.metatags_keywords LIKE '%julia%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%julia%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%capris%' OR p.products_model LIKE '%capris%' OR m.manufacturers_name LIKE '%capris%' OR (mtpd.metatags_keywords LIKE '%capris%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%capris%' 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 '%tencel��%' OR p.products_model LIKE '%tencel��%' OR m.manufacturers_name LIKE '%tencel��%' OR (mtpd.metatags_keywords LIKE '%tencel��%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%tencel��%' 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 '%linen%' OR p.products_model LIKE '%linen%' OR m.manufacturers_name LIKE '%linen%' OR (mtpd.metatags_keywords LIKE '%linen%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%linen%' 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 '%sandy%' OR p.products_model LIKE '%sandy%' OR m.manufacturers_name LIKE '%sandy%' OR (mtpd.metatags_keywords LIKE '%sandy%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%sandy%' 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 '%sweet%' OR p.products_model LIKE '%sweet%' OR m.manufacturers_name LIKE '%sweet%' OR (mtpd.metatags_keywords LIKE '%sweet%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%sweet%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%b27z7015%' OR p.products_model LIKE '%b27z7015%' OR m.manufacturers_name LIKE '%b27z7015%' OR (mtpd.metatags_keywords LIKE '%b27z7015%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%b27z7015%' AND mtpd.metatags_description !='')) ))]