Tygh\Exceptions\AException

Message

Can't open file: './highload_demo_mv/cscart_images.frm' (errno: 24 - Too many open files) (1016)

SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'uk' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN ('58046', '188224', '188554', '217015', '33842', '189209', '189457', '4380', '188823', '188116', '188121', '166080', '7306', '223593', '160068', '188090', '188098', '115936', '188118', '188166', '2291') ORDER BY cscart_images_links.position, cscart_images_links.pair_id

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:503
Function:throwError
File:app/Tygh/Database/Connection.php
Line:236
Function:query
File:app/functions/fn.database.php
Line:31
Function:getArray
File:app/functions/fn.images.php
Line:271
Function:db_get_array
File:app/functions/fn.catalog.php
Line:4992
Function:fn_get_image_pairs
File:var/cache/templates/bright_theme/ae36073042f0a9724e9de3d70bbc4bd339e2be17.tygh.product_data.tpl.php
Line:1399
Function:fn_get_product_features_list
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5d78a6d2a50110_63011215
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:304
Function:fetch
File:var/cache/templates/bright_theme/d9d68dc9615524381ce7e5f3850b083de7bb16bd.tygh.grid_list.tpl.php
Line:307
Function:getSubTemplate
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5d78a6d37316a8_72311920
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:304
Function:fetch
File:var/cache/templates/bright_theme/bb19926b8f4855ade7fed060f67d5cea8c4eb204.tygh.products_multicolumns.tpl.php
Line:48
Function:getSubTemplate
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5d78a6d3b799d1_04578326
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
Line:304
Function:fetch
File:var/cache/templates/bright_theme/af3cb6c2e7fb1ac8911af025383ac4030f505d4d.tygh.view.tpl.php
Line:135
Function:getSubTemplate
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5d78a6d5391192_42503245
File:app/Tygh/SmartyEngine/Core.php
Line:76
Function:fetch
File:app/Tygh/BlockManager/RenderManager.php
Line:767
Function:fetch
File:app/Tygh/BlockManager/RenderManager.php
Line:626
Function:_renderMainContent
File:app/Tygh/BlockManager/RenderManager.php
Line:484
Function:renderBlockContent
File:app/Tygh/BlockManager/RenderManager.php
Line:406
Function:renderBlock
File:app/Tygh/BlockManager/RenderManager.php
Line:364
Function:renderBlocks
File:app/Tygh/BlockManager/RenderManager.php
Line:229
Function:renderGrid
File:app/Tygh/BlockManager/RenderManager.php
Line:199
Function:renderGrids
File:app/Tygh/BlockManager/RenderManager.php
Line:163
Function:_renderContainer
File:app/functions/smarty_plugins/function.render_location.php
Line:52
Function:render
File:var/cache/templates/bright_theme/776a5a06ad55e65c3aa4d5908bf5894a1dd80385.tygh.index.tpl.php
Line:183
Function:smarty_function_render_location
File:app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
Line:188
Function:content_5d78a6d18eb778_74064422
File:app/Tygh/SmartyEngine/Core.php
Line:76
Function:fetch
File:app/functions/fn.control.php
Line:581
Function:fetch
File:index.php
Line:25
Function:fn_dispatch