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 = 'A' AND cscart_images_links.object_id IN (349736, 349943, 358420, 355716, 351470, 352364, 354432, 354737, 358745, 349826, 352111, 352597, 354793, 355136, 358867, 359065, 352613, 354825, 357476, 354601, 356325, 359419, 351436, 352333, 354866, 355987, 356197, 351538, 351595, 354545, 355124, 355811, 358485, 358866, 349896, 351591, 352307, 355889, 352480, 352507, 356296, 356615, 357642, 358415, 351551, 355742, 357553, 359053, 351448, 352528, 354847, 355899, 356640, 359091, 352724, 354785, 352671, 358340, 352149, 352672, 353117, 357503, 352217, 352560, 356354, 356586, 352556, 355069, 355667, 352670, 349905, 356488, 358706, 349816, 351266, 352110, 352212, 352475, 352344, 352504, 352721, 354787, 355097, 355903, 355937, 356238, 356448, 351347, 351354, 351820, 352134, 352727, 354376, 356478, 358976, 359011, 352476, 352557, 352594, 352756) 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 = 'A' AND cscart_images_links.object_id IN (349736, 349943, 358420, 355716, 351470, 352364, 354432, 354737, 358745, 349826, 352111, 352597, 354793, 355136, 358867, 359065, 352613, 354825, 357476, 354601, 356325, 359419, 351436, 352333, 354866, 355987, 356197, 351538, 351595, 354545, 355124, 355811, 358485, 358866, 349896, 351591, 352307, 355889, 352480, 352507, 356296, 356615, 357642, 358415, 351551, 355742, 357553, 359053, 351448, 352528, 354847, 355899, 356640, 359091, 352724, 354785, 352671, 358340, 352149, 352672, 353117, 357503, 352217, 352560, 356354, 356586, 352556, 355069, 355667, 352670, 349905, 356488, 358706, 349816, 351266, 352110, 352212, 352475, 352344, 352504, 352721, 354787, 355097, 355903, 355937, 356238, 356448, 351347, 351354, 351820, 352134, 352727, 354376, 356478, 358976, 359011, 352476, 352557, 352594, 352756) 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 |