Tygh\Exceptions\AException

Message

Out of resources when opening file './highload_demo_mv/cscart_categories.MYD' (Errcode: 24 - Too many open files) (23)

SELECT cscart_categories.category_id,cscart_categories.parent_id,cscart_categories.id_path,cscart_category_descriptions.category,cscart_categories.position,cscart_categories.status,cscart_seo_names.name as seo_name,cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_categories.category_id = cscart_category_descriptions.category_id AND cscart_category_descriptions.lang_code = 'uk' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_categories.category_id AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' WHERE 1=1 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A') AND cscart_categories.parent_id IN (508) AND cscart_categories.id_path LIKE '254/321/380/508/%' AND cscart_categories.category_id != 1260 AND cscart_categories.parent_id != 1260 ORDER BY cscart_categories.is_trash asc, cscart_categories.position asc, cscart_category_descriptions.category asc

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:491
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.catalog.php
Line:1665
Function:db_get_hash_array
File:app/functions/fn.catalog.php
Line:1289
Function:fn_get_categories
File:app/controllers/frontend/categories.php
Line:73
Function:fn_get_subcategories
File:app/functions/fn.control.php
Line:664
Function:include
File:app/functions/fn.control.php
Line:415
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch