Last modified: 2006-08-31 16:59:47 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 T8953, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6953 - "Login required to read" occures fatal error
"Login required to read" occures fatal error
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.8.x
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-09 04:56 UTC by Tietew
Modified: 2006-08-31 16:59 UTC (History)
0 users

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


Attachments
patch (620 bytes, patch)
2006-08-09 04:57 UTC, Tietew
Details

Description Tietew 2006-08-09 04:56:26 UTC
$wgGroupPermissions['*'] = array();
$wgWhitelistRead = array( 'Special:Userlogin' );

under above settings, viewing unpermitted page occures following error:

Fatal error: Call to a member function getLatest() on a non-object in
/export/www/mediawiki/phase3/includes/SkinTemplate.php on line 817

excepted:

You have to login to read pages.
Comment 1 Tietew 2006-08-09 04:57:14 UTC
Created attachment 2207 [details]
patch
Comment 2 Brion Vibber 2006-08-31 16:55:20 UTC
This seems to work ok as of r16305.
Comment 3 Rotem Liss 2006-08-31 16:59:47 UTC
It was fixed in r16130.

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


Navigation
Links