[101] DB not initialized. db_select(): Disk full (/var/tmp/#sql_4af_2); waiting for someone to free some space... in SELECT SQL_CALC_FOUND_ROWS galleries.*, images.*, schools.title AS school_title, schools.shortname AS school_path, types.shortname AS type_path, types.title AS type_title
FROM divisions AS types, schools, divisions AS countries, galleries
LEFT JOIN images AS images ON images.iobject_id=galleries.id AND images.iobject_type='gallery' AND images.ipriority='main' AND images.itype='medium'
WHERE galleries.status='active' AND schools.country_id=countries.id AND countries.type='country' AND countries.status='active'
AND galleries.school_id=schools.id AND schools.status='active' AND schools.type_id=types.id AND types.type='school_type' AND types.status='active'
ORDER BY galleries.id DESC
LIMIT 0, 16;
SELECT FOUND_ROWS() AS total;