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 '%mesh%' OR p.products_model LIKE '%mesh%' OR m.manufacturers_name LIKE '%mesh%' OR (mtpd.metatags_keywords LIKE '%mesh%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%mesh%' 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 '%nubuck%' OR p.products_model LIKE '%nubuck%' OR m.manufacturers_name LIKE '%nubuck%' OR (mtpd.metatags_keywords LIKE '%nubuck%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%nubuck%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%/��suede%' OR p.products_model LIKE '%/��suede%' OR m.manufacturers_name LIKE '%/��suede%' OR (mtpd.metatags_keywords LIKE '%/��suede%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%/��suede%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%adidas%' OR p.products_model LIKE '%adidas%' OR m.manufacturers_name LIKE '%adidas%' OR (mtpd.metatags_keywords LIKE '%adidas%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%adidas%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%originals%' OR p.products_model LIKE '%originals%' OR m.manufacturers_name LIKE '%originals%' OR (mtpd.metatags_keywords LIKE '%originals%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%originals%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%x%' OR p.products_model LIKE '%x%' OR m.manufacturers_name LIKE '%x%' OR (mtpd.metatags_keywords LIKE '%x%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%x%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%hanon%' OR p.products_model LIKE '%hanon%' OR m.manufacturers_name LIKE '%hanon%' OR (mtpd.metatags_keywords LIKE '%hanon%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%hanon%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%new%' OR p.products_model LIKE '%new%' OR m.manufacturers_name LIKE '%new%' OR (mtpd.metatags_keywords LIKE '%new%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%new%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%york%' OR p.products_model LIKE '%york%' OR m.manufacturers_name LIKE '%york%' OR (mtpd.metatags_keywords LIKE '%york%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%york%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%black%' OR p.products_model LIKE '%black%' OR m.manufacturers_name LIKE '%black%' OR (mtpd.metatags_keywords LIKE '%black%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%black%' 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 '%white%' OR p.products_model LIKE '%white%' OR m.manufacturers_name LIKE '%white%' OR (mtpd.metatags_keywords LIKE '%white%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%white%' 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 '%granite%' OR p.products_model LIKE '%granite%' OR m.manufacturers_name LIKE '%granite%' OR (mtpd.metatags_keywords LIKE '%granite%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%granite%' AND mtpd.metatags_description !='')) and ( (pd.products_name LIKE '%men:%' OR p.products_model LIKE '%men:%' OR m.manufacturers_name LIKE '%men:%' OR (mtpd.metatags_keywords LIKE '%men:%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%men:%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%fnei7719m%' OR p.products_model LIKE '%fnei7719m%' OR m.manufacturers_name LIKE '%fnei7719m%' OR (mtpd.metatags_keywords LIKE '%fnei7719m%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%fnei7719m%' AND mtpd.metatags_description !='')) ) ))]