Using PHP version.
I already had fckeditor installed on my server and running fine. But I redesigned my website (just the look) and using the same code as before only now the editor does not show up and I am getting this javascript error message:
Line: 91 Char: 292 Error: 'undefined' is null or not an object Code: 0 URL: http://www.mysite.com/fckeditor/editor/fckeditor.html? InstanceName=content&ToolbarNew
I have this on my web page:
<?php $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor = new FCKeditor('content') ; $oFCKeditor->ToolbarSet = 'MyToolbarNew' ; $oFCKeditor->Height = '400' ; $oFCKeditor->Value = $content ; $oFCKeditor->Create() ; ?>
And this on top of my page above the html:
include('fckeditor/fckeditor.php');
This is the toolbar I created in the fckconfig.js file (no comma after last row. I also cleared my browser's cache.):
FCKConfig.ToolbarSets["MyToolbarNew"] = [ ['Cut','Copy'], ['Undo','Redo','-','Bold','Italic','Underline'], '/', ['OrderedList','UnorderedList','-','Outdent','Indent'], ['Link','Unlink','-','SpellCheck'] ] ;
Any ideas as to what could be the problem?
Re: Getting Javascript Error