By quixxel on
Hi,
after uploading of my site from localhost to a hosted server, I got the following warnings:
* warning: file_get_contents(languages/de_416f5514f724f5469666dec88a275323.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/www/doc/16750/...../includes/common.inc on line 2359.
* warning: file_get_contents(languages/de_416f5514f724f5469666dec88a275323.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/www/doc/16750/...../includes/common.inc on line 2359.
Any idea, what to do?
Comments
CHMOD?
Drupal is looking for a javascript file (languages/de_416f5514f724f5469666dec88a275323.js) but it isn't there. This file should contain translated strings for javascript functions and it's automatically generated by Drupal. My guess is that Drupal cannot write the file to your languages folder. Try to CHMOD 'languages' to 777 and see if that solves the problem.
Thanx !
777 works.
No warning again.
Too early been pleased.
Apparently I've been pleased too early.
The same warning is coming again on users site
(not only on admin-site).
Any new ideas to solve that problem???
No new ideas, sorry. Can you
No new ideas, sorry. Can you check if the js file is being written? You may want to check error logs in drupal and on your web server, and make sure that errors are written to the screen.
The content of that js file
is:
Interesting; so the file is
Interesting; so the file is there, but it looks as if php thinks it's not. I really have no clue why that is happening. You can try setting the drupal base path in settings.php, but I doubt if that will solve the problem.
I setted the base path in
I setted the base path in settings.php.
But your assumption was correct: that did'nt solve the problem.
The same warning comes again.
same problem here
same problem here
ReAliTy iS JuST a DrEAm. HaCk ThE PLaNet!
clear cache maybe?
clear cache maybe?
Cache clearing isn't solving this problem.
Thanx for your response.
But unfortunately cache clearing isn't solving this problem.
try turn all the performance
try turn all the performance off. (admin->performance)
if that remove the warming, u may turn the performance on later as u like.
I did that and got the
I did that and got the following effect:
if I turn off the js-compression, the warning in the log-reports changes from a PHP-error to a »page-not-found«-warning.
And if I turn on the js-compression again, the warning comes like before.
The problem isn't solved.
I think i have the same
I think i have the same problem, the difference is that in my case the file is didn't exist.
and it is not the permisions! i'm sure, but still don't know the cure
Hope it will be usefull: 1
Hope it will be usefull:
1 manualy create file will force drupal no to put warning
2 in my case manualy translated strings in the interface doesn't apply and in the update notification e-mail there present a text:
updates here
http:///admin/reports/updates
My problem was solved by a
My problem was solved by a clean install and moving content from the old base
Other solution
I had the same problem, but instead of reinstalling everything, I've just removed my language and re-enabled it and the problem was solved.
I think, node #297990 describes a similar question
Please have look at that discussion:
http://drupal.org/node/297990
But my english-knowledges are not good enough to understand all comments in that issue-queue.
Now my questions:
1. did I understood correctly that there is only a solution for Drupal 7?
2. are the solutions in #9 or/and #10 working for Drupal 6 or not?
Please help...
If you have questions about
If you have questions about that issue, ask them there.
module locale_rebuild_js
The module in
http://drupal.org/node/338630#comment-1185575
did help me.
Thanx !!!