after DEBUG mode has been enabled: view the forum shows: Query #1 on MasterDB: time taken: 0.0007, affected rows: 1, total sql time: 0.0007 SELECT s.id AS sid, s.ses_id, s.data, s.returnto, s.sys_id, t.id AS theme_id, t.lang, t.name AS theme_name, t.locale, t.theme, t.pspell_lang, t.theme_opt, u.alias, u.posts_ppg, u.time_zone, u.sig, u.last_visit, u.last_read, u.cat_collapse_status, u.users_opt, u.posted_msg_count, u.topics_per_page, u.ignore_list, u.ignore_list, u.buddy_list, u.id, u.group_leader_list, u.email, u.login, u.sq, u.ban_expiry, u.flag_cc FROM fud30_ses s INNER JOIN fud30_users u ON u.id=(CASE WHEN s.user_id>2000000000 THEN 1 ELSE s.user_id END) LEFT OUTER JOIN fud30_themes t ON t.id=u.theme WHERE s.ses_id='8943e2861c0458b410788bd2a0003c9d' -------------------------------------------------------------------------------- Query #2 on MasterDB: time taken: 0.0004, affected rows: 1, total sql time: 0.0011 UPDATE fud30_users SET last_visit=1316350568 WHERE id=2 Strict Standards: header() [function.header]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in /home/expati/public_html/ask/index.php on line 1111 Warning: Cannot modify header information - headers already sent by (output started at /home/expati/public_html/ask/index.php:152) in /home/expati/public_html/ask/index.php on line 1111 Strict Standards: header() [function.header]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in /home/expati/public_html/ask/index.php on line 1112 Warning: Cannot modify header information - headers already sent by (output started at /home/expati/public_html/ask/index.php:152) in /home/expati/public_html/ask/index.php on line 1112 Strict Standards: header() [function.header]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead in /home/expati/public_html/ask/index.php on line 1113 Warning: Cannot modify header information - headers already sent by (output started at /home/expati/public_html/ask/index.php:152) in /home/expati/public_html/ask/index.php on line 1113 -------------------------------------------------------------------------------- Query #3 on MasterDB: time taken: 0.0032, affected rows: 27, total sql time: 0.0043 SELECT m.subject, m.id, m.post_stamp, u.id, u.alias, f.cat_id, f.forum_icon, f.id, f.last_post_id, f.moderators, f.name, f.descr, f.url_redirect, f.post_count, f.thread_count, fr.last_view, mo.id, COALESCE(g2.group_cache_opt, g1.group_cache_opt) AS group_cache_opt, c.cat_opt FROM fud30_fc_view v INNER JOIN fud30_cat c ON c.id=v.c INNER JOIN fud30_forum f ON f.id=v.f INNER JOIN fud30_group_cache g1 ON g1.user_id=2147483647 AND g1.resource_id=f.id LEFT JOIN fud30_msg m ON f.last_post_id=m.id LEFT JOIN fud30_users u ON u.id=m.poster_id LEFT JOIN fud30_forum_read fr ON fr.forum_id=f.id AND fr.user_id=2 LEFT JOIN fud30_mod mo ON mo.user_id=2 AND mo.forum_id=f.id LEFT JOIN fud30_group_cache g2 ON g2.user_id=2 AND g2.resource_id=f.id WHERE f.parent = 0 ORDER BY v.id -------------------------------------------------------------------------------- Query #4 on MasterDB: time taken: 0.0003, affected rows: 1, total sql time: 0.0046 UPDATE fud30_ses SET sys_id='cc73ab1711017439707258fc46457c1f', forum_id=0, time_sec=1316350568, action='Browsing the forum list', returnto='&SQ=c759ba68affab141bf8e92d45331f6e8' WHERE id=1 -------------------------------------------------------------------------------- Query #5 on MasterDB: time taken: 0.0003, affected rows: 1, total sql time: 0.0049 SELECT count(*) FROM fud30_users WHERE users_opt>=16777216 AND users_opt & 16777216 > 0 -------------------------------------------------------------------------------- Query #6 on MasterDB: time taken: 0.0001, affected rows: 1, total sql time: 0.0050 SELECT count(*) FROM fud30_msg_report -------------------------------------------------------------------------------- Query #7 on MasterDB: time taken: 0.0001, affected rows: 1, total sql time: 0.0050 SELECT count(*) FROM fud30_thr_exchange -------------------------------------------------------------------------------- Query #8 on MasterDB: time taken: 0.0001, affected rows: 1, total sql time: 0.0051 SELECT count(*) FROM fud30_msg m INNER JOIN fud30_thread t ON m.thread_id=t.id INNER JOIN fud30_forum f ON t.forum_id=f.id WHERE m.apr=0 AND f.forum_opt>=2 -------------------------------------------------------------------------------- Query #9 on MasterDB: time taken: 0.0001, affected rows: 1, total sql time: 0.0052 SELECT count(*) FROM fud30_pmsg WHERE duser_id=2 AND fldr=1 AND read_stamp=0 -------------------------------------------------------------------------------- Query #10 on MasterDB: time taken: 0.0004, affected rows: 1, total sql time: 0.0056 SELECT sc.*,m.subject AS last_msg_subject, u.alias AS last_user_alias FROM fud30_stats_cache sc INNER JOIN fud30_users u ON u.id=sc.last_user_id LEFT JOIN fud30_msg m ON m.id=0 WHERE sc.cache_age>1316349368