Last modified: 2012-06-09 06:36:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38924, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36924 - Call to a member function getAssociation() on a non-object in ...Consumer.php on line 945
Call to a member function getAssociation() on a non-object in ...Consumer.php...
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
OpenID (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-17 04:30 UTC by T. Gries
Modified: 2012-06-09 06:36 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description T. Gries 2012-05-17 04:30:29 UTC
reported in https://www.mediawiki.org/wiki/Extension_talk:OpenID#Call_to_a_member_function_getAssociation.28.29_on_a_non-object_in_...Consumer.php_on_line_945_15325
----
Mediawiki: 1.19 PHP Version 5.3.10 OpenID: 1.001

The problem is when I try to login with google-account. After the request of which email I want to use I get redirected to another page where I see this:

Fatal error: Call to a member function getAssociation() on a non-object in ...Consumer.php on line 945

I've also tried the extension on mediawiki 1.18

Does anyone have a solution for this?

---
Please check and make sure that you have also the correct version of php-OpenID library. Most likely you are using and incorrect outdated version of the library.

I suggest you delete all files in the subdirectory $IP/extension/OpenID, and that subdirectoy itself, and you make a fresh installation of version 1.004. Follow the installation instructions and apply the "make" (makefile) to download the correct library from https://github.com/Wikinaut/php-openid/tree/mw-extension-openid . You can inspect the library code on GitHub and the extension code itself on MediaWiki SVN http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/OpenID/ , see readme files, in case you want to study it.
---
I've now made a fresh installation with version 1.004 by following the instructions. Unfortunately the problem remains with the exact error message as I posted before.


Rajjder (talk)‎01:10, 17 May 2012
Comment 1 T. Gries 2012-05-21 09:57:18 UTC
gmd library was missing for the user (see checklist 2 on Talk:OpenID), but is required.

closing bug as invalid
Comment 2 T. Gries 2012-06-09 06:36:34 UTC
Actually no, this issue is caused by openbase_dir. You assume that you can write to /tmp, in today's hosting market this is no always the case. I suggest in the future you use sys_get_temp_dir.

The easy work around is to set:

$wgOpenIDServerStorePath

and

$wgOpenIDConsumerStorePath

to a dir that you do have write perms to.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links