Warning: [mysql error 3065] Expression #1 of ORDER BY clause is not in SELECT list, references column 'iamtom_justaddbacon.piwigo_images.file' which is not in SELECT list; this is incompatible with DISTINCT SELECT DISTINCT(id) FROM piwigo_images INNER JOIN piwigo_image_category AS ic ON id = ic.image_id WHERE image_id IN (409,576,367,639,465,825,254,526,6,616,839,266,500,832,164) ORDER BY file ASC, id ASC ; in /data02/iamtom/public_html/justaddbacon.com/include/dblayer/functions_mysqli.inc.php on line 798

Fatal error: Call to a member function fetch_assoc() on boolean in /data02/iamtom/public_html/justaddbacon.com/include/dblayer/functions_mysqli.inc.php on line 181