Last modified: 2014-02-12 23:32:45 UTC
Running MediaWiki 1.20.2 on a shared host with Instant Commons enabled, rendering a LiquidThreads page with an image from Commons in one of the posts results in a fatal error. <div class="errorbox">[96326ab4] 2013-02-24 20:57:06: Fatal exception of type MWException</div> And with: $wgShowExceptionDetails = true; Error setting curl options. Backtrace: #0 mw/includes/filerepo/ForeignAPIRepo.php(403): CurlHttpRequest->execute() #1 mw/includes/filerepo/ForeignAPIRepo.php(164): ForeignAPIRepo::httpGet('http://commons....') #2 mw/includes/filerepo/file/ForeignAPIFile.php(61): ForeignAPIRepo->fetchImageQuery(Array) #3 [internal function]: ForeignAPIFile::newFromTitle(Object(Title), Object(ForeignAPIRepo)) #4 mw/includes/filerepo/FileRepo.php(325): call_user_func(Array, Object(Title), Object(ForeignAPIRepo)) #5 mw/includes/filerepo/ForeignAPIRepo.php(95): FileRepo->newFile(Object(Title), false) #6 mw/includes/filerepo/FileRepo.php(354): ForeignAPIRepo->newFile(Object(Title)) #7 mw/includes/filerepo/RepoGroup.php(151): FileRepo->findFile(Object(Title), Array) #8 mw/includes/GlobalFunctions.php(3472): RepoGroup->findFile(Object(Title), Array) #9 mw/includes/parser/Parser.php(3641): wfFindFile(Object(Title), Array) #10 mw/includes/parser/Parser.php(5037): Parser->fetchFileAndTitle(Object(Title), Array) #11 mw/includes/parser/Parser.php(1977): Parser->makeImage(Object(Title), '100px|rechts|li...', Object(LinkHolderArray)) #12 mw/includes/parser/Parser.php(1718): Parser->replaceInternalLinks2('?<table class="...') #13 mw/includes/parser/Parser.php(1158): Parser->replaceInternalLinks('?<table class="...') #14 mw/includes/parser/Parser.php(370): Parser->internalParse('{{Template:Welk...') #15 mw/includes/WikiPage.php(3110): Parser->parse('{{Template:Welk...', Object(Title), Object(ParserOptions), true, true, 2381) #16 mw/includes/PoolCounter.php(209): PoolWorkArticleView->doWork() #17 mw/includes/Article.php(631): PoolCounterWork->execute() #18 mw/extensions/LiquidThreads/pages/TalkpageView.php(69): Article->view() #19 mw/extensions/LiquidThreads/pages/TalkpageView.php(281): TalkpageView->showHeader() #20 mw/extensions/LiquidThreads/classes/Dispatch.php(54): TalkpageView->show() #21 mw/extensions/LiquidThreads/classes/Dispatch.php(187): LqtDispatch::talkpageMain(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #22 [internal function]: LqtDispatch::tryPage(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest), Object(MediaWiki)) #23 mw/includes/Hooks.php(216): call_user_func_array('LqtDispatch::tr...', Array) #24 mw/includes/GlobalFunctions.php(3823): Hooks::run('MediaWikiPerfor...', Array) #25 mw/includes/Wiki.php(410): wfRunHooks('MediaWikiPerfor...', Array) #26 mw/includes/Wiki.php(304): MediaWiki->performAction(Object(Article)) #27 mw/includes/Wiki.php(536): MediaWiki->performRequest() #28 mw/includes/Wiki.php(446): MediaWiki->main() #29 mw/index.php(53): MediaWiki->run() #30 {main}
Looks like it was already reported, fixed and backported to REL1_20 but not released so it is still failing on all my sites managed by DirectAdmin / Installatron auto-updater. *** This bug has been marked as a duplicate of bug 44135 ***