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 (353732, 353587, 353626, 355523, 353516, 353815, 353771, 353506, 353020, 353142, 353024, 353443, 354108, 353513, 353762, 353239, 354251, 354118, 353834, 353570, 357152, 353787, 356897, 356960, 353131, 353257, 353577, 356963, 353476, 353001, 356742, 353997, 355477, 353129, 354079, 353153, 356735, 353807, 354125, 352828, 353652, 355530, 353042, 356834, 354287, 356955, 353225, 354729, 354690, 353508, 353502, 356721, 353788, 353779, 356801, 354692, 356820, 353634, 353986, 354081, 356865, 356784, 352812, 353056, 353005, 356810, 353799, 354563, 354094, 356761, 353645, 354283, 356736, 354560, 356907, 356975, 354096, 354292, 354021, 354227, 353094, 353485, 356976, 352907, 354111, 354009, 353496, 353741, 356786, 355498, 354264, 357148, 353808, 356771, 353847, 353043, 356729, 353742, 354035, 356717) 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 (353732, 353587, 353626, 355523, 353516, 353815, 353771, 353506, 353020, 353142, 353024, 353443, 354108, 353513, 353762, 353239, 354251, 354118, 353834, 353570, 357152, 353787, 356897, 356960, 353131, 353257, 353577, 356963, 353476, 353001, 356742, 353997, 355477, 353129, 354079, 353153, 356735, 353807, 354125, 352828, 353652, 355530, 353042, 356834, 354287, 356955, 353225, 354729, 354690, 353508, 353502, 356721, 353788, 353779, 356801, 354692, 356820, 353634, 353986, 354081, 356865, 356784, 352812, 353056, 353005, 356810, 353799, 354563, 354094, 356761, 353645, 354283, 356736, 354560, 356907, 356975, 354096, 354292, 354021, 354227, 353094, 353485, 356976, 352907, 354111, 354009, 353496, 353741, 356786, 355498, 354264, 357148, 353808, 356771, 353847, 353043, 356729, 353742, 354035, 356717) 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 |