SQL Error: Can't create/write to file '/tmp/#sql_293_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_293_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 (1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1894, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1940, 1941, 1808) and city_id=955 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
)