Out of resources when opening file './www_baibakis_gr/categories.MYD' (Errcode: 24)
query=SELECT t1.category AS lev1, t1.cat_id AS clev1, t2.category as lev2, t2.cat_id AS clev2, t3.category as lev3, t3.cat_id AS clev3, t4.category as lev4, t4.cat_id AS clev4, t5.category as lev5, t5.cat_id AS clev5, t6.category as lev6, t6.cat_id AS clev6, t7.category as lev7, t7.cat_id AS clev7, t8.category as lev8, t8.cat_id AS clev8, t9.category as lev9, t9.cat_id AS clev9, t10.category as lev10, t10.cat_id AS clev10, t1.cat_url AS ulev1, t2.cat_url AS ulev2, t3.cat_url AS ulev3, t4.cat_url AS ulev4, t5.cat_url AS ulev5, t6.cat_url AS ulev6, t7.cat_url AS ulev7, t8.cat_url AS ulev8, t9.cat_url AS ulev9, t10.cat_url AS ulev10, t1.cat_father_id AS cflev1, t2.cat_father_id AS cflev2, t3.cat_father_id AS cflev3, t4.cat_father_id AS cflev4, t5.cat_father_id AS cflev5, t6.cat_father_id AS cflev6, t7.cat_father_id AS cflev7, t8.cat_father_id AS cflev8, t9.cat_father_id AS cflev9, t10.cat_father_id AS cflev10 FROM categories AS t1 LEFT JOIN categories AS t2 ON t2.cat_father_id = t1.cat_id and t2.hidden=0 LEFT JOIN categories AS t3 ON t3.cat_father_id = t2.cat_id and t3.hidden=0 LEFT JOIN categories AS t4 ON t4.cat_father_id = t3.cat_id and t4.hidden=0 LEFT JOIN categories AS t5 ON t5.cat_father_id = t4.cat_id and t5.hidden=0 LEFT JOIN categories AS t6 ON t6.cat_father_id = t5.cat_id and t6.hidden=0 LEFT JOIN categories AS t7 ON t7.cat_father_id = t6.cat_id and t7.hidden=0 LEFT JOIN categories AS t8 ON t8.cat_father_id = t7.cat_id and t8.hidden=0 LEFT JOIN categories AS t9 ON t9.cat_father_id = t8.cat_id and t9.hidden=0 LEFT JOIN categories AS t10 ON t10.cat_father_id = t9.cat_id and t10.hidden=0 where t1.cat_father_id='815' and t1.hidden=0 order by t1.weight, lev1, t2.weight, lev2, t3.weight, lev3, t4.weight, lev4, t5.weight, lev5, t6.weight, lev6, t7.weight, lev7, t8.weight, lev8, t9.weight, lev9, t10.weight, lev10 asc