In my Drupal 6.x installation (upgraded over the times from 6.2 I think) I am seeing every page header contain the following:

<script type="text/javascript" src="//home/xxxx/attachments/languages/fi_cab206f6ae26e5fb9423bfa58359a5fd.js?A"></script>

The path /home/xxxx/attachments is in fact the system files directory where Drupal is serving attachments. I moved Drupal to secure attachment transfer mid-development, which may or may not caused the confusion.

The site is localised to Finnish, and I suspect that there may something language related going on. The error does not seem to have any functional effects though, only the browser (Safari mostly) complains about the error.

Any tips how to tell Drupal to stop looking here and to look elsewhere, if it has to look for anything at all, are greatly appreciated.

Thanks!

Comments

-Anti-’s picture

Sorry, I can't help you with a solution.
Just to say that I also have a similar file:

/files/languages/es_7181b32769cef47c0c257028330137a9.js

and when switched to Spanish, I see in the source:

<script type="text/javascript"
src="/sites/default/files/languages/es_7181b32769cef47c0c257028330137a9.js?P">
</script>

It seems to be something to do with clean urls, and I noticed it whilst I had D6.4 installed.
I don't get errors in Firefox or IE7, but haven't tested in any other browsers.
To me it looks as though the translators have had to implement it as a patch for a core bug.

Unless it's a typing error, this looks wrong:
> src="//home/

It looks like something is putting an extra slash on the beginning of your path.

Mehumaija’s picture

This is not a typing error, but the extra slash is not the main problem - the file is not found as this is interpreted as a HTTP path, but naturally the /home/... is a filesystem path not visible to the browser.

asak’s picture

I'm having this same problem while using Hebrew as a second language.

http://box.com/sites/box.com/files/languages/he_f38708751ce2a75b8bbfe118...

I just notices all of there Page not found error cluttering my watchdog...

tcibah’s picture

Error Message: page not found
Location: http://www.example.com/sites/default/files/languages/en_acc746ae69652b6e...
Drupal 6.9
In a Drupal multi site environment, Arabic is the second & default language. Site that generates the eror message is not the default site as shown in the error message above.

tomski’s picture

I have got English and French activated, and French as default language.

sites/default/files/languages/fr_22a8967d7be06c185eb36aaceacd774a.js

-Anti-’s picture

Since this file is obviously language related (and so either it is a
core problem or an i18n problem), I decided to post the issue in
the i18n project page to see if anyone there has an answer:

http://drupal.org/node/433270

tomski’s picture

I found the solution here : http://drupal.org/node/338630#file-test-results-338630-1185917
For 6.x you have to apply the patch in #37, it worked fine for me.

perusio’s picture

Please use the one in #109 for D6.

janhajk’s picture

Found a solution for your Problem:
http://tech.janschaer.ch/content/drupal-problem-mit-language-files-dejs
Translate with google it's in German