Tygh\Exceptions\AException

Message

Out of resources when opening file './cscart/cscart_promotions.MYD' (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' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_promotions.promotion_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'promotions') WHERE 1 AND IF(from_date, from_date <= 1664474143, 1) AND IF(to_date, to_date >= 1664474143, 1) AND status IN ('A', 'H') AND cscart_promotions.zone = 'catalog' ORDER BY cscart_promotions.priority asc

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:488
Function:throwError
File:app/Tygh/Database/Connection.php
Line:254
Function:query
File:app/functions/fn.database.php
Line:45
Function:getHash
File:app/functions/fn.promotions.php
Line:121
Function:db_get_hash_array
File:app/functions/fn.promotions.php
Line:157
Function:fn_get_promotions
File:app/functions/fn.catalog.php
Line:684
Function:fn_promotion_apply
File:app/Tygh/BlockManager/Block.php
Line:831
Function:fn_gather_additional_products_data
File:app/Tygh/BlockManager/RenderManager.php
Line:723
Function:getItems
File:app/Tygh/BlockManager/RenderManager.php
Line:593
Function:getValue
File:app/Tygh/BlockManager/RenderManager.php
Line:440
Function:renderBlockContent
File:app/Tygh/BlockManager/RenderManager.php
Line:384
Function:renderBlock
File:app/Tygh/BlockManager/RenderManager.php
Line:346
Function:renderBlocks
File:app/Tygh/BlockManager/RenderManager.php
Line:221
Function:renderGrid
File:app/Tygh/BlockManager/RenderManager.php
Line:191
Function:renderGrids
File:app/Tygh/BlockManager/RenderManager.php
Line:155
Function:_renderContainer
File:app/functions/smarty_plugins/function.render_location.php
Line:48
Function:render
File:var/cache/templates/bright_theme/5e10d69fa94a40fe2f501d892474c749e793768f.tygh.index.tpl.php
Line:150
Function:smarty_function_render_location
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_6334ed5b0ef546_01266331
File:app/Tygh/SmartyEngine/Core.php
Line:76
Function:fetch
File:app/functions/fn.control.php
Line:618
Function:fetch
File:index.php
Line:25
Function:fn_dispatch