Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/wiki/extensions/FCKeditor.php on line 187
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/wiki/extensions/FCKeditor.php on line 187
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/wiki/extensions/FCKeditor.php on line 187
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/wiki/extensions/FCKeditor.php on line 187
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/wiki/extensions/FCKeditor.php on line 209
Fatal error: Call to undefined method Parser::stripToc() in /var/www/wiki/extensions/FCKeditor.php on line 274
I installed mediawiki-1.13.2 & FCKeditor_2.6.3.tar.gz. When I go to my wiki, I get the error: Fatal error: Call to undefined method Parser::stripToc() in .../extensions/FCKeditor.php on line 274. I saw that there is a solution that uses svn, I dont have it. Is there any other way to solve the problem? Shlomit.
I just upgraded from Mediawiki 1.6.8 to 1.14. This extension worked fine in 1.6.8, but when I tried to use it in version 1.14 I ran into problems where I'd get the following error:
"Fatal error: Call to undefined method Parser::stripToc() in /wiki/extensions/FCKeditor.php on line 274"
I did some searching and the old stripToc() function seems to have been changed to the doDoubleUnderscore() function in the newer versions of Mediawiki.
So I changed the line:
$fcktext = $q->stripToc( $fcktext );
to:
$fcktext = $q->doDoubleUnderscore( $fcktext );
That seems to have resolved my problems, and the FCK editor appears to be working normally in Mediawiki 1.14. I wanted to post something here to let people know.
Re: How to install as a mediawiki extension?
www.cpcwiki.com
Re: How to install as a mediawiki extension?
Re: How to install as a mediawiki extension?
http://www.mediawiki.org/wiki/Extension ... by_Mafs%29
http://localhost/wiki/FCKeditor/_samples/default.html
Re: How to install as a mediawiki extension?
http://www.mwusers.com/forums/showthrea ... #post28349
Re: How to install as a mediawiki extension?
Re: How to install as a mediawiki extension?
http://www.mediawiki.org/wiki/Extension ... _and_Wikia
Re: How to install as a mediawiki extension?
Cheers - hadn't found this anywhere!
Re: How to install as a mediawiki extension?
cd extensions/ svn checkout http://svn.fckeditor.net/MediaWiki/trunk FCKeditor find . -name .svn -print | xargs rm -rf {} cd FCKeditor/ rm -fr fckeditor/Re: How to install as a mediawiki extension?
Re: How to install as a mediawiki extension?
Re: How to integrate fckEditor with mediawiki?
Re: How to install as a mediawiki extension?
I installed mediawiki-1.13.2 & FCKeditor_2.6.3.tar.gz.
When I go to my wiki, I get the error:
Fatal error: Call to undefined method Parser::stripToc() in .../extensions/FCKeditor.php on line 274.
I saw that there is a solution that uses svn, I dont have it. Is there any other way to solve the problem?
Shlomit.
Re: How to install as a mediawiki extension?
"Fatal error: Call to undefined method Parser::stripToc() in /wiki/extensions/FCKeditor.php on line 274"
I did some searching and the old stripToc() function seems to have been changed to the doDoubleUnderscore() function in the newer versions of Mediawiki.
So I changed the line:
to:
That seems to have resolved my problems, and the FCK editor appears to be working normally in Mediawiki 1.14. I wanted to post something here to let people know.