[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 catalogs.*, images.*, currencies.shortname AS currency, schools.shortname AS school_path, types.shortname AS type_path, types.title AS type_title, schools.city, schools.country_id AS country_id, logo.iname AS ilogo FROM divisions AS countries, assoc AS ac, schools, divisions AS types, catalogs AS catalogs LEFT JOIN images AS images ON images.iobject_id=catalogs.id AND images.iobject_type='catalog' AND images.ipriority='main' AND images.itype='thumb' LEFT JOIN images AS logo ON logo.iobject_id=catalogs.id AND logo.iobject_type='catalog_logo' AND logo.ipriority='logo' AND logo.itype='original' LEFT JOIN currencies ON currencies.id=catalogs.price_id WHERE catalogs.type='programm' AND catalogs.status='active' AND (catalogs.time_to=0 OR catalogs.time_to>1541593497) AND schools.id=catalogs.school_id AND schools.status='active' AND schools.type_id=types.id AND types.type='school_type' AND types.status='active' AND catalogs.id=ac.object_id AND ac.object_type='catalog' AND ac.assoc_id=countries.id AND ac.assoc_type='division' AND ac.assoc_param1='country' AND countries.id='7' AND countries.type='country' AND countries.status='active'AND schools.type_id='58' ORDER BY catalogs.id DESC LIMIT 0, 20; SELECT FOUND_ROWS() AS total;