1 Can't create/write to file '/tmp/#sql_1af_0.MYI' (Errcode: 122)
in:
[select distinct p.products_id,p.products_virtual, p.product_is_free, pd.products_xone , m.manufacturers_name, p.products_image, p.products_quantity, p.products_type, pd.products_name, p.master_categories_id, p.products_price, p.products_tax_class_id, pd.products_description, if(s.status = 1, s.specials_new_products_price, NULL) AS specials_new_products_price, IF(s.status = 1, s.specials_new_products_price, p.products_price) as final_price, p.products_sort_order, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status from (products p left join specials s on p.products_id = s.products_id), products_description pd, products_to_categories p2c, manufacturers m where p.products_status = 1 and p.manufacturers_id = m.manufacturers_id and p.products_restock * 1000000 + p.products_quantity > 0 and (p.product_variants = '0' or p.product_variants = p.products_model) and p.products_id = p2c.products_id and p.products_id = pd.products_id and pd.language_id = '2' AND p.products_price >= 0 AND p.products_price <= 10000000 order by ((p.products_quantity * 10) + (p.products_ordered * 10) + (pd.products_viewed)) desc, pd.products_name ASC]