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 catalog.* from sp_ru_catalog as catalog left join sp_ru_catalog_cat as cat on cat.parent = catalog.id where catalog.check_active=1 and cat.text_name='18380' order by catalog.ord limit 5
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