开发者

FCKeditor extension in mediaWiki is Throwing Error

开发者 https://www.devze.com 2022-12-30 02:05 出处:网络
I\'m trying to add FCKeditor extension in mediaWiki and I followed all the instructions that are written in their documentation

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开发者_Go百科 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


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)


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号