I upgraded from 6.3 to 6.4. Deleted and wrote over the files in maint. mode, alse the files in icludes and misc folder.
Now i get an almost constant error

warning: file_get_contents(files/languages/et_4d28e958134c1c74fdb500cdcbbc350a.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/credopr/public_html/includes/common.inc on line 2255.

Comments

ericclaeren’s picture

Hi,

I have got the same problem and error, removed the line from the db, but still getting validation errors on my site, especialy on the performance page.

kecinzer’s picture

I have same problem.

kecinzer’s picture

Can someone provide solution?
This error is very painful - watchdog is full of this messages.

SaxxIng’s picture

Same problem to me too. But only on the testing server. On live server instead all works fine (fortunately).

kecinzer’s picture

Any solution for this?

rightchoice2c_me’s picture

upgrading drupal is almost similar like upgrading drupal modules.
Ypu may get some help here.
http://drupal.org/node/276425

kecinzer’s picture

Oh, but I have this problem on fresh Drupal 6.4 installation. This was not upgrade. I have only same error.

okokokok’s picture

Version: 6.4 » 6.8

It's actually still happening in 6.8. A quick solution is to turn of JavaScript optimalization in admin/settings/performance

I'm getting

warning: file_get_contents(sites/.../files/languages/nl_58fbdd0fed8e70fa29177f14e704a62e.js) [function.file-get-contents]: failed to open stream: No such file or directory in .../drupal-6.8/includes/common.inc on line 2355.
hannesh’s picture

Oh, oh...,I forgot about it.
I solved it by giving the folder that this file is in (or could have been also the files foulder) 777 rights (or could have been the file, and/or even 755 rights) i think.

Damien Tournoud’s picture

Status: Active » Fixed

Those are apparently permission issues. Marking as fixed, fell free to reopen if you can't solve the issue with information given here.

SimonVlc’s picture

Same problem here with D6.8.

sfranchi’s picture

Status: Fixed » Active

This issue is not a permissions problem, look at http://drupal.org/node/297990#comment-1080360, I've 777 in that folder, and the problem still happens in a 6.8 setup.

okokokok’s picture

The languages table could be related, I found that UPDATE languages SET javascript = "" has helped whenever it occurs, I'm using a language domain setup.

syturvy’s picture

Version: 6.8 » 6.15

Has this been solved? I am having this problem on Drupal 6.15.

warning: file_get_contents(files/languages/es_0f391c783e82996d657f41e9272dfc62.js) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/html/includes/common.inc on line 2402.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.