Hey all,
So I'm receiving an error after trying to update my FCKeditor extension for our wiki.
Here's what we are running
mediawiki 1.0.11
PHP 5
MySQL5
FCKeditor 2.5.1
After going through the steps to update FCKeditor I get this error:
Parse error: syntax error, unexpected T_PRIVATE in E:\wamp\www\wiki\includes\EditPage.php on line 2080
Here's the section of code giving me headaches
Since my understanding of PHP is suspect at best I'd rather not mess anything up any further. So if anyone has encountered this error before, I would appreciate any pointers or links on how to resolve the issue I created.
Thank you.
So I'm receiving an error after trying to update my FCKeditor extension for our wiki.
Here's what we are running
mediawiki 1.0.11
PHP 5
MySQL5
FCKeditor 2.5.1
After going through the steps to update FCKeditor I get this error:
Parse error: syntax error, unexpected T_PRIVATE in E:\wamp\www\wiki\includes\EditPage.php on line 2080
Here's the section of code giving me headaches
private function showDeletionLog( $out ) { $title = $this->mArticle->getTitle(); $reader = new LogReader( new FauxRequest( array( 'page' => $title->getPrefixedText(), 'type' => 'delete', ) ) ); if( $reader->hasRows() ) { $out->addHtml( '<div id="mw-recreate-deleted-warn">' ); $out->addWikiText( wfMsg( 'recreate-deleted-warn' ) ); $viewer = new LogViewer( $reader ); $viewer->showList( $out ); $out->addHtml( '</div>' ); } } }
Since my understanding of PHP is suspect at best I'd rather not mess anything up any further. So if anyone has encountered this error before, I would appreciate any pointers or links on how to resolve the issue I created.
Thank you.
Re: Parse Error: syntax error, Unexpected T_Private