Last modified: 2010-01-19 15:47:53 UTC
Created attachment 6969 [details] screenshot of mediawiki interface Impossible to access to any page. I read the following messages : In the header of the page : Warning: Parameter 2 to efContributorsAddonSetup() expected to be a reference, value given in /var/www/wiki/includes/Hooks.php on line 133 In the page : Detected bug in an extension! Hook efContributorsAddonSetup failed to return a value; should return true to continue hook processing or false to abort. Backtrace: #0 /var/www/wiki/includes/OutputPage.php(632): wfRunHooks('OutputPageParse...', Array) #1 /var/www/wiki/includes/OutputPage.php(640): OutputPage->addParserOutputNoText(Object(ParserOutput)) #2 /var/www/wiki/includes/Article.php(3979): OutputPage->addParserOutput(Object(ParserOutput)) #3 /var/www/wiki/includes/Article.php(1321): Article->outputWikiText('<div style="fon...', false, Object(ParserOptions)) #4 [internal function]: Article->doViewParse() #5 /var/www/wiki/includes/PoolCounter.php(59): call_user_func(Array) #6 /var/www/wiki/includes/Article.php(908): PoolCounter_Stub->executeProtected(Array, false) #7 /var/www/wiki/includes/Wiki.php(493): Article->view() #8 /var/www/wiki/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #9 /var/www/wiki/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) #10 {main}
The version of mediawiki is : r61244.
Also, what extensions have you got installed?
This is probably for http://www.mediawiki.org/wiki/Extension:ContributorsAddon as that is the extension with efContributorsAddonSetup() in it.
Adding User:Tim Laqua as a CC Though, it would look like the plugin is possibly out of date. Last rev was r32289
Curious. Can you confirm that in the copy you have installed, in the function efContributorsAddonSetup() in ContributorsAddon.php, the last line is 'return true;'. If not, what is the last bit, and does adding the return portion fix things? If it does exist and is still failing, I'm curious as to how this relates to bug 21907. Maybe it's the 5.3.1 reference bug showing up?
Fixed the warning about reference/value in r61246. This has been broken since the extension was written in r25146, $parseroutput was never passed by reference, since it was introduced in r16211. This may (or may not) fix your issue with the exception being thrown. If it does, this was the underlying cause of that :)
And if it does, please tell us ;)
Php version 5.3.2 RC1 is compatible with mediawiki. Test successfull.