Warning: mysqli::query(): (HY000/1): Can't create/write to file '/var/tmp/#sql_478_0.MAI' (Errcode: 28 "No space left on device") in /workspace/sites/odevaychik.ru/system/library/db/mysqli.php on line 18Fatal error: 'Error: Can't create/write to file '/var/tmp/#sql_478_0.MAI' (Errcode: 28 "No space left on device")
Error No: 1
SELECT DISTINCT(p.product_id), p.*,
pd.name, pd.name, pd.description, pd.meta_description,
m.manufacturer_id, m.name AS manufacturer,

(SELECT price
FROM oc_product_discount AS pd2
WHERE pd2.product_id = p.product_id
AND pd2.customer_group_id = '1'
AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW())
AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC
LIMIT 1) AS discount,
(SELECT price
FROM oc_product_special AS ps
WHERE ps.product_id = p.product_id
AND ps.customer_group_id = '1'
AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW())
AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC
LIMIT 1) AS special,
(SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id AND r1.status = 1
GROUP BY r1.product_id) AS rating,
(SELECT AVG(rating) AS total
FROM oc_review r1
WHERE r1.product_id = p.product_id
AND r1.status = 1
GROUP BY r1.product_id
) AS rating,
(SELECT ss.name
FROM oc_stock_status ss
WHERE ss.stock_status_id = p.stock_status_id
AND ss.language_id = 1
) AS stock_status,
(SELECT COUNT(*) AS total
FROM oc_review r2
WHERE r2.product_id = p.product_id AND r2.status = 1
GROUP BY r2.product_id
) AS reviews
FROM oc_product p
INNER JOIN oc_product_to_category AS p2c ON p2c.product_id = p.product_id AND p2c.category_id IN(366,365,66)
LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN oc_stock_status ss ON (p.stock_status_id = ss.stock_status_id) AND ss.language_id = 1
WHERE p.status = 1
AND p.date_available <= NOW()
AND pd.language_id = 1
AND p2s.store_id = 0
AND m.manufacturer_id = 51 ORDER BY p.sort_order ASC LIMIT 0,15
'
in /workspace/sites/odevaychik.ru/system/library/db/mysqli.php:40
Stack trace:
#0 system/storage/modification/system/library/db.php(30): DB\MySQLi->query('SELECT DISTINCT...', Array)
#1 system/vendor/BurnEngine/catalog/model/productsModel.php(492): DB->query('SELECT DISTINCT...')
#2 system/vendor/BurnEngine/catalog/controller/BrandCategoryController.php(86): Theme_Catalog_ProductsModel->getProductsByManufacturerAndCategory(Array)
#3 system/vendor/BurnEngine/library/CatalogDispatcher.php(61): Theme_Catalog_BrandCategoryController->index()
#4 system/vendor/BurnEngine/catalog/boot.php(71): TB_CatalogDispatcher->dispatch()
#5 catalog/controller/common/BurnEngine.php(81): TB_Boot::dispatchRequest(Object(TB_Engine))
#6 catalog/controller/common/BurnEngine.php(12): ControllerCommonBurnEngine->index()
#7 system/storage/modification/system/engine/action.php(51): ControllerCommonBurnEngine->onGetEventsAfter('extension/event...', Array, Array)
#8 system/storage/modification/system/engine/event.php(26): Action->execute(Object(Registry), Array)
#9 system/storage/modification/system/engine/loader.php(203): Event->trigger('model/extension...', Array)
#10 system/engine/proxy.php(25): Loader->{closure}(Array, Array)
#11 catalog/controller/startup/event.php(7): Proxy->__call('getEvents', Array)
#12 system/storage/modification/system/engine/action.php(51): ControllerStartupEvent->index()
#13 system/storage/modification/system/engine/front.php(37): Action->execute(Object(Registry))
#14 system/storage/modification/system/engine/front.php(19): Front->execute(Object(Action))
#15 system/framework.php(103): Front->dispatch(Object(Action), Object(Action))
#16 system/startup.php(124): require_once('/workspace/site...')
#17 index.php(19): start('catalog')
#18 {main}