Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 10

CurtisOdenRaizeericgillettemimi59zachs +5 guests

Fatal error when using ProxyConnect 1.4 & Vanilla 2

Hi folks,

I'm trying to implement single-sign-on between Vanilla 2 and MediaWiki using ProxyConnect 1.4. The integration works, but with one hitch. Attempting to sign in to Vanilla produces the following error:

Fatal error: Call to a member function rowCount() on a non-object in /var/www/html/vanilla/library/core/class.authenticator.php on line 242

The error only appears AFTER I've logged into MediaWiki and then attempt to sign in to Vanilla. (Generally it appears as soon as I attempt to return to Vanilla after signing in to MediaWiki -- when ProxyConnect attempts to automatically sign me in to the shared account).

What's more, refreshing the page makes the error disappear and successfully logs me into to Vanilla under the shared account.

I'm running php 5.2.13 and MySQL 5.

Any help?

If you're interested, here's the MediaWiki extension I've built that creates the Authentication page required by ProxyConnect:

http://oddjar.com/projects/VanillaSSO.zip

Enable the extension by uploading it to MediaWiki's extensions directory, and adding the following line to LocalSettings.php:

require_once("$IP/extensions/VanillaSSO/VanillaSSO.php");

Comments

  • Posts: 44
    hello Johnathon,

    I want to try Single Sign on for Media wiki and Vanillaforums . But I would like to know if you are still having the same problem . So that I can think about it before implementing SSO

    Thanks !
Sign In or Register to comment.