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 = 226
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,85,86,87,88,89,90,91,92,93,96,97,98,99,100,101,102,104,105,106,108,109,110,111,115,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,180,181,182,183,184,190,192,193,197,198,199,200,201,202,204,205,206,207,208,209,211,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,237,238,240,241,242,244,245,248,249,250,251,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,274,275,276,277,279,280,281,282,285,286,289,290,291,292,293, 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/index.php(12): include('/home/vudinh/ww...')
#2 {main}
thrown in /home/vudinh/www/photographe/piwigo/include/dblayer/functions_mysqli.inc.php on line 908