Has anyone tried this extension with new phpBB 3.1? Can it work with phpBB 3.1?
Topic on Extension talk:Phpbb Single Sign-On
phpBB 3.1 now has a better external login method. This extension might not work the same way, or in the very least may be overkill.
I have updated the code to work with phpBB 3.1.3 now.
The code actually should have worked just fine, there were just some weird things done with the original SSO code that actually didn't make much sense. Now it has been changed and it appears to be working correctly!
I used the SSO plugin for a while now, but after apdating phpBB (to 3.1.3) and MediaWiki to (1.24.2) enabling the SSO plugin gives me:
Fatal error: Call to a member function get_extension_path() on a non-object in foo/forum/phpbb/user.php on line 631
Any clue?
I think this issue is related to the either 1.24 banch, they changed how the login works, I am still awaiting a patch, but thanks for the conformation that it is not just me.
Fatal error: Call to a member function get_extension_path() on a non-object in /usr/www/foo/public/phpbb/user.php on line 631
Also getting this error in Mediawiki 1.23.9 and phpBB 3.1.3.
Is this extension dead then?
We're not rendering any PHPBB pages with SSO backend, so here's my little fix:
function set_lang(&$lang, &$help, $lang_file, $use_db = false, $use_help = false, $ext_name = '')
{
global $phpbb_root_path, $phpEx;
// Make sure the language name is set (if the user setup did not happen it is not set)
if (!$this->lang_name)
{
global $config;
$this->lang_name = basename($config['default_lang']);
}
if(defined('FROM_MEDIAWIKI')) {
return;
}
I have this same problem with phpBB 3.1.9, I get an empty page when I try to access the wiki. I've added the code above but it doesn't seem to make any difference to my problem. Anyone have any other thoughts, apart from reverting to an earlier version of phpbb?
I am running 3.1.9 w/ MediaWiki 1.26.2, and it works fine for me.