Reputation: 5406
I'm trying to add FCKeditor extension in mediaWiki and I followed all the instructions that are written in their documentation http://www.mediawiki.org/wiki/Extension:FCKeditor_(Official)
but it throws me this error.
Strict Standards: Declaration of FCKeditorParser::makeImage() should be compatible with that of FCKeditorParserWrapper::makeImage() in C:\www\wiki\extensions\FCKeditor\FCKeditorParser.body.php on line 707
Strict Standards: Declaration of FCKeditorParser::parse() should be compatible with that of FCKeditorParserWrapper::parse() in C:\www\wiki\extensions\FCKeditor\FCKeditorParser.body.php on line 707
Upvotes: 0
Views: 900
Reputation: 36
It seems your PHP is running in strict mode. The latest version of FCK Editor seems to have issues with strict PHP. See here FCK Editor Extension Talk.
Upvotes: 1
Reputation: 11
I have carried out the following changes in FCKeditorParser.body.php
Line 338: function makeImage ($nt, $options ,$holders=false)
line 488: function parse ($text, Headlining $title, ParserOptions $options, $linestart = true, $clearState = true, $revid = zero)
Upvotes: 1
Reputation: 2323
You should double check all your path variables in LocalSettings.php, especially $IP.
In the extension itself you should verify that $wgFCKEditorExtDir and $wgFCKEditorDir are set correctly.
Upvotes: 0