SimpleMachines / smf-mw-auth

SMF MediaWiki Authentication
https://www.simplemachines.org
Other
23 stars 18 forks source link

MW login not working #13

Closed berianwilliams closed 6 years ago

berianwilliams commented 6 years ago

Using commit https://github.com/SimpleMachines/smf-mw-auth/commit/357df72cac92dc227bcfac8715a6f464c9f2407b I get following warning:

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, object given in /home/USER/html/test/w/extensions/Auth_SMF.php on line 157

Aside from this (or perhaps because of it?) the bridge isn't working as intended. I try logging in to SMF through the Log In button in MW, which succeeds, but my logged in user isn't detected on the MW side. Th e user I'm logging in with is a forum administrator.

jdarwood007 commented 6 years ago

I made some commits which I think would resolve this. I havent' had time to test it yet. This was part of the work to add multi-database support to the Auth.

berianwilliams commented 6 years ago

Fatal error: Call to undefined method Auth_SMF::query() in Auth_SMF.php on line 841

jdarwood007 commented 6 years ago

Corrected that issue.