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).

CommentFileSizeAuthor
#2 Screenshot.jpg21.05 KBraj47i

Comments

dimon00’s picture

I'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).

raj47i’s picture

StatusFileSize
new21.05 KB

I am also getting it.

mjgruta’s picture

Same here.. I'm using CKEditor 7.x-1.0

solanadesign’s picture

subscribe

nemezya’s picture

Same 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).

dczepierga’s picture

Status: Active » Needs review

I 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

kueblert’s picture

ok now but what can we do to fix it? Waht did u Change?

dczepierga’s picture

Download last DEV version of CKEditor module, and copy all files to the module directory - replace all files.

Greetings

glavind’s picture

Thanks, it worked :)

dczepierga’s picture

Status: Needs review » Fixed
Issue tags: +D7, +#d7ux, +ckeditor-7.x

Ok, so I change status to fixed.

Greetings

dczepierga’s picture

Assigned: jviitamaki » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

carajito’s picture

Status: Closed (fixed) » Active

But is not safe for production sites?

dczepierga’s picture

Status: Active » Closed (fixed)

@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