Topic on Extension talk:Phpbb Single Sign-On

Single Sign-On with phpBB 3.1

9
79.235.219.117 (talkcontribs)

Has anyone tried this extension with new phpBB 3.1? Can it work with phpBB 3.1?

71.215.80.62 (talkcontribs)

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.

AJ Quick (talkcontribs)

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!

2003:73:8E06:A782:EC94:1759:3CD8:72E4 (talkcontribs)

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?

173.60.199.91 (talkcontribs)

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.

72.224.68.84 (talkcontribs)

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?

100.11.93.217 (talkcontribs)

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;
                }
86.176.149.221 (talkcontribs)

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?

98.246.91.207 (talkcontribs)

I am running 3.1.9 w/ MediaWiki 1.26.2, and it works fine for me.

Reply to "Single Sign-On with phpBB 3.1"