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 '%ariat%' OR p.products_model LIKE '%ariat%' OR m.manufacturers_name LIKE '%ariat%' OR (mtpd.metatags_keywords LIKE '%ariat%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%ariat%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%close%' OR p.products_model LIKE '%close%' OR m.manufacturers_name LIKE '%close%' OR (mtpd.metatags_keywords LIKE '%close%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%close%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%contour%' OR p.products_model LIKE '%contour%' OR m.manufacturers_name LIKE '%contour%' OR (mtpd.metatags_keywords LIKE '%contour%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%contour%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%half%' OR p.products_model LIKE '%half%' OR m.manufacturers_name LIKE '%half%' OR (mtpd.metatags_keywords LIKE '%half%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%half%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%chap%' OR p.products_model LIKE '%chap%' OR m.manufacturers_name LIKE '%chap%' OR (mtpd.metatags_keywords LIKE '%chap%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%chap%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%svart%' OR p.products_model LIKE '%svart%' OR m.manufacturers_name LIKE '%svart%' OR (mtpd.metatags_keywords LIKE '%svart%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%svart%' 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 '%herr%' OR p.products_model LIKE '%herr%' OR m.manufacturers_name LIKE '%herr%' OR (mtpd.metatags_keywords LIKE '%herr%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%herr%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%halv%' OR p.products_model LIKE '%halv%' OR m.manufacturers_name LIKE '%halv%' OR (mtpd.metatags_keywords LIKE '%halv%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%halv%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%chaps%' OR p.products_model LIKE '%chaps%' OR m.manufacturers_name LIKE '%chaps%' OR (mtpd.metatags_keywords LIKE '%chaps%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%chaps%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%st��vlar%' OR p.products_model LIKE '%st��vlar%' OR m.manufacturers_name LIKE '%st��vlar%' OR (mtpd.metatags_keywords LIKE '%st��vlar%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%st��vlar%' AND mtpd.metatags_description !='')) ))]