Tygh\Exceptions\AException

Message

Disk full (/var/tmp/#sql_4b7e_0); waiting for someone to free some space... (1021)

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 = 'el' 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 <= 1734848051, 1) AND IF(to_date, to_date >= 1734848051, 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: 1540

Backtrace

File:app/Tygh/Database/Connection.php
Line:690
Function:throwError
File:app/Tygh/Database/Connection.php
Line:345
Function:query
File:app/functions/fn.database.php
Line:48
Function:getHash
File:app/functions/fn.promotions.php
Line:204
Function:db_get_hash_array
File:app/functions/fn.promotions.php
Line:281
Function:fn_get_promotions
File:app/functions/fn.products.php
Line:773
Function:fn_promotion_apply
File:app/controllers/frontend/categories.php
Line:121
Function:fn_gather_additional_products_data
File:app/functions/fn.control.php
Line:685
Function:include
File:app/functions/fn.control.php
Line:434
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch