A Database Error Occurred

Error Number: 1055

Expression #10 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fonfe_fonfe.b.name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT a.*,b.name,b.seo,c.cat_id,c.post_id,c.type FROM news a,news_cat b,cat_rel c WHERE c.type = 'n' AND a.id = c.post_id AND c.cat_id = b.id GROUP BY a.id ORDER BY a.id DESC LIMIT 61, 20

Filename: /home/fonfe/public_html/models/dbnews.php

Line Number: 39