Posted by N2H on May 20, 2009 at 10:49am
I am getting the following warning :
warning: file_get_contents(sites/default/files/languages/ar_bb3f64e1d3c493008e8d5eee5511c741.js) [function.file-get-contents]: failed to open stream: No such file or directory in /homepages/10/d253484499/htdocs/drupalarabe/includes/common.inc on line 2359.
Any ideas?
Comments
I was getting the same error
I was getting the same error occasionally on a multi-lingual site as well, though not consistently. However, when i disable the "Optimize JavaScript files" option under admin/settings/performance, the problem appears to go away, at least on my site. Turning that off isn't ideal, but might give you a workaround.
Perhaps there's a conflict with the javascript caching/compression system and the language modules. The i18n module says it doesn't work with aggressive mode caching, but i had page caching set to "normal" or even disabled and was still seeing the problem until i turned off the javascript optimization.
it has corrected all alone
thank you for your response, it has corrected all alone
issue
this is a bug in progress #338630: Locale is unable to rebuild lost Javascript translation files
but you can solve it without applying any patch
just install the module attached to 338630#comment-2035162
then visit
admin/settings/language#js-translationsand submit the button over there
This bug has been fixed in
This bug has been fixed in D6, so next version of D6 coming up will have this already solved, just so you know.
git documentation | How to make & apply a patch | Adding a commit author
committed to D6
yes, fixed is what green color means
but thanks for making clear that it got committed to D6 already [#338630-137]
Solution
Hi,
I'm using D6.15, and after removing a module I received the error (warning: file_get_contents(sites...... blablabla. Searching google I found someone who has made a module for rebuilding the js languagefiles, and it worked perfectly for me.
http://blog.psicomante.net/node/221
Mike.
HI
Hello Loai I`m Ayham
I have faced sane issue here
http://drupal.org/node/726638
I have solve the problem in my site
Please open a new discussion in drupalarabic.com to speak there
=======================
www.eleganza.biz
www.ayham.alsuleman.info