P.J. O’Brien Irish Pub

Photo Gallery

ERROR! Cannot run query! query_i_results_num(). caused by query=[SELECT `t`.* FROM ( SELECT `p`.`order`, `i`.* , `p`.`name`, `p`.`header` FROM tbl_photo_gallery p, tbl_page_photo_gallery_items i WHERE p.id = i.photo_gallery_id ORDER BY `i`.`photo_gallery_id`, `i`.`photoorder` ASC ) `t` GROUP BY `t`.`photo_gallery_id` order by t.order ] Please contact the webmaster if this error persist at webmaster@gcm.to Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 't.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by