1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by p.products_sort_order DESC LIMIT 8' at line 1
select distinct p.products_id, pd.products_name, p.products_model, p.products_quantity, p.products_sort_order, p.products_master, p.products_master_status, p.products_image, p.products_tax_class_id, pd.products_description, pd.products_short, s.status as specstat, s.specials_new_products_price, p.products_price from(( products p )left join specials s on p.products_id = s.products_id, products_to_categories p2c, categories c )left join products_description pd on p.products_id = pd.products_id and pd.language_id = '1' where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.categories_id = '0'and p.products_master_status = '1' and p.products_status = '1' and p.products_price > '0' and p.products_quantity > '0' and p.products_id != order by p.products_sort_order DESC LIMIT 8
[TEP STOP]