You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.descri' at line 1 (1064)
SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (339678, 220178, 431162, 431128, 339465, 339786, 339457, 431132, 339477, 431099, 431202, 339541, 339643, 265042, 339796, 391798, 392175, 339489, 430637, 430639, 431096, 339699, 339469, 339797, 392167, 339458, 339798, 339606, 339685, 339482, 431168, 431141, 339468, 339453, 431137, 431153, 431155, 431130, 431033, 339730, 430911, 339731, 430640, 381703, 431134, 339478, 431125, 431154, 431090, 339794, 431187, 431067, 431146, 339463, 431065, 339709, 431094, 431048, 339467, 430767, 430697, 431104, 339753, 431050, 339460, 381725, 430745, 431124, 431117, 339696, 339757, 339464, 339808, 339787, 339806, 339805, 392169, 431157, 431191, 339810, 431160, 339707, 339701, 339704, 430850, 430681, 430743, 431084, 431116, 430908, 431107, 392166, 339677, 430998, 339769, 339814, 339750, 339758, 430655, 430744) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (339678, 220178, 431162, 431128, 339465, 339786, 339457, 431132, 339477, 431099, 431202, 339541, 339643, 265042, 339796, 391798, 392175, 339489, 430637, 430639, 431096, 339699, 339469, 339797, 392167, 339458, 339798, 339606, 339685, 339482, 431168, 431141, 339468, 339453, 431137, 431153, 431155, 431130, 431033, 339730, 430911, 339731, 430640, 381703, 431134, 339478, 431125, 431154, 431090, 339794, 431187, 431067, 431146, 339463, 431065, 339709, 431094, 431048, 339467, 430767, 430697, 431104, 339753, 431050, 339460, 381725, 430745, 431124, 431117, 339696, 339757, 339464, 339808, 339787, 339806, 339805, 392169, 431157, 431191, 339810, 431160, 339707, 339701, 339704, 430850, 430681, 430743, 431084, 431116, 430908, 431107, 392166, 339677, 430998, 339769, 339814, 339750, 339758, 430655, 430744) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
app/Tygh/Database/Connection.php, line: 1712
File: | app/Tygh/Database/Connection.php |
Line: | 1489 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 699 |
Function: | execQuery |
File: | app/Tygh/Database/Connection.php |
Line: | 332 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 35 |
Function: | getArray |
File: | app/controllers/common/debugger.php |
Line: | 60 |
Function: | db_get_array |
File: | app/functions/fn.control.php |
Line: | 722 |
Function: | include |
File: | app/functions/fn.control.php |
Line: | 458 |
Function: | fn_run_controller |
File: | index.php |
Line: | 19 |
Function: | fn_dispatch |