Unknown: The each() function is deprecated. This message will be suppressed on further calls in /home/kaftanfactory/domains/kaftanfactory.com/public_html/collection/system/vendor/BurnEngine/library/Engine.php on line 271Unknown: Function create_function() is deprecated in /home/kaftanfactory/domains/kaftanfactory.com/public_html/collection/system/vendor/BurnEngine/catalog/ThemeCatalogExtension.php on line 329Warning: mysqli::query(): (HY000/1021): Disk full (/tmp/#sql_2c43eb_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /home/kaftanfactory/domains/kaftanfactory.com/public_html/collection/system/library/db/mysqli.php on line 18Fatal error: 'Error: Disk full (/tmp/#sql_2c43eb_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 price
FROM oc71_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 oc71_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 oc71_review r1
WHERE r1.product_id = p.product_id
AND r1.status = '1'
GROUP BY r1.product_id
) AS rating,
(SELECT ss.name
FROM oc71_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 oc71_review r2
WHERE r2.product_id = p.product_id AND r2.status = '1'
GROUP BY r2.product_id
) AS reviews
FROM oc71_product AS p
INNER JOIN oc71_product_description AS pd ON p.product_id = pd.product_id
LEFT JOIN oc71_manufacturer AS m ON p.manufacturer_id = m.manufacturer_id
WHERE p.status = 1
AND p.date_available <= NOW()
AND pd.language_id = 1 AND p.product_id IN (91,93,90) ORDER BY pd.name asc LIMIT 0,10
'
in /home/kaftanfactory/domains/kaftanfactory.com/public_html/collection/system/library/db/mysqli.php:40
Stack trace:
#0 system/storage/modification/system/library/db.php(74): DB\MySQLi->query('SELECT p.*, pd....', Array)
#1 system/vendor/BurnEngine/catalog/model/productsModel.php(158): DB->query('SELECT p.*, pd....')
#2 system/vendor/BurnEngine/widget/AbstractProductsListingWidget.php(316): Theme_Catalog_ProductsModel->getProducts(Array)
#3 system/vendor/BurnEngine/widget/FeaturedProductsWidget.php(63): AbstractProductsListingWidget->getProductsListing(Array)
#4 system/vendor/BurnEngine/widget/AbstractProductsListingWidget.php(122): Theme_FeaturedProductsWidget->getProductsListing()
#5 system/vendor/BurnEngine/library/vendor/sfEventDispatcher.php(76): AbstractProductsListingWidget->setProductsOptions(Object(sfEvent))
#6 system/vendor/BurnEngine/catalog/ThemeCatalogExtension.php(127): 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(58): TB_CatalogDispatcher->dispatch()
#11 catalog/controller/common/BurnEngine.php(64): TB_Boot::dispatchRequest(Object(TB_Engine))
#12 catalog/controller/common/BurnEngine.php(12): ControllerCommonBurnEngine->index()
#13 system/storage/modification/system/engine/action.php(44): ControllerCommonBurnEngine->onGetEventsAfter('extension/event...', Array)
#14 system/storage/modification/system/engine/event.php(32): Action->execute(Object(Registry), Array)
#15 system/storage/modification/system/engine/loader.php(178): Event->trigger('model/extension...', Array)
#16 system/engine/proxy.php(13): Loader->{closure}(Array)
#17 catalog/controller/startup/event.php(7): Proxy->__call('getEvents', Array)
#18 system/storage/modification/system/engine/action.php(44): ControllerStartupEvent->index()
#19 system/engine/front.php(34): Action->execute(Object(Registry))
#20 system/engine/front.php(19): Front->execute(Object(Action))
#21 system/framework.php(99): Front->dispatch(Object(Action), Object(Action))
#22 index.php(22): require_once('/home/kaftanfac...')
#23 {main}