Tygh\Exceptions\AException

Message

Can't open file: './admin_avtohype/cscart_promotions.frm' (errno: 24) (1016)

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 <= 1730424570, 1) AND IF(to_date, to_date >= 1730424570, 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

Error at

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

Backtrace

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

Fatal error: Uncaught Tygh\Exceptions\DatabaseException: Can't open file: './admin_avtohype/cscart_cache_handlers.frm' (errno: 24) <b>(1016)</b><p>REPLACE INTO cscart_cache_handlers (`table_name`, `cache_key`) VALUES ('addons', 'addons'), ('settings_objects', 'addons'), ('settings_objects', 'settings'), ('settings_vendor_values', 'addons'), ('settings_vendor_values', 'settings'), ('settings_descriptions', 'addons'), ('settings_descriptions', 'settings'), ('settings_sections', 'addons'), ('settings_sections', 'settings'), ('settings_variants', 'addons'), ('settings_variants', 'settings')</p> in /home/admin/web/avtohype.com.ua/public_html/app/Tygh/Database/Connection.php:1141 Stack trace: #0 /home/admin/web/avtohype.com.ua/public_html/app/Tygh/Database/Connection.php(504): Tygh\Database\Connection->throwError('REPLACE INTO cs...', 1016, 'Can't open file...') #1 /home/admin/web/avtohype.com.ua/public_html/app/Tygh/Registry.php(649): Tygh\Database\Connection->query('REPLACE INTO cs...', 'cache_handlers', Array) #2 /home/admin in /home/admin/web/avtohype.com.ua/public_html/app/Tygh/Database/Connection.php on line 1141