Home ::  Advanced Search ::  Search Results

Advanced Search

3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'di036243_36243sfg.p.products_sort_order' which is not in SELECT list; this is incompatible with DISTINCT
in:
[SELECT DISTINCT p.products_image, p.products_quantity , m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status, p.master_categories_id 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 '%nike%' OR p.products_model LIKE '%nike%' OR m.manufacturers_name LIKE '%nike%' OR (mtpd.metatags_keywords LIKE '%nike%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%nike%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%jr.%' OR p.products_model LIKE '%jr.%' OR m.manufacturers_name LIKE '%jr.%' OR (mtpd.metatags_keywords LIKE '%jr.%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%jr.%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%mercurial%' OR p.products_model LIKE '%mercurial%' OR m.manufacturers_name LIKE '%mercurial%' OR (mtpd.metatags_keywords LIKE '%mercurial%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%mercurial%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%victory%' OR p.products_model LIKE '%victory%' OR m.manufacturers_name LIKE '%victory%' OR (mtpd.metatags_keywords LIKE '%victory%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%victory%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%xi%' OR p.products_model LIKE '%xi%' OR m.manufacturers_name LIKE '%xi%' OR (mtpd.metatags_keywords LIKE '%xi%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%xi%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%cr7%' OR p.products_model LIKE '%cr7%' OR m.manufacturers_name LIKE '%cr7%' OR (mtpd.metatags_keywords LIKE '%cr7%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%cr7%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%younger%' OR p.products_model LIKE '%younger%' OR m.manufacturers_name LIKE '%younger%' OR (mtpd.metatags_keywords LIKE '%younger%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%younger%' 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 '%older%' OR p.products_model LIKE '%older%' OR m.manufacturers_name LIKE '%older%' OR (mtpd.metatags_keywords LIKE '%older%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%older%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%kids\'%' OR p.products_model LIKE '%kids\'%' OR m.manufacturers_name LIKE '%kids\'%' OR (mtpd.metatags_keywords LIKE '%kids\'%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%kids\'%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%firm%' OR p.products_model LIKE '%firm%' OR m.manufacturers_name LIKE '%firm%' OR (mtpd.metatags_keywords LIKE '%firm%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%firm%' 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 '%ground%' OR p.products_model LIKE '%ground%' OR m.manufacturers_name LIKE '%ground%' OR (mtpd.metatags_keywords LIKE '%ground%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%ground%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%football%' OR p.products_model LIKE '%football%' OR m.manufacturers_name LIKE '%football%' OR (mtpd.metatags_keywords LIKE '%football%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%football%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%boot%' OR p.products_model LIKE '%boot%' OR m.manufacturers_name LIKE '%boot%' OR (mtpd.metatags_keywords LIKE '%boot%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%boot%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%cool%' OR p.products_model LIKE '%cool%' OR m.manufacturers_name LIKE '%cool%' OR (mtpd.metatags_keywords LIKE '%cool%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%cool%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%grey%' OR p.products_model LIKE '%grey%' OR m.manufacturers_name LIKE '%grey%' OR (mtpd.metatags_keywords LIKE '%grey%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%grey%' 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 '%wolf%' OR p.products_model LIKE '%wolf%' OR m.manufacturers_name LIKE '%wolf%' OR (mtpd.metatags_keywords LIKE '%wolf%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%wolf%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%grey%' OR p.products_model LIKE '%grey%' OR m.manufacturers_name LIKE '%grey%' OR (mtpd.metatags_keywords LIKE '%grey%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%grey%' 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 '%total%' OR p.products_model LIKE '%total%' OR m.manufacturers_name LIKE '%total%' OR (mtpd.metatags_keywords LIKE '%total%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%total%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%crimson%' OR p.products_model LIKE '%crimson%' OR m.manufacturers_name LIKE '%crimson%' OR (mtpd.metatags_keywords LIKE '%crimson%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%crimson%' 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 '%metallic%' OR p.products_model LIKE '%metallic%' OR m.manufacturers_name LIKE '%metallic%' OR (mtpd.metatags_keywords LIKE '%metallic%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%metallic%' AND mtpd.metatags_description !='')) and (pd.products_name LIKE '%hematite%' OR p.products_model LIKE '%hematite%' OR m.manufacturers_name LIKE '%hematite%' OR (mtpd.metatags_keywords LIKE '%hematite%' AND mtpd.metatags_keywords !='') OR (mtpd.metatags_description LIKE '%hematite%' AND mtpd.metatags_description !='')) )) order by p.products_sort_order, pd.products_name limit 0, 40]