SQL Error: Can't create/write to file '/tmp/#sql_267_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_267_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 (150, 271, 272, 273, 274, 275, 276, 277, 278, 279, 149, 148, 147, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 142) and city_id=170 and VIP=2 and `VIPdateExpires` >= NOW() ORDER BY RAND() LIMIT 0,400
    [context] => /var/www/otg/data/www/otg.su/engine/Inclusio/Component/Advert/Class.php line 108
)