Topic on Project:Support desk

Fatal exception of type MWException (details of exception beneath)

3
Summary by Ciencia Al Poder
Wesalius (talkcontribs)

Ive setup a new thirdparty wiki at http://trabagr.cz (MediaWiki: 1.22.7 PHP: 5.3.28). Yesterday I installed one extension - WikiEditor and allowed userscripts through $wgAllowUserJs and allowed commons through $wgUseInstantCommons. I started getting Fatal exception of type MWException at various pages containing templates, for ex. here or here. I allowed the $wgShowExceptionDetails and now it gives:

[fe283430] /wiki/index.php/U%C5%BEivatel:Zef/p%C3%ADskovi%C5%A1t%C4%9B Exception from line 778 of /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/HttpFunctions.php: Error setting curl options.

Backtrace:

#0 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(479): CurlHttpRequest->execute()
#1 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(508): ForeignAPIRepo::httpGet(string)
#2 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(183): ForeignAPIRepo->httpGetCached(string, array)
#3 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/file/ForeignAPIFile.php(61): ForeignAPIRepo->fetchImageQuery(array)
#4 [internal function]: ForeignAPIFile::newFromTitle(Title, ForeignAPIRepo)
#5 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/FileRepo.php(333): call_user_func(array, Title, ForeignAPIRepo)
#6 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/ForeignAPIRepo.php(103): FileRepo->newFile(Title, boolean)
#7 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/FileRepo.php(362): ForeignAPIRepo->newFile(Title)
#8 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/filerepo/RepoGroup.php(151): FileRepo->findFile(Title, array)
#9 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/GlobalFunctions.php(3534): RepoGroup->findFile(Title, array)
#10 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(3868): wfFindFile(Title, array)
#11 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(3833): Parser->fetchFileNoRegister(Title, array)
#12 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(5324): Parser->fetchFileAndTitle(Title, array)
#13 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(2087): Parser->makeImage(Title, string, LinkHolderArray)
#14 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(1825): Parser->replaceInternalLinks2(string)
#15 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(1230): Parser->replaceInternalLinks(string)
#16 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/parser/Parser.php(395): Parser->internalParse(string)
#17 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/content/WikitextContent.php(300): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#18 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/WikiPage.php(3552): WikitextContent->getParserOutput(Title, integer, ParserOptions)
#19 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/PoolCounter.php(222): PoolWorkArticleView->doWork()
#20 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Article.php(708): PoolCounterWork->execute()
#21 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/actions/ViewAction.php(44): Article->view()
#22 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(448): ViewAction->show()
#23 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(312): MediaWiki->performAction(Article, Title)
#24 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(602): MediaWiki->performRequest()
#25 /data/www/www_trabagr_cz/trabagr_cz/wiki/includes/Wiki.php(467): MediaWiki->main()
#26 /data/www/www_trabagr_cz/trabagr_cz/wiki/index.php(49): MediaWiki->run()
#27 {main}

I have no idea how to deal with "Error setting curl options". Any help would be appreciated!!

Wesalius (talkcontribs)

The message dissapears with commenting out $wgUseInstantCommons. I am filing a bug on bugzilla on this.

121.130.23.215 (talkcontribs)

I experienced the same bug. By Wesalius' way, it solved

Reply to "Fatal exception of type MWException (details of exception beneath)"