[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 directions, assoc AS ad, 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>1552982749) 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=ad.object_id AND ad.object_type='catalog' AND ad.assoc_id=directions.id AND ad.assoc_type='division' AND ad.assoc_param1='direction' AND directions.id='38' AND directions.type='direction' AND directions.status='active' ORDER BY catalogs.id DESC LIMIT 0, 20; SELECT FOUND_ROWS() AS total;