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 ')) AND date_available IS NOT NULL
GROUP BY period' at line 5
SELECT DISTINCT(YEAR(date_available)) as period,
COUNT(DISTINCT id) as nb_images FROM paleon_images
INNER JOIN paleon_image_category ON id = image_id
WHERE category_id IN (2187,2192)
AND (level/var/www/piwigo274/include/dblayer/functions_mysql.inc.php on line 763

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/piwigo274/include/dblayer/functions_mysql.inc.php on line 155

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 '))
AND date_available IS NOT NULL
ORDER BY date_available DESC, date_availa' at line 4
SELECT DISTINCT id FROM paleon_images
INNER JOIN paleon_image_category ON id = image_id
WHERE category_id IN (2187,2192)
AND (level/var/www/piwigo274/include/dblayer/functions_mysql.inc.php on line 763