Warning: file_put_contents(): Only 0 of 102 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 95 Warning: file_put_contents(): Only 0 of 2167 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 190 Warning: file_put_contents(): Only 0 of 235 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 127 Warning: file_put_contents(): Only 0 of 124 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 127 Warning: file_put_contents(): Only 0 of 106 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 190 Warning: file_put_contents(): Only 0 of 190 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 127 Warning: file_put_contents(): Only 0 of 8 bytes written, possibly out of free disk space in /var/www/autostat/data/www/autostat.ru/core/models/db.php on line 95

Ошибка в SQL:

SELECT DISTINCT bbsc.banner_id, bb.* FROM brandbook_banners_show_categories bbsc INNER JOIN brandbook_banners bb ON bb.id = bbsc.banner_id WHERE bbsc.category_id = 5 AND bb.active != 0 AND (bb.date_begin <= "2017-06-29 01:57:41" OR bb.date_begin = "0000-00-00 00:00:00") AND (bb.date_end >= "2017-06-29 01:57:41" OR bb.date_end = "0000-00-00 00:00:00") AND (bb.show_limit = 0 OR bb.view_random < bb.show_limit) ORDER BY RAND()

Disk full (/var/lib/tmp_mysql/#sql_62d_0); waiting for someone to free some space...