( ! ) Warning: [mysql error 3065] Expression #1 of ORDER BY clause is not in SELECT list, references column 'fan-gallery.piwigo_images.date_available' which is not in SELECT list; this is incompatible with DISTINCT
SELECT DISTINCT image_id
FROM piwigo_image_category INNER JOIN piwigo_images ON image_id=id
WHERE image_id IN (854,855,856,857,858,859,1231,1232,1785,1787,1852,1853,2022,2023,2024,2025,2026,2027,2028,2029,2030,2031,2032,2033)
AND (category_id NOT IN (79)) ORDER BY date_available DESC, file ASC, id ASC
; in /wwwroot/www.drowtales.com/html/fan-gallery/include/dblayer/functions_mysql.inc.php on line 656
( ! ) Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /wwwroot/www.drowtales.com/html/fan-gallery/include/dblayer/functions_mysql.inc.php on line 202
( ! ) Warning: Cannot modify header information - headers already sent by (output started at /wwwroot/www.drowtales.com/html/fan-gallery/include/dblayer/functions_mysql.inc.php:202) in /wwwroot/www.drowtales.com/html/fan-gallery/include/page_header.php on line 98