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 (351129, 355878, 357053, 358162, 358206, 350435, 350635, 351079, 353921, 353943, 354921, 357257, 358677, 349908, 349924, 351514, 351548, 352292, 352334, 352983, 353212, 354550, 354562, 355648, 356623, 357450, 352115, 354086, 354909, 355214, 355331, 356759, 357099, 357149, 351171, 351655, 352957, 353084, 353716, 354016, 354670, 358291, 351056, 351219, 352947, 353838, 355070, 356141, 356169, 357847, 350313, 350442, 350900, 351041, 352184, 354737, 355817, 356099, 356934, 357299, 357933, 359097, 349751, 351006, 351330, 351616, 351669, 351702, 352389, 354654, 354910, 355213, 356047, 356259, 356447, 357041, 358900, 359413, 350381, 350809, 350823, 350887, 352113, 353083, 353155, 353981, 354768, 354825, 356351, 356587, 357594, 357614, 357717, 357750, 351712, 354183, 357596, 350755, 351167, 351482) 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 (351129, 355878, 357053, 358162, 358206, 350435, 350635, 351079, 353921, 353943, 354921, 357257, 358677, 349908, 349924, 351514, 351548, 352292, 352334, 352983, 353212, 354550, 354562, 355648, 356623, 357450, 352115, 354086, 354909, 355214, 355331, 356759, 357099, 357149, 351171, 351655, 352957, 353084, 353716, 354016, 354670, 358291, 351056, 351219, 352947, 353838, 355070, 356141, 356169, 357847, 350313, 350442, 350900, 351041, 352184, 354737, 355817, 356099, 356934, 357299, 357933, 359097, 349751, 351006, 351330, 351616, 351669, 351702, 352389, 354654, 354910, 355213, 356047, 356259, 356447, 357041, 358900, 359413, 350381, 350809, 350823, 350887, 352113, 353083, 353155, 353981, 354768, 354825, 356351, 356587, 357594, 357614, 357717, 357750, 351712, 354183, 357596, 350755, 351167, 351482) 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 |