Server shutdown in progress
query=SELECT products.*, min(products_atts.price) as pricefrom, count(products_atts.product_id) as attcount, products_images.filename as thefile from prodcat_weight inner join products on products.prod_id=prodcat_weight.prod_id inner join products_filters as fl1 on products.id=fl1.product_id left join products_atts on products.id=products_atts.product_id left join products_images on products.prod_id=products_images.prod_id and products_images.firstimg=1 WHERE prodcat_weight.cat_id='879' and products.lang='Greek' and prodcat_weight.hidden='0' and supplier='4205' and ((fl1.filter_id='21' or fl1.filter_id='25' or fl1.filter_id='29' or fl1.filter_id='30') ) group by products.id order by prodcat_weight.weight ASC, id desc LIMIT 0, 9