Last modified: 2005-11-05 08:39:10 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 T5666, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3666 - www.mediawiki.org - PHP error in SpecialPreferences
www.mediawiki.org - PHP error in SpecialPreferences
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Special...
:
: 2978 3881 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-09 17:51 UTC by Mark Clements (HappyDog)
Modified: 2005-11-05 08:39 UTC (History)
2 users (show)

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


Attachments

Description Mark Clements (HappyDog) 2005-10-09 17:51:34 UTC
I just created a user account at www.mediawiki.org, and when I went to the
preferences page, the following error was reported:

Warning:  Invalid argument supplied for foreach() in
/usr/local/apache/common-local/php-1.5/includes/SpecialPreferences.php on line 570

Apart from browsing the site, this was the first action I performed having
created my account.  I don't want to clutter the site up with a bunch of
unwanted users, so I have not tried to replicate the problem, but subsequent
visits to this page still generate the error.  Preference changes seem to be
saved OK.
Comment 1 Brion Vibber 2005-11-04 20:07:35 UTC
*** Bug 3881 has been marked as a duplicate of this bug. ***
Comment 2 Brion Vibber 2005-11-05 06:45:20 UTC
The issue is I believe triggered by an unsupported language being set for 
$wgLanguageCode. Due to the way things are set up, the site defaulted to a language 
code of "mediawiki" instead of "en". ;)

I've set it to "en", but still need to kill the bug in the code.
Comment 3 Brion Vibber 2005-11-05 07:11:42 UTC
Fixed in HEAD, rev 1.144 of SpecialPreferences.php.
Comment 4 Brion Vibber 2005-11-05 08:39:10 UTC
*** Bug 2978 has been marked as a duplicate of this bug. ***

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


Navigation
Links