if ($rowset = DB()->fetch_rowset($sql)) {
$template->assign_vars(array(
'SHOW_SUBFORUMS' => true,
'FORUM_IMG' => $images['forum'],
'FORUM_NEW_IMG' => $images['forum_new'],
'FORUM_LOCKED_IMG' => $images['forum_locked'],
));
}
#001055 Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'forum.t.topic_last_post_time' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT f.forum_id, f.forum_status, f.forum_last_post_id, f.forum_posts, f.forum_topics, t.topic_last_post_time, t.topic_id AS last_topic_id, t.topic_title AS last_topic_title, p.poster_id AS sf_last_user_id, IF(p.poster_id = -1, p.post_username, u.username) AS sf_last_username, u.user_rank FROM bb_forums f LEFT JOIN bb_topics t ON(f.forum_last_post_id = t.topic_last_post_id) LEFT JOIN bb_posts p ON(f.forum_last_post_id = p.post_id) LEFT JOIN bb_users u ON(p.poster_id = u.user_id) WHERE f.forum_parent = 5 GROUP BY f.forum_id ORDER BY f.forum_order
Source : viewforum.php(188) :: db1.
IP :
Date : 2017-01-24 03:42:58
Agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 YaBrowser/17.1.0.2034 Yowser/2.5 Safari/537.36
Req_URI : /viewforum.php?f=5
Referer :
Method : GET
PID : 16589
Request : Array
(
[f] => 5
)______________________________________________________________________________