https://bugzilla.wikimedia.org/show_bug.cgi?id=33748

       Web browser: ---
             Bug #: 33748
           Summary: Missing files for TrustedXFF throw error on
                    labs.wikimedia.beta.wmflabs.org
           Product: Wikimedia
           Version: unspecified
          Platform: All
               URL: http://labs.wikimedia.beta.wmflabs.org/wiki/Main_Page
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Labs
        AssignedTo: rlan...@gmail.com
        ReportedBy: listenle...@gmail.com
    Classification: Unclassified


On http://labs.wikimedia.beta.wmflabs.org/wiki/Main_Page I get

MediaWiki internal error.

Original exception: exception 'MWException' with message 'TrustedXFF: hosts
file missing. You need to download it.' in
/usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php:55
Stack trace:
#0 /usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php(66):
TrustedXFF->getCdbHandle()
#1 /usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php(39):
TrustedXFF->isTrusted('132.230.1.31')
#2 [internal function]: TrustedXFF::onIsTrustedProxy('132.230.1.31', false)
#3 /usr/local/apache/common/live/includes/Hooks.php(216):
call_user_func_array('TrustedXFF::onI...', Array)
#4 /usr/local/apache/common/live/includes/GlobalFunctions.php(3760):
Hooks::run('IsTrustedProxy', Array)
#5 /usr/local/apache/common/live/includes/ProxyTools.php(60):
wfRunHooks('IsTrustedProxy', Array)
#6 /usr/local/apache/common/live/includes/WebRequest.php(1048):
wfIsTrustedProxy('132.230.1.31')
#7 /usr/local/apache/common/live/includes/User.php(1702): WebRequest->getIP()
#8 /usr/local/apache/common/live/includes/Title.php(1748): User->getName()
#9 /usr/local/apache/common/live/includes/Title.php(2110):
Title->checkCSSandJSPermissions('edit', Object(User), Array, false, true)
#10 /usr/local/apache/common/live/includes/Title.php(1553):
Title->getUserPermissionsErrorsInternal('edit', Object(User), false, true)
#11 /usr/local/apache/common/live/includes/Title.php(1535):
Title->userCan('edit', NULL, false)
#12 /usr/local/apache/common/live/includes/Article.php(452):
Title->quickUserCan('edit')
#13 /usr/local/apache/common/live/includes/Wiki.php(523): Article->view()
#14 /usr/local/apache/common/live/includes/Wiki.php(282):
MediaWiki->performAction(Object(Article))
#15 /usr/local/apache/common/live/includes/Wiki.php(661):
MediaWiki->performRequest()
#16 /usr/local/apache/common/live/includes/Wiki.php(581): MediaWiki->main()
#17 /usr/local/apache/common/live/index.php(58): MediaWiki->run()
#18 {main}

Exception caught inside exception handler: exception 'MWException' with message
'TrustedXFF: hosts file missing. You need to download it.' in
/usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php:55
Stack trace:
#0 /usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php(66):
TrustedXFF->getCdbHandle()
#1 /usr/local/apache/common/live/extensions/TrustedXFF/TrustedXFF.php(39):
TrustedXFF->isTrusted('132.230.1.31')
#2 [internal function]: TrustedXFF::onIsTrustedProxy('132.230.1.31', false)
#3 /usr/local/apache/common/live/includes/Hooks.php(216):
call_user_func_array('TrustedXFF::onI...', Array)
#4 /usr/local/apache/common/live/includes/GlobalFunctions.php(3760):
Hooks::run('IsTrustedProxy', Array)
#5 /usr/local/apache/common/live/includes/ProxyTools.php(60):
wfRunHooks('IsTrustedProxy', Array)
#6 /usr/local/apache/common/live/includes/WebRequest.php(1048):
wfIsTrustedProxy('132.230.1.31')
#7 /usr/local/apache/common/live/includes/User.php(1702): WebRequest->getIP()
#8 /usr/local/apache/common/live/includes/User.php(3073): User->getName()
#9 /usr/local/apache/common/live/includes/Skin.php(198): User->getUserPage()
#10 /usr/local/apache/common/live/includes/Skin.php(186):
Skin->preloadExistence()
#11 /usr/local/apache/common/live/skins/Vector.php(31):
Skin->initPage(Object(OutputPage))
#12 /usr/local/apache/common/live/includes/SkinTemplate.php(161):
SkinVector->initPage(Object(OutputPage))
#13 /usr/local/apache/common/live/includes/OutputPage.php(1984):
SkinTemplate->outputPage()
#14 /usr/local/apache/common/live/includes/Exception.php(182):
OutputPage->output()
#15 /usr/local/apache/common/live/includes/Exception.php(209):
MWException->reportHTML()
#16 /usr/local/apache/common/live/includes/Exception.php(459):
MWException->report()
#17 /usr/local/apache/common/live/includes/Exception.php(538):
MWExceptionHandler::report(Object(MWException))
#18 /usr/local/apache/common/live/includes/Wiki.php(584):
MWExceptionHandler::handle(Object(MWException))
#19 /usr/local/apache/common/live/index.php(58): MediaWiki->run()
#20 {main}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to