Out of resources when opening file '/var/tmp/#sql_78e_37.MAD' (Errcode: 24) (23)
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 = 'ru' 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 <= 1730424600, 1) AND IF(to_date, to_date >= 1730424600, 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.priority asc
app/Tygh/Database/Connection.php, line: 1141
File: | app/Tygh/Database/Connection.php |
Line: | 504 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 249 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 44 |
Function: | getHash |
File: | app/functions/fn.promotions.php |
Line: | 186 |
Function: | db_get_hash_array |
File: | app/functions/fn.promotions.php |
Line: | 250 |
Function: | fn_get_promotions |
File: | app/functions/fn.catalog.php |
Line: | 793 |
Function: | fn_promotion_apply |
File: | app/controllers/frontend/categories.php |
Line: | 112 |
Function: | fn_gather_additional_products_data |
File: | app/functions/fn.control.php |
Line: | 679 |
Function: | include |
File: | app/functions/fn.control.php |
Line: | 430 |
Function: | fn_run_controller |
File: | index.php |
Line: | 25 |
Function: | fn_dispatch |