Out of resources when opening file './www_eurosofa_test/categories.MYD' (Errcode: 24)
query= SELECT c1.category as c1_category, c1.cat_url as c1_cat_url, c1.cat_id as c1_cat_id, c1.cat_father_id as c1_cat_father_id, c1.cat_image as c1_cat_image, c1.image_caption1 as c1_image_caption1, c2.category as c2_category, c2.cat_url as c2_cat_url, c2.cat_id as c2_cat_id, c2.cat_father_id as c2_cat_father_id, c2.cat_image as c2_cat_image, c2.image_caption1 as c2_image_caption1, c3.category as c3_category, c3.cat_url as c3_cat_url, c3.cat_id as c3_cat_id, c3.cat_father_id as c3_cat_father_id, c3.cat_image as c3_cat_image, c3.image_caption1 as c3_image_caption1, c4.category as c4_category, c4.cat_url as c4_cat_url, c4.cat_id as c4_cat_id, c4.cat_father_id as c4_cat_father_id, c4.cat_image as c4_cat_image, c4.image_caption1 as c4_image_caption1 from categories as c1 LEFT JOIN categories AS c2 ON c2.cat_father_id = c1.cat_id and c2.hidden=0 and c2.lang='Greek' LEFT JOIN categories AS c3 ON c3.cat_father_id = c2.cat_id and c3.hidden=0 and c3.lang='Greek' LEFT JOIN categories AS c4 ON c4.cat_father_id = c3.cat_id and c4.hidden=0 and c4.lang='Greek' where c1.cat_father_id=0 and c1.hidden=0 and c1.lang='Greek' order by c1.weight, c2.weight, c3.weight, c4.weight asc