Warning: [mysql error 1064] 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 'ASC' at line 7
SELECT DISTINCT(image_id)
FROM phpwebgallery_image_category
INNER JOIN phpwebgallery_images ON id = image_id
WHERE
category_id = 115
AND (category_id NOT IN (1,2,3,4,5,6,7,8,9,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,33,34,35,36,37,41,42,51,58,61,62,63,70,72,73,74,80,89,90,91,92,93,96,97,98,99,100,101,102,105,106,109,110,111,116,118,119,125,127,129,131,132,134,135,136,137,139,141,143,145,152,153,155,157,158,160,165,166,168,169,170,172,173,174,175,176,177,178,179,181,182,183,184,193,198,199,202,206,208,211,215,216,217,218,219,220,222,223,225,227,237,245,250,251,254,257,260,261,265,266,268,274,275,276,277,279,280,282,286,301,302,303,304,305,306,307,308,312,319,320,321,322,323,324,325,326,332,339,340,341,342,343,344,352,353,354,355,356,362,363,369,374,375,376,377,385,386,387,389,396,401,402,407,408,409,415,416,417,418,419,420, in /home/vudinh/www/photographe/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/vudinh/www/photographe/piwigo/include/dblayer/functions_mysqli.inc.php:908
Stack trace:
#0 /home/vudinh/www/photographe/piwigo/include/section_init.inc.php(317): query2array('\nSELECT DISTINC...', NULL, 'image_id')
#1 /home/vudinh/www/photographe/piwigo/picture.php(11): include('/home/vudinh/ww...')
#2 {main}
thrown in /home/vudinh/www/photographe/piwigo/include/dblayer/functions_mysqli.inc.php on line 908