It seems that locale module conflicts somehow with ckeditor and I get this error once in a while even if there isn's any text fields in current page. Altough ckeditor works correctly, this error is irritating and makes the module almost no good for production site.
Warning: file_get_contents(/drupal7/sites/all/libraries/ckeditor/ckeditor.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of /var/www/userhome/glogi/sites/glogi1.kapsi.fi/www/drupal7/includes/locale.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot.jpg | 21.05 KB | raj47i |
Comments
Comment #1
dimon00 commentedI'm getting the same error:
Warning: file_get_contents(/drupal7/sites/all/modules/ckeditor/ckeditor/ckeditor.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of /var/www/drupal7/includes/locale.inc).
Comment #2
raj47i commentedI am also getting it.
Comment #3
mjgruta commentedSame here.. I'm using CKEditor 7.x-1.0
Comment #4
solanadesign commentedsubscribe
Comment #5
nemezya commentedSame issue but with a multi sites configuration.
The file_get_contents path parameter doesn't exist as the function is searching it in a site directory.
Warning: file_get_contents(/testsite1.com/sites/all/libraries/ckeditor/ckeditor.js) [function.file-get-contents]: failed to open stream: No such file or directory in _locale_parse_js_file() (line 1303 of D:\Drupal Multi\www\includes\locale.inc).
Comment #6
dczepierga commentedI fix it and commit changes to CVS.
I change options in Global Profile, so now in "Path to CKEditor" field we have flags "%m" and "%l" - remove flag "%b" (it's not needed in D7 because it's added automaticly by core). Now everything seems to work.
Pls check the last DEV version and write does it help or not.
Greetings
Comment #7
kueblert commentedok now but what can we do to fix it? Waht did u Change?
Comment #8
dczepierga commentedDownload last DEV version of CKEditor module, and copy all files to the module directory - replace all files.
Greetings
Comment #9
glavind commentedThanks, it worked :)
Comment #10
dczepierga commentedOk, so I change status to fixed.
Greetings
Comment #11
dczepierga commentedComment #13
carajito commentedBut is not safe for production sites?
Comment #14
dczepierga commented@carajito, pls not open issue older than 1 year... If u have problem with sth pls open new issue and write exactly which version of CKEditor module do u use and write how to reproduce your problem.
Greetings