Warning: mysql_query(): Unable to save result set in /var/www/vhosts/spasalona.ru/httpdocs/include/classes/db.php on line 29

Error SQL:

SELECT DISTINCT t3.*, t1.id as block_id FROM `sp_ru_pspecial` t1 left join `sp_ru_pspecial_catalog` t2 on t1.id = t2.parent left join `sp_ru_catalog` t3 on t2.text_name = t3.id left join `sp_ru_pspecial_cat` t4 on t1.id = t4.parent left join `sp_ru_cat` t5 on t4.text_name = t5.id where t1.parent = 5400 and t1.check_active=1 and t5.id = "5220"
MYSQL Error:Disk full (/tmp/#sql_47b82_1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0