Drupal FCKeditor Errors
Another turn with helping a friend with Drupal.
This time an install of the FCKeditor module. All seemed to go well until creating a page brought up the error – Toolbar set “DrupalFiltered” doesn’t exist’.
Initially I went to work looking for errors in the FCKeditor module / or FCKeditor itself but luckly checked the php error log and found two errors
PHP Parse error: syntax error, unexpected '.' in /.../sites/all/modules/fckeditor/fckeditor.config.js on line 107
PHP Parse error: syntax error, unexpected T_STRING in /.../sites/all/modules/fckeditor/fckeditor/fckstyles.xml on line 1
I then realized the server I was working with was using PHP to parse xml and javascript files..
Line 107 of fkceditor.config.js contained a javascript comment that had php tags in it (I removed), while the xml file of course opened with which I replaced with ‘;?>
Had I known that the server did not need php to handle these extensions I might have altered apache to not handle xml or js with php but wasn’t my decision to make so making these tweeks allowed fckeditor to run properly (Until someone else updates them