SQL Error: Can't create/write to file '/tmp/#sql_72ee_0.MAI' (Errcode: 28 "No space left on device") at /var/www/otg/data/www/otg.su/engine/Inclusio/Component/Advert/Class.php line 108
Array
(
    [code] => 1
    [message] => Can't create/write to file '/tmp/#sql_72ee_0.MAI' (Errcode: 28 "No space left on device")
    [query] => SELECT 
				`c_advert`.`id` as `advert_id`,
				`c_advert_category`.*,
				`c_advert`.`date` as date_one,
				c_loc_city.name as city,
				c_loc_city.tr_name as tr_city,
				`c_advert`.*,
				DATE_FORMAT(`c_advert`.`date`, "%d %M") as date,
				(SELECT `file` FROM `c_advert_photo` where `c_advert_photo`.`advert_id`=`c_advert`.`id` limit 1) as file,
				(SELECT `advertPhotoCat` FROM `c_advert_photo` where `c_advert_photo`.`advert_id`=`c_advert`.`id` limit 1) as advertPhotoCat
				
				
			FROM 
				`c_advert` 
			join `c_advert_category` on `c_advert_category`.id=`c_advert`.category_id
			join `c_loc_city` on `c_loc_city`.id=`c_advert`.city_id
			where `c_advert`.`verification`=1 and `c_advert_category`.`id` in (487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 499, 17) and city_id=837 and `VIP`<3 ORDER BY `c_advert`.`VIP` Desc, `c_advert`.`date` Desc LIMIT 0,20
    [context] => /var/www/otg/data/www/otg.su/engine/Inclusio/Component/Advert/Class.php line 108
)