warning: file_get_contents(sites/all/modules/ckeditor/ckeditor/ckeditor.js?) [function.file-get-contents]: failed to open stream: No such file or directory in /home/threehom/public_html/includes/locale.inc on line 1713.

Just upgraded from FCKeditor, getting this bug on CKEditor 6.x-1.6 and 6.x-1.x-dev , i'm using the latest version of the standalone CKEditor also.

It happens after you click save, it works but you get this error after ....

CommentFileSizeAuthor
#8 phpinfo.pdf1.74 MBSam666
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dczepierga’s picture

Hi,
Do u have this file in this path (ckeditor.js)?
Do u delete all settings when u're upgrading to CKEditor?

Greetings

dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)
Sam666’s picture

Yes the file is there.

Yes I did, I was using a old version of FCKeditor before I upgraded.

Sam666’s picture

Status: Postponed (maintainer needs more info) » Active
dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

Could u print phpfileinfo, save it and attach here?
I cannot reproduce this, so it could be problem with server configuration...

Which version of Drupal do u use?

Greetings

Sam666’s picture

phpfileinfo on which file excatally?

mkesicki’s picture

@Sam666 phpinfo function show you server settings. It is not related with files.

Sam666’s picture

FileSize
1.74 MB

My bad, here it is -

Oh and Drupal V6.22

Sam666’s picture

Status: Postponed (maintainer needs more info) » Active
jvieille’s picture

I have a similar problem

warning: file_get_contents(sites/all/modules/ckeditor/ckeditor/ckeditor_basic.js?I) [function.file-get-contents]: failed to open stream: No such file or directory in /home/shareontheweb/public_html/includes/locale.inc on line 1713.

the file sites/all/modules/ckeditor/ckeditor/ckeditor_basic.js exist, however, I wonder why "?I" appears at the end of the failed to find file string

This is not critical though.
The error fire in the following conditions:
- edit a page with CKeditor enabled - no issue at this point.
- go somewhere else: warning fires
- refresh or go somewhere else: warning gone.

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

@jvieille can you try use latest DEV version and write if this issue occurs in it ? I can't reproduce this with your steps.

jvieille’s picture

No problem anymore with latest dev.
I don't know if it was a temporary, fleeting bug, or if it was actually fixed by chance...

Thanks

Sam666, is the issue solved for you?

mkesicki’s picture

Status: Postponed (maintainer needs more info) » Fixed
mkesicki’s picture

Status: Fixed » Closed (fixed)
Sam666’s picture

Status: Closed (fixed) » Active

Hey Michal,

As of today - 12th nov, I tried both stable and dev releases, the problem persists :(

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

@Sam666 please try run update.php (drupal script). After this clear all drupal cache. Please also go to all CKEditor's profiles and save them. Do you have FCKeditor module enabled ?

Sam666’s picture

Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Active

I did all of that and no FCKEditor is uninstalled and deleted.

mkesicki’s picture

@Sam666 does mentioned in warning message file exists ? Can you check in Firebug (Firefox add-on) console if any error shows ? Please also check in Firebug's Net tab if all browsers are correct.

crooker-1’s picture

Version: 6.x-1.6 » 6.x-1.8

This exact same problem is happening to me as well.

I recently upgraded to CKEDITOR 6.x-1.8 and Ckeditor 3.6.2

This is the whole error message I get in the CKEDITOR configuration page:

warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.core.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/fortycrc/public_html/includes/locale.inc on line 1713.
warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.sortable.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/fortycrc/public_html/includes/locale.inc on line 1713.
warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.core.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/fortycrc/public_html/includes/common.inc on line 2467.
warning: file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.sortable.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/fortycrc/public_html/includes/common.inc on line 2467.
Enter a valid toolbar configuration.

When I hit SAVE again, it keeps giving me the error:

Enter a valid toolbar configuration.

meh.

crooker-1’s picture

There seems to be some kind of problem with the Tool bar. If I choose BASIC, it will show me the Toolbar and "ALL BUTTONS". I imagine it allows you to customize your toolbar by dragging dropping buttons to your toolbar. However, the drag/drop doesn't work.

If I choose ADVANCED or FULL, nothing changes.

Seems like this might be part of the problem.

I reverted back to CKEDITOR 3.6 with the 6.x-1.8 module and things SEEM to be working.

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

@crooker did you run update.php (drupal script) after update CKEditor module from 6x-1.6 to 6.x-1.8 ?
Clearing drupal cache is also good idea after update module.
Please try latest DEV version and check if your problem exists there.
Please also look #1349618: Validation error, lost custom toolbar & inability to select a toolbar from "Editor Appearance" and try use solutions mentioned there.
Did you have any errors in Firebug (Firefox add-on) console ?

jvieille’s picture

I still have this issue.
Though I first found nothing wrong functionally, I am just noticing that I do not have the teaser button showing up and there is no way for setting up the teaser that is void by default unless I toggle to raw text editing and set it using the Drupal core feature.
(not sure it is related as the teaser issue keeps coming back for years).
Also, the pop up windows is blank sometimes.

The same with the latest dev of today.

jvieille’s picture

Whatever toolbar I select, whenever I select or not toolbar drag&drop feature, I still get this error.
No javascript error reported.
Using the latest dev

mkesicki’s picture

@jvieille please uninstall CKEditor module and install DEV version again. Do you use CKEditor in 'popup' mode/state ?