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, id ASC' at line 6
SELECT DISTINCT id FROM piwigo_images
INNER JOIN piwigo_image_category ON id = image_id
WHERE category_id IN (54,113,116,190,192,202,203,204,205,206,207,208,209,334)
AND date_creation BETWEEN '2014-01-01' AND '2014-12-31 23:59:59'
ORDER BY date_creation ASC, name ASC, rank ASC, id ASC in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php:906
Stack trace:
#0 /home/jardinonx/www_galerie/piwigo/include/functions.inc.php(1453): query2array('SELECT DISTINCT...', NULL, 'id')
#1 /home/jardinonx/www_galerie/piwigo/include/functions_calendar.inc.php(311): array_from_query('SELECT DISTINCT...', 'id')
#2 /home/jardinonx/www_galerie/piwigo/include/section_init.inc.php(563): initialize_calendar()
#3 /home/jardinonx/www_galerie/piwigo/picture.php(26): include('/home/jardinonx...')
#4 {main}
thrown in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php on line 906