Warning: fread(): Length parameter must be greater than 0 in /var/www/vhosts/shopflowers.gr/httpdocs/system/library/cache/file.php on line 32Fatal error: 'Error: Disk full (/tmp/#sql_4ba4_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Error No: 1021
SELECT p.*, pd.name, pd.description, pd.meta_description, m.name AS manufacturer,(SELECT pi.image
FROM oc_product_image AS pi
WHERE pi.product_id = p.product_id
ORDER BY pi.sort_order ASC
LIMIT 1) AS secondary_image,
(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 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 AS p
INNER JOIN oc_product_description AS pd ON p.product_id = pd.product_id
LEFT JOIN oc_manufacturer AS m ON p.manufacturer_id = m.manufacturer_id
INNER JOIN oc_product_to_store p2s ON p.product_id = p2s.product_id
WHERE p.status = 1
AND p.date_available <= NOW()
AND pd.language_id = 1 AND p2s.store_id = 0 ORDER BY p.date_added DESC, p.product_id DESC LIMIT 0,12
'
in /var/www/vhosts/shopflowers.gr/httpdocs/system/library/db/mysqli.php:40
Stack trace:
#0 system/library/db.php(45): DB\MySQLi->query('SELECT p.*, pd....')
#1 system/vendor/BurnEngine/catalog/model/productsModel.php(161): DB->query('SELECT p.*, pd....')
#2 system/vendor/BurnEngine/widget/AbstractProductsListingWidget.php(364): Theme_Catalog_ProductsModel->getProducts(Array)
#3 system/vendor/BurnEngine/widget/LatestProductsWidget.php(37): AbstractProductsListingWidget->getProductsListing(Array)
#4 system/vendor/BurnEngine/widget/AbstractProductsListingWidget.php(133): Theme_LatestProductsWidget->getProductsListing()
#5 system/vendor/BurnEngine/library/vendor/sfEventDispatcher.php(76): AbstractProductsListingWidget->setProductsOptions(Object(sfEvent))
#6 system/vendor/BurnEngine/catalog/ThemeCatalogExtension.php(133): sfEventDispatcher->notify(Object(sfEvent))
#7 system/vendor/BurnEngine/library/vendor/sfEventDispatcher.php(76): Theme_Catalog_Extension->afterRouting(Object(sfEvent))
#8 system/vendor/BurnEngine/library/CatalogDispatcher.php(116): sfEventDispatcher->notify(Object(sfEvent))
#9 system/vendor/BurnEngine/library/CatalogDispatcher.php(43): TB_CatalogDispatcher->doRouting(Object(sfEventDispatcher), Object(Request), Object(TB_ViewDataBag))
#10 system/vendor/BurnEngine/catalog/boot.php(71): TB_CatalogDispatcher->dispatch()
#11 catalog/controller/common/BurnEngine.php(87): TB_Boot::dispatchRequest(Object(TB_Engine))
#12 catalog/controller/common/BurnEngine.php(12): ControllerCommonBurnEngine->index()
#13 /var/www/vhosts/shopflowers.gr/storage/modification/system/engine/action.php(79): ControllerCommonBurnEngine->onGetEventsAfter('setting/event/g...', Array, Array)
#14 /var/www/vhosts/shopflowers.gr/storage/modification/system/engine/event.php(66): Action->execute(Object(Registry), Array)
#15 /var/www/vhosts/shopflowers.gr/storage/modification/system/engine/loader.php(258): Event->trigger('model/setting/e...', Array)
#16 system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#17 catalog/controller/startup/event.php(7): Proxy->__call('getEvents', Array)
#18 /var/www/vhosts/shopflowers.gr/storage/modification/system/engine/action.php(79): ControllerStartupEvent->index()
#19 /var/www/vhosts/shopflowers.gr/storage/modification/system/engine/router.php(71): Action->execute(Object(Registry))
#20 /var/www/vhosts/shopflowers.gr/storage/modification/system/engine/router.php(46): Router->execute(Object(Action))
#21 system/framework.php(172): Router->dispatch(Object(Action), Object(Action))
#22 system/startup.php(104): require_once('/var/www/vhosts...')
#23 index.php(19): start('catalog')
#24 {main}