Using FCKeditor 2.6.4 with Media wiki 1.15.3
Hi I'm trying to use FCKeditor 2.6.4 with Mediawiki 1.15.3. After I copy the fckeditor folder to externsion, and add the requireonce code andajax thing to loaclsettings.php, when I run the site, I get the following
Strict Standards: Declaration of FCKeditorParser::makeImage() should be compatible with that of FCKeditorParserWrapper::makeImage() in C:\public_html\pedia\extensions\FCKeditor\FCKeditorParser.body.php on line 707
Strict Standards: Declaration of FCKeditorParser::parse() should be compatible with that of FCKeditorParserWrapper::parse() in C:\public_html\pedia\extensions\FCKeditor\FCKeditorParser.body.php on line 707
and the rest of the wiki site is displayed below it. Then when I try edit something, I get the following message
Internal error
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 C:\public_html\pedia\includes\Wiki.php(502): wfRunHooks('CustomEditor', Array)
#1 C:\public_html\pedia\includes\Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#2 C:\public_html\pedia\index.php(116): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#3 {main}
Change History (5)
Component: |
General →
Project : MediaWiki+FCKeditor
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
Hello, I've been getting these PHP Strict errors too with PHP 5.3.x and current FCKeditor from SVN.
I'm surprised that these showstopper bugs are still around, people have been reporting them since last year but no fixes have been published back into trunk here. The reason for this is that the project has forked, and there is currently confusion about where to get and install this extension from. I've opened a separate ticket about this (Please see Ticket #6273).
I have managed to apply some fixes that work for me on top of SVN r5859. Mistakenly I reported this on bugzilla.mediawiki.org here due to the confusion concerning the fork.
I will try to create a patch on latest SVN and re-post here.