Last modified: 2009-06-04 13:27:05 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 T20988, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18988 - Fatal error: Call to undefined method User::encodeOptions() (occurring in combination with ConfirmAccount)
Fatal error: Call to undefined method User::encodeOptions() (occurring in com...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
1.16.x
All All
: Normal critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-28 19:03 UTC by Gregor Hagedorn
Modified: 2009-06-04 13:27 UTC (History)
4 users (show)

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


Attachments

Description Gregor Hagedorn 2009-05-28 19:03:54 UTC
a) The extension http://www.mediawiki.org/wiki/Extension:ConfirmAccount (currently identifying itself as Confirm user accounts (Version 1.47) seems to be broken in combination with newest MW 1.16. The error appears only when actually confirming an account request, selecting accept radio button and clicking confirm button.

Error message:

Fatal error: Call to undefined method User::encodeOptions() in /usr/share/mediawiki/phase3/includes/User.php on line 2482

b) although hosted on SVN, the extension is not in the Component list in Bugzilla, please correct as well.
Comment 1 Aaron Schulz 2009-05-30 04:58:23 UTC
The issue isn't confirmaccount; looks like the preferences changes broke createNew()
Comment 2 Gregor Hagedorn 2009-05-30 13:08:28 UTC
According to Aaron, trying to re-assign to mediawiki main instead of extensions.
Comment 3 Gregor Hagedorn 2009-05-31 18:10:42 UTC
Bug title renamed according to information from Aaron. Error still present in r51251.
Comment 4 Chad H. 2009-06-02 00:42:49 UTC
Adding Andrew as a cc on this
Comment 5 Gregor Hagedorn 2009-06-03 01:58:31 UTC
Update: Retesting at rev. 51387, the error message when trying to confirm accounts changed to:

Fatal error: Class 'FileStore' not found in /usr/share/mediawikistaging/extensions/ConfirmAccount/ConfirmAccount_body.php on line 482
Comment 6 Gregor Hagedorn 2009-06-04 12:06:05 UTC
Rev 51464: Same error message as above. The users are created, but the comments are not transferred to the user page, and the user is not removed from the review queue in ConfirmAccount.
Comment 7 Aaron Schulz 2009-06-04 13:23:58 UTC
FileStore class removed recently
Comment 8 Aaron Schulz 2009-06-04 13:25:35 UTC
(In reply to comment #7)
> FileStore class removed recently
> 

Disabling $wgAllowAccountRequestFiles should work for the moment then.

CC'd tim, who removed the old class.
Comment 9 Andrew Garrett 2009-06-04 13:27:05 UTC
This is a separate bug. Please file a new report for the new bug.

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


Navigation
Links