Can't open file: './admin_avtohype/cscart_discussion_rating.frm' (errno: 24) (1016)
SELECT cscart_discussion.object_id AS product_id, AVG(cscart_discussion_rating.rating_value) AS average_rating, cscart_discussion.type AS discussion_type, cscart_discussion.thread_id AS discussion_thread_id FROM cscart_discussion LEFT JOIN cscart_discussion_posts ON cscart_discussion_posts.thread_id = cscart_discussion.thread_id AND cscart_discussion_posts.status = "A" LEFT JOIN cscart_discussion_rating ON cscart_discussion.thread_id = cscart_discussion_rating.thread_id AND cscart_discussion_rating.post_id = cscart_discussion_posts.post_id AND cscart_discussion_rating.rating_value != 0 WHERE cscart_discussion.object_id IN (140880, 140881, 140882, 141959, 141960, 141963, 141964, 141965, 141966, 141967, 141968, 141969, 145299, 145301, 145302, 145303, 145304, 145305, 145306, 145307, 146458, 140998, 140617, 140616, 140618, 140620, 140738, 140763, 141027, 140692, 140693, 140694, 140695, 156668, 140987, 140988, 140989, 140739, 140765, 140557, 141040, 141042, 141043, 147711, 140946, 140947, 140948, 140949, 140784, 140486, 140494, 140740, 140741, 140735, 140543, 156799, 141062, 140696, 140697, 140516, 140718, 140901, 140368, 140394, 140447, 147598, 140369, 140395, 140421, 140448, 141946, 140473, 140518, 140521, 140522, 140560, 140561, 140562, 140563, 140564, 140565, 140566, 140568, 140570, 140574, 140575, 140576, 140577, 140578, 140579, 140580, 140581, 140582, 156702, 156703, 156704) AND cscart_discussion.object_type = "P" AND cscart_discussion.company_id = 1 GROUP BY cscart_discussion.object_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: | 249 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 44 |
Function: | getHash |
File: | app/functions/fn.catalog.php |
Line: | 7951 |
Function: | db_get_hash_array |
File: | app/functions/fn.catalog.php |
Line: | 7863 |
Function: | fn_load_extra_data_by_entity_ids |
File: | app/functions/fn.catalog.php |
Line: | 7651 |
Function: | fn_load_products_extra_data |
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 |