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 (2442, 2443, 2444, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2457, 2458, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466, 2467, 2468, 2469, 2470, 2471, 2472, 2441) 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
)