Tygh\Exceptions\AException

Message

Can't create/write to file '/tmp/#sql-temptable-243fd7-20e8d7-17a60.MAI' (Errcode: 28 "No space left on device") (1)

SELECT cscart_promotions.*, cscart_promotion_descriptions.name, cscart_promotion_descriptions.detailed_description, cscart_promotion_descriptions.short_description FROM cscart_promotions LEFT JOIN cscart_promotion_descriptions ON cscart_promotion_descriptions.promotion_id = cscart_promotions.promotion_id AND cscart_promotion_descriptions.lang_code = 'en' LEFT JOIN cscart_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = cscart_promotions.promotion_id WHERE 1 AND IF(from_date, from_date <= 1732349072, 1) AND IF(to_date, to_date >= 1732349072, 1) AND status IN ('A', 'H') AND cscart_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 1 OR storefronts_promotions.storefront_id IS NULL) ORDER BY cscart_promotions.stop_other_rules desc, cscart_promotions.priority asc

Error at

app/Tygh/Database/Connection.php, line: 1701

Backtrace

File:app/Tygh/Database/Connection.php
Line:1478
Function:throwError
File:app/Tygh/Database/Connection.php
Line:699
Function:execQuery
File:app/Tygh/Database/Connection.php
Line:370
Function:query
File:app/functions/fn.database.php
Line:48
Function:getHash
File:app/functions/fn.promotions.php
Line:193
Function:db_get_hash_array
File:app/functions/fn.promotions.php
Line:277
Function:fn_get_promotions
File:app/functions/fn.products.php
Line:786
Function:fn_promotion_apply
File:app/functions/fn.products.php
Line:985
Function:fn_gather_additional_products_data
File:app/controllers/frontend/products.php
Line:165
Function:fn_gather_additional_product_data
File:app/functions/fn.control.php
Line:722
Function:include
File:app/functions/fn.control.php
Line:458
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch