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 (149606, 141001, 146545, 167904, 154708, 142849, 140319, 172641, 109872, 93611, 141566, 144167) GROUP BY p.product_id
app/Tygh/Database/Connection.php, line: 1141
| 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 |