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 jmj_images.*, jmj_images_links.*, jmj_common_descriptions.description AS ' at line 1 (1064)
SELECT jmj_images.*, jmj_images_links.*, jmj_common_descriptions.description AS alt, jmj_images.image_id AS images_image_id FROM jmj_images_links LEFT JOIN jmj_images ON jmj_images_links.image_id = jmj_images.image_id LEFT JOIN jmj_common_descriptions ON jmj_common_descriptions.object_id = jmj_images.image_id AND jmj_common_descriptions.object_holder = 'images' AND jmj_common_descriptions.lang_code = 'en' WHERE jmj_images_links.object_type = 'feature_variant' AND jmj_images_links.type = 'V' AND jmj_images_links.object_id IN (2103, 2103, 2103, 2104, 2105, 2112, 2112, 2113, 2114, 2118, 2120, 2125, 2125, 2126, 2131, 2190, 2220, 1690, 1689, 1688, 1689, 1691, 1688, 1691, 1690, 1689, 1690, 1688, 1689, 1691, 1690, 1691, 1689, 1690, 1688, 1691, 1690, 1691, 1689, 1688, 1692, 1688, 1691, 1690, 1689, 1689, 1688, 1688, 1691, 1690) ORDER BY jmj_images_links.position, jmj_images_links.pair_id;SELECT jmj_images.*, jmj_images_links.*, jmj_common_descriptions.description AS alt, jmj_images.image_id AS images_image_id FROM jmj_images_links LEFT JOIN jmj_images ON jmj_images_links.detailed_id = jmj_images.image_id LEFT JOIN jmj_common_descriptions ON jmj_common_descriptions.object_id = jmj_images.image_id AND jmj_common_descriptions.object_holder = 'images' AND jmj_common_descriptions.lang_code = 'en' WHERE jmj_images_links.object_type = 'feature_variant' AND jmj_images_links.type = 'V' AND jmj_images_links.object_id IN (2103, 2103, 2103, 2104, 2105, 2112, 2112, 2113, 2114, 2118, 2120, 2125, 2125, 2126, 2131, 2190, 2220, 1690, 1689, 1688, 1689, 1691, 1688, 1691, 1690, 1689, 1690, 1688, 1689, 1691, 1690, 1691, 1689, 1690, 1688, 1691, 1690, 1691, 1689, 1688, 1692, 1688, 1691, 1690, 1689, 1689, 1688, 1688, 1691, 1690) ORDER BY jmj_images_links.position, jmj_images_links.pair_id
app/Tygh/Database/Connection.php, line: 1713
| File: | app/Tygh/Database/Connection.php |
| Line: | 1490 |
| Function: | throwError |
| File: | app/Tygh/Database/Connection.php |
| Line: | 700 |
| Function: | execQuery |
| File: | app/Tygh/Database/Connection.php |
| Line: | 333 |
| 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: | 728 |
| Function: | include |
| File: | app/functions/fn.control.php |
| Line: | 459 |
| Function: | fn_run_controller |
| File: | index.php |
| Line: | 21 |
| Function: | fn_dispatch |