I was careless enough to upgrade to phpbb 3 first and then notice that I could not access the gallery anymore (nor disable the bridging because I had forgotten the stand-alone admin password).
So I worked my way through this thread to piece together the changes, first setting the values in the database as explained in
this post. I believe that the "path from webroot" entry prefers a leading "/" but may be wrong, in any case it does not seem to hurt. As pointed out elsewhere in this thread, I also made the following file changes:
$ diff ucp_original.php ucp.php
78c78,80
< redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
---
> // redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
> // changed for phpbb3
> redirect(append_sid(request_var('redirect', "{$phpbb_root_path}index.$phpEx")));
339d340
<
$ diff bridgemgr_original.php bridgemgr.php
434a435,447
> $default_bridge_data['phpbb3'] = array(
> 'full_name' => 'phpBB 3.0',
> 'short_name' => 'phpbb3',
> 'support_url' => 'http://www.phpbb.com/',
> 'full_forum_url_default' => 'http://www.yoursite.com/forum/',
> 'full_forum_url_used' => 'mandatory,not_empty,trailing_slash',
> 'relative_path_to_config_file_default' => '../forum/',
> 'relative_path_to_config_file_used' => 'lookfor,config.php',
> 'use_post_based_groups_default' => '0',
> 'use_post_based_groups_used' => 'radio,1,0',
> );
>
> // status: bridge unknown, manager unknown
$ diff phpbb3_original.inc.php phpbb3_intermediate.inc.php
156,157c156,157
< $this->guestgroup = 1;
< $this->botgroup = 6;
---
> $this->guestgroup = $BRIDGE['guest_group'];
> $this->botgroup = $BRIDGE['bot_group'];
364c364
< function view_profile()
---
> function view_profile($uid)
367c367,370
< $this->redirect("memberlist.php?mode=viewprofile&sid={$this->sid}&u={$USER_DATA[user_id]}");
---
> if($uid)
> $this->redirect("memberlist.php?mode=viewprofile&sid={$this->sid}&u={$uid}");
> else
> $this->redirect("memberlist.php?mode=viewprofile&sid={$this->sid}&u={$USER_DATA[user_id]}");
$
However I still got "Fatal error :" with no further detail when trying to access the gallery.
The following additional modifications to the phpbb3.inc.php file, which I nicked from phpbb2018.inc.php, got things working for me:
$ diff phpbb3_intermediate.inc.php phpbb3_final.inc.php
144c144,148
< 'grouptbl_group_name' => 'group_name' // name of 'group name' field in groups table
---
> 'grouptbl_group_name' => 'group_name', // name of 'group name' field in groups table
> 'notify' => 'user_notify_pm',
> 'auto_subscribe_post' => 'user_notify',
> 'auto_subscribe_comment' => 'user_notify',
> 'avatar_url' => 'user_avatar'
$
It seems these values are referenced in a number of SELECT statements and empty values result in those errors I've seen.
I hope this helps someone.
Many thanks to all who contributed to the solution - with 10 "php-thumbs" I would not have gotten anywhere without the information shared in this thread (including the questions asked and answered).
Thanks again.
Cheers,
roncop