On Fri, Mar 12, 2010 at 11:53 AM, Jon Bartlett Jon.G.Bartlett@gsk.com wrote:
All,
As per my last note, I'm still having problems with MW 1.14 under PHP 5.3.1 or 5.3.2
Here's the error that occurs when I try to edit a page by clicking on 'edit' (pretty much everything else now works in the Wiki).
Warning: Parameter 1 to FCKeditor_MediaWiki::onCustomEditor() expected to be a reference, value given in E:\Inetpub\wwwroot\Wiki\includes\Hooks.php on line 117
With ShowExceptionDetails set to true, I get this...
Detected bug in an extension! Hook FCKeditor_MediaWiki::onCustomEditor failed to return a value; should return true to continue hook processing or false to abort.
Backtrace:
#0 E:\Inetpub\wwwroot\Wiki\includes\Wiki.php(497): wfRunHooks('CustomEditor', Array) #1 E:\Inetpub\wwwroot\Wiki\includes\Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #2 E:\Inetpub\wwwroot\Wiki\index.php(114): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) #3 {main}
Any ideas on how to fix it - The fckeditor extension I have is the exact same as runs under MW 1.14; PHP 5.1 - but I can't seem to find a fckeditor extension that will work under PHP 5.3.. Jon
Product Version MediaWiki 1.14.0 PHP 5.3.2 (cgi-fcgi) or 5.3.1 MySQL 5.1.43-community
This e-mail was sent by GlaxoSmithKline Services Unlimited (registered in England and Wales No. 1047315), which is a member of the GlaxoSmithKline group of companies. The registered address of GlaxoSmithKline Services Unlimited is 980 Great West Road, Brentford, Middlesex TW8 9GS.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
PHP 5.3.1 is inherently broken with regards to reference/value parameters[1], and MediaWiki breaks[2] in a lot of different ways as a result. You need to upgrade to 5.3.2 (just released) or move back to 5.3.0.
The bug in FCKEditor sounds like you might be using an outdated version. I know the "reference expected/value given" and "failed to return a value" errors have been fixed in the 1.16 branch.
-Chad
[1] http://bugs.php.net/bug.php?id=50394 [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=21793