Tygh\Exceptions\AException

Message

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

SELECT p.product_id, ifnull(count(dp.post_id),0) as discussion_amount_posts FROM cscart_discussion INNER JOIN cscart_products as p ON (cscart_discussion.object_id = p.product_id) INNER JOIN cscart_discussion_posts as dp ON (cscart_discussion.thread_id = dp.thread_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 1) WHERE dp.status = 'A' and p.product_id in (147643, 147644, 147645, 147646, 147647, 147648, 147649, 150493, 140487, 140504, 156653, 141007) GROUP BY p.product_id

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:372
Function:query
File:app/functions/fn.database.php
Line:107
Function:getSingleHash
File:app/addons/abt__youpitheme/func.php
Line:176
Function:db_get_hash_single_array
File:app/functions/fn.control.php
Line:120
Function:fn_abt__youpitheme_get_products_post
File:app/functions/fn.catalog.php
Line:7663
Function:fn_set_hook
File:app/controllers/frontend/categories.php
Line:105
Function:fn_get_products
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