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 (82071, 82118, 82073, 82038, 149042, 82061, 81948, 82101, 82009, 81647, 82133, 82103, 81737, 81655, 82104, 81704, 81826, 81863, 81741, 81860, 81702, 82072, 81634, 81657, 81739, 81625, 82115, 81776, 82074, 81611, 81862, 81627, 82114, 82069, 81817, 81773, 81636, 81812, 81624, 81806, 82099, 82052, 81756, 81816, 82096, 81814, 81747, 81768, 82116, 82095, 81672, 81764, 81765, 81762, 81766) 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 (82071, 82118, 82073, 82038, 149042, 82061, 81948, 82101, 82009, 81647, 82133, 82103, 81737, 81655, 82104, 81704, 81826, 81863, 81741, 81860, 81702, 82072, 81634, 81657, 81739, 81625, 82115, 81776, 82074, 81611, 81862, 81627, 82114, 82069, 81817, 81773, 81636, 81812, 81624, 81806, 82099, 82052, 81756, 81816, 82096, 81814, 81747, 81768, 82116, 82095, 81672, 81764, 81765, 81762, 81766) 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 |