mediaWiki 中的 FCKeditor 扩展抛出错误

发布于 2024-09-01 11:08:30 字数 586 浏览 4 评论 0原文

我正在尝试在 mediaWiki 中添加 FCKeditor 扩展,并且遵循了其文档中写入的所有说明 http://www.mediawiki.org/wiki/Extension:FCKeditor_(官方)< /a>

但它引发了我这个错误。


严格标准:FCKeditorParser::makeImage()的声明应与C:\www\wiki\extensions\FCKeditor\FCKeditorParser.body.php中的FCKeditorParserWrapper::makeImage()的声明兼容上线707

严格标准:FCKeditorParser::parse()的声明应与C:\www\wiki\extensions\FCKeditor\FCKeditorParser.body.php中的FCKeditorParserWrapper::parse()的声明兼容上线707

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

茶底世界 2024-09-08 11:08:31

我在 FCKeditorParser.body.php 第 338 行进行了以下更改

: function makeImage ($nt, $options ,$holders=false)

第 488 行: function parse ($text, Headlined $title、ParserOptions $options、$linestart = true、$clearState = true、$revid = 0)

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)

生生漫 2024-09-08 11:08:31

看来您的 PHP 正在严格模式下运行。最新版本的 FCK Editor 似乎在严格的 PHP 方面存在问题。请参阅此处FCK 编辑器扩展对话

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.

神仙妹妹 2024-09-08 11:08:31

您应该仔细检查 LocalSettings.php 中的所有路径变量,尤其是 $IP

在扩展本身中,您应该验证 $wgFCKEditorExtDir 和 $wgFCKEditorDir 设置正确。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文