Tygh\Exceptions\AException

Message

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 (415288, 269868, 269870, 265423, 265427, 265433, 265422, 265411, 270140, 269842, 269869, 269838, 265431, 269871, 269853, 269845, 269872, 269860, 269867, 265430, 265412, 269843, 269835, 265403, 265414, 270143, 269840, 265419, 265413, 265424, 269848, 392318, 269851, 270139, 269863, 269837, 269865, 270155, 270141, 392269, 270142, 270144, 265428, 265408, 392330, 265401, 265420, 392264, 265465, 392324, 392270, 392272, 392314, 392325, 392273, 392329, 392317, 392326, 392332, 392333, 392335, 392313, 392319, 392320, 392328, 392262, 392323, 392316, 392271, 392331, 392266, 392268, 392274, 392275, 392327, 392321, 392334, 392315, 392322, 392312) 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 (415288, 269868, 269870, 265423, 265427, 265433, 265422, 265411, 270140, 269842, 269869, 269838, 265431, 269871, 269853, 269845, 269872, 269860, 269867, 265430, 265412, 269843, 269835, 265403, 265414, 270143, 269840, 265419, 265413, 265424, 269848, 392318, 269851, 270139, 269863, 269837, 269865, 270155, 270141, 392269, 270142, 270144, 265428, 265408, 392330, 265401, 265420, 392264, 265465, 392324, 392270, 392272, 392314, 392325, 392273, 392329, 392317, 392326, 392332, 392333, 392335, 392313, 392319, 392320, 392328, 392262, 392323, 392316, 392271, 392331, 392266, 392268, 392274, 392275, 392327, 392321, 392334, 392315, 392322, 392312) ORDER BY cscart_images_links.position, cscart_images_links.pair_id

Error at

app/Tygh/Database/Connection.php, line: 1712

Backtrace

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