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 images.*, images_links.*, common_descriptions.description AS alt, images.' at line 1 (1064)
SELECT images.*, images_links.*, common_descriptions.description AS alt, images.image_id AS images_image_id FROM images_links LEFT JOIN images ON images_links.image_id = images.image_id LEFT JOIN common_descriptions ON common_descriptions.object_id = images.image_id AND common_descriptions.object_holder = 'images' AND common_descriptions.lang_code = 'en' WHERE images_links.object_type = 'variant_image' AND images_links.type = 'V' AND images_links.object_id IN (672, 578, 577, 31287, 22761, 583, 584, 1905, 1912, 1907, 1908, 1909, 1910, 1911, 1906, 1913, 1914, 5076, 5077, 5092, 11835, 11836, 11837, 11838, 24954, 24955, 11841, 11842, 12216, 582, 11839, 11840, 25964, 28134, 28135, 28136, 28137, 29826, 29827, 29828, 29829, 97030, 5567, 5568, 5569, 5570, 5571, 5572, 5573, 5574, 5575, 5576, 5577, 5578, 24924, 24925, 66231, 66232, 26788, 26789, 26790, 26791, 26792, 341, 331, 332, 333, 335, 336, 334, 338, 339, 340, 337, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 432, 433, 434, 435, 436, 437, 438, 439, 440, 28171, 28172, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 27296, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 12205, 18648, 605, 604, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 1915, 1916, 1917, 1918, 1919, 5053, 5054, 5055, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, 5064, 28617, 28618, 28619, 28620, 28621, 28622, 28623, 28624, 28625, 28626, 28627, 28628, 28629, 28630, 28631, 28632, 28633, 28634, 28635, 28636, 28637, 28638, 28639, 28640, 29036, 29037, 29038, 29039, 29040, 29041, 29042, 29043, 29044, 29045, 29046, 29047, 29048, 29049, 29050, 29051, 29052, 29053, 29054, 5530, 5531, 5532, 5533, 5534, 5535, 5536, 5537, 5538, 5539, 5540, 5541, 5542, 5915, 5916, 5917, 5918, 5919, 5920, 5921, 5922, 5923, 5924, 5925, 5926, 5927, 5928, 5929, 5930, 5931, 5932, 5933, 5934, 5935, 5936, 5937, 5938, 5939, 5940, 5941, 5942, 5943, 5944, 5945, 5946, 5947, 11832, 5949, 5950, 5951, 5952, 5953, 5954, 5955, 11831, 5948, 11833, 11834, 30846, 30847, 30848, 43352, 43357, 43378, 43379, 66227, 66228, 66229, 66230, 66496, 97049, 97050, 98527, 98528, 98529, 5546, 5543, 5544, 5545, 5956, 5957, 5958, 5959, 5960, 5961, 5965, 5963, 5964, 5962, 5966, 5967, 5968, 5969, 11823, 11824, 11825, 11826, 11827, 11828, 11829, 11830, 12207, 12208, 12209, 12210, 12211, 12212, 12213, 12214, 12215, 29830, 29831, 29832, 29833, 5971, 5972, 5973, 5974, 5975, 5976, 5977, 5978, 5979, 5980, 12206, 18649, 7258, 7259, 7260, 7261, 7262, 7263, 7264, 7265, 7266, 7267, 83919, 83920, 83921, 83922, 83923, 83924, 83925, 83926, 83927, 83928, 83929, 83930, 83931, 83932, 83933, 83934, 83935, 83936, 83937, 83938, 83939, 83940, 83941, 83942, 83943, 83944, 83945, 83946, 83947, 83948, 83949, 83950, 83951, 83952, 83953, 83954, 83955, 83956, 83957, 83958, 83959, 83960, 83961, 83962, 83963, 83964, 83965, 83966, 83967, 83968, 83969, 83970, 83971, 83972, 83973, 83974, 83975, 83976, 83977, 83978, 83979, 83980, 83981, 83982, 83983, 83984, 83985, 83986, 83987, 83988, 83989, 83990, 83991, 83992, 83993, 83994, 83995, 83996, 83997, 83998, 83999, 84000, 84001, 84002, 84003, 84004, 84005, 84006, 84007, 84008, 84009, 84010, 84011, 84012, 84013, 84014, 84015, 84016, 84017, 84018, 84019, 84020, 84021, 84022, 84023, 84024, 84025, 84026, 84027, 84028, 84029, 84030, 84031, 84035, 84036, 84037, 84038, 84039, 84040, 84041, 84042) ORDER BY images_links.position, images_links.pair_id;SELECT images.*, images_links.*, common_descriptions.description AS alt, images.image_id AS images_image_id FROM images_links LEFT JOIN images ON images_links.detailed_id = images.image_id LEFT JOIN common_descriptions ON common_descriptions.object_id = images.image_id AND common_descriptions.object_holder = 'images' AND common_descriptions.lang_code = 'en' WHERE images_links.object_type = 'variant_image' AND images_links.type = 'V' AND images_links.object_id IN (672, 578, 577, 31287, 22761, 583, 584, 1905, 1912, 1907, 1908, 1909, 1910, 1911, 1906, 1913, 1914, 5076, 5077, 5092, 11835, 11836, 11837, 11838, 24954, 24955, 11841, 11842, 12216, 582, 11839, 11840, 25964, 28134, 28135, 28136, 28137, 29826, 29827, 29828, 29829, 97030, 5567, 5568, 5569, 5570, 5571, 5572, 5573, 5574, 5575, 5576, 5577, 5578, 24924, 24925, 66231, 66232, 26788, 26789, 26790, 26791, 26792, 341, 331, 332, 333, 335, 336, 334, 338, 339, 340, 337, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 432, 433, 434, 435, 436, 437, 438, 439, 440, 28171, 28172, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 27296, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 12205, 18648, 605, 604, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 1915, 1916, 1917, 1918, 1919, 5053, 5054, 5055, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, 5064, 28617, 28618, 28619, 28620, 28621, 28622, 28623, 28624, 28625, 28626, 28627, 28628, 28629, 28630, 28631, 28632, 28633, 28634, 28635, 28636, 28637, 28638, 28639, 28640, 29036, 29037, 29038, 29039, 29040, 29041, 29042, 29043, 29044, 29045, 29046, 29047, 29048, 29049, 29050, 29051, 29052, 29053, 29054, 5530, 5531, 5532, 5533, 5534, 5535, 5536, 5537, 5538, 5539, 5540, 5541, 5542, 5915, 5916, 5917, 5918, 5919, 5920, 5921, 5922, 5923, 5924, 5925, 5926, 5927, 5928, 5929, 5930, 5931, 5932, 5933, 5934, 5935, 5936, 5937, 5938, 5939, 5940, 5941, 5942, 5943, 5944, 5945, 5946, 5947, 11832, 5949, 5950, 5951, 5952, 5953, 5954, 5955, 11831, 5948, 11833, 11834, 30846, 30847, 30848, 43352, 43357, 43378, 43379, 66227, 66228, 66229, 66230, 66496, 97049, 97050, 98527, 98528, 98529, 5546, 5543, 5544, 5545, 5956, 5957, 5958, 5959, 5960, 5961, 5965, 5963, 5964, 5962, 5966, 5967, 5968, 5969, 11823, 11824, 11825, 11826, 11827, 11828, 11829, 11830, 12207, 12208, 12209, 12210, 12211, 12212, 12213, 12214, 12215, 29830, 29831, 29832, 29833, 5971, 5972, 5973, 5974, 5975, 5976, 5977, 5978, 5979, 5980, 12206, 18649, 7258, 7259, 7260, 7261, 7262, 7263, 7264, 7265, 7266, 7267, 83919, 83920, 83921, 83922, 83923, 83924, 83925, 83926, 83927, 83928, 83929, 83930, 83931, 83932, 83933, 83934, 83935, 83936, 83937, 83938, 83939, 83940, 83941, 83942, 83943, 83944, 83945, 83946, 83947, 83948, 83949, 83950, 83951, 83952, 83953, 83954, 83955, 83956, 83957, 83958, 83959, 83960, 83961, 83962, 83963, 83964, 83965, 83966, 83967, 83968, 83969, 83970, 83971, 83972, 83973, 83974, 83975, 83976, 83977, 83978, 83979, 83980, 83981, 83982, 83983, 83984, 83985, 83986, 83987, 83988, 83989, 83990, 83991, 83992, 83993, 83994, 83995, 83996, 83997, 83998, 83999, 84000, 84001, 84002, 84003, 84004, 84005, 84006, 84007, 84008, 84009, 84010, 84011, 84012, 84013, 84014, 84015, 84016, 84017, 84018, 84019, 84020, 84021, 84022, 84023, 84024, 84025, 84026, 84027, 84028, 84029, 84030, 84031, 84035, 84036, 84037, 84038, 84039, 84040, 84041, 84042) ORDER BY images_links.position, 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: | 331 |
| 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: | 721 |
| Function: | include |
| File: | app/functions/fn.control.php |
| Line: | 457 |
| Function: | fn_run_controller |
| File: | index.php |
| Line: | 25 |
| Function: | fn_dispatch |