Opened 12 years ago

Closed 12 years ago

#1454 closed Bug (fixed)

Latest update gives Fatal Error (FCKeditor::$nsToggles)

Reported by: kasper Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version:
Keywords: Cc:

Description

I have been running FCKeditor (rev. 1037) without any problems (aside form the knwon and reported bugs). Lately, I did a update and received version 2.5 (rev. 1043) and all of a sudden got: (after changing preferences)

Fatal error: Access to undeclared static property: FCKeditor::$nsToggles in /var/www/dev/wiki-test/includes/SpecialPreferences.php on line 925

The last change to SpecialPreferences.php was after installing FCKeditor and applied this bit of code:

921	                # FCKeditor 
922	                # load FCKeditor settings into separate tab 
923	                if (!$wgUser->getOption( 'riched_disable' )) { 
924	                  $wgOut->addHTML( '<fieldset><legend>' . wfMsg( 'textrichditor' ) . '</legend>' .                                               
925	                         $this->getToggles( FCKeditor::$nsToggles ) . '</fieldset>' 
926	                  ); 
927	                }  

This was to add a seperate tab in 'my preferences'.

Change History (2)

comment:1 Changed 12 years ago by barns

In SpecialPreferences.php, replace

FCKeditor::$nsToggles

by

FCKeditor_Mediawiki::$nsToggles

comment:2 Changed 12 years ago by Wiktor Walc

Resolution: fixed
Status: newclosed

Fixed with [1045] + I have changed description in "FCKeditor integration guide".

Thanks!

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy