Topic on Extension talk:Phpbb Single Sign-On/Flow

It still works. MW 1.26 and phpBB 3.1.6

5
AJ Quick (talkcontribs)

I am now running the latest versions of MW and phpBB. Everything still works.

There is one bug with phpBB that may cause an error. It requires changing the follow line in /phpbb/path_helper.php (line 230-233)

Change from:

// Prepend ../ to the phpbb_root_path as many times as / exists in path_info
$this->web_root_path = $this->filesystem->clean_path(
'./' . str_repeat('../', $corrections) . $this->phpbb_root_path
);

To this:

// Prepend ../ to the phpbb_root_path as many times as / exists in path_info
$this->web_root_path = $this->filesystem->clean_path(
'./' . str_repeat('../', $corrections > 0 ? $corrections : 0) . $this->phpbb_root_path
);
65.92.160.3 (talkcontribs)

Thanks for your work!

I'd love to test it out but unfortunately the extension page is missing the download link and I couldn't find anything on Google.

98.118.10.171 (talkcontribs)

For some reason, when I put:

$wgPhpbbSSO_Forum_Location = 'home/####/website/althon_bb/';  //Using your  absolute server path to this would be better; trailing slash required - e.g.  /home/user/www/forum/   
require_once("$IP/extensions/phpbSSO/phpbSSO.php");
$wgAuth = new Auth_remoteuser();

function noLoginLogOUt(&$list) {
        unset( $list['Userlogout'] );
        unset( $list['Userlogin'] );
        return true;
}

$wgHooks['SpecialPage_initList'][]='noLoginLogOUt';

into my wiki LocalSettings file, the wiki crashes and gives an error code of 500.

I'm running MW1.26 and phpBB 3.1.6

What am I doing wrong?

98.118.10.171 (talkcontribs)

I scrolled a bit further and am trying the solution posted about 10 months ago.

98.118.10.171 (talkcontribs)

So, the specific problem seems to be this line:

$wgAuth = new Auth_remoteuser();

All the other lines are saved into the LocalSettings.php file without crashing MediaWiki.

Reply to "It still works. MW 1.26 and phpBB 3.1.6"