Ошибка - Не удалось выполнить SQL-запрос!
(Connect Error (1) Can't create/write to file '/var/tmp/#sql_d87_1.MAI' (Errcode: 2))'
в сценарии /var/www/delta/data/www/gips.pro/class/dbk.php
в строке 6

SELECT p.int_id, price_name as cpn, content_price_seo_name, content_seo_name, content_id, p.*, o.opis_id, IF(content_desc IS NOT NULL, '1', '0') AS content_exist, IF( uc.cart_count IS NULL , '0', uc.cart_count ) AS cart_count, p.price_cen*kr AS realcen, p.price_ocen*kr AS realocen, content_image AS image, content_text FROM price_table p LEFT JOIN users_cart uc ON(uc.session_id = '' AND uc.int_id = p.int_id) LEFT JOIN content_price cp USING(price_id) LEFT JOIN content c USING (content_id) LEFT JOIN opis o ON(o.opis_price_id = p.price_id) LEFT JOIN category cat USING(category_id) WHERE price_ocen > 0 AND content_seo_name = 'Shpatlevka_Glims_Stukko-RF' GROUP BY p.int_id ORDER BY price_name