by
KK » Thu Mar 17, 2011 2:10 am
Hi,
Even we have sporadically encountered this problem - but only on local machines running Wampserver and never on hosted stacks (hence this issue was not considered critical).
The trouble actually lies with Wampserver that seems to have a tendency of serving only partial JavaScript files that are large in size.
CKEditor uses a file named 'ckeditor.js' and this file sometimes doesn't get delivered fully to the browser thus causing JavaScript errors and the disappearance of the editor.
As a fix, instead of using a .js file we can use PHP to deliver the JavaScript code.
Could you please try out the following and let me know if this rectifies the problem?
1. Go to 'includes/ckeditor' folder within your Couch installation folder.
2. Remove the following three files from the folder - ckeditor.js, ckeditor_php4.php and ckeditor_php5.php.
3. Place the three patched files I am attaching with this post in place of the removed files (we are replacing the ckeditor.js file with a PHP file named ckeditor_v35.php).
Please let us know if this solves the issue.
Thanks
Attachments
patch.zip
- (114.63 KiB) Downloaded 999 times