Bug tracker
Global announcements do not work on Firebird (fix completed in vcs)
Discovered on phpBB.de: http://www.phpbb.de/community/viewtopic ... 4&t=202656
Comments / History
t.forum_id is 0 for global topics
f.forum_id can be passed via the f= parameter
Firebird sets forum_id to t.forum_id = 0
and sets forum_id_01 to f.forum_id.
This is asking for trouble. I wonder why this works on MySQL.
I'd recommend specifiying the exact fields you need so FORUM_ID will contain f.forum_id and there will be no forum_id_01
I did all the lazywork for you.
Just replace viewtopic.php, line 185, with:
'SELECT' => 'f.forum_last_poster_colour,f.forum_rules,f.forum_desc,f.forum_parents,f.prune_freq,f.prune_viewed,f.prune_days,f.prune_next,f.enable_prune,f.enable_icons,f.enable_indexing,f.display_on_index,f.display_subforum_list,f.forum_options,f.forum_flags,f.forum_last_post_time,f.forum_last_poster_id,f.forum_last_post_id,f.forum_topics_real,f.forum_topics,f.forum_posts,f.forum_status,f.forum_type,f.forum_topics_per_page,f.forum_rules_options,f.forum_style,f.forum_desc_options,f.right_id,f.left_id,f.parent_id,f.forum_id,f.forum_last_poster_name,f.forum_last_post_subject,f.forum_rules_uid,f.forum_rules_link,f.forum_password,f.forum_link,f.forum_desc_uid,f.forum_name,f.forum_rules_bitfield,f.forum_image,f.forum_desc_bitfield, t.topic_last_poster_colour,t.topic_first_poster_colour,t.poll_vote_change,t.poll_last_vote,t.poll_max_options,t.poll_length,t.poll_start,t.topic_bumper,t.topic_bumped,t.topic_moved_id,t.topic_last_view_time,t.topic_last_post_time,t.topic_last_poster_id,t.topic_last_post_id,t.topic_first_post_id,t.topic_type,t.topic_status,t.topic_replies_real,t.topic_replies,t.topic_views,t.topic_time_limit,t.topic_time,t.topic_poster,t.topic_reported,t.topic_approved,t.topic_attachment,t.icon_id,t.topic_id,t.poll_title,t.topic_last_post_subject,t.topic_last_poster_name,t.topic_first_poster_name,t.topic_title',
It would remove the symptom, but not the cause, which is a nameclash between the two FORUM_ID-Fields which can be resolved by not selecting the one you don't need.
I'd say, it's the PHP-Firebird-Driver. If it is a bug after all.
My guess is that each PHP-Database-Driver might behave differently in resolving such situations. This could be the reason that f.*, t.* doesn't work on other DBMSes.
I'm gonna do some research here.