Hi,

since my update to 6.6 I am getting a 404 error while referring to my German language.js file. I am using a private filesystem, so I placed the Drupal system in a seperate folder while the files and temp folders are in a parallel folder. When I now set the files path to ../files (as I did it before the 6.6 update) I am getting errors accessing the language file. As it is a windows server I tested an absolute path C:\\... but if I look in the source of my website it generates /C:\\... which seems to cause the 404 error. On another server - a linux-server - the absolute path worked, but the first / matches the overall linux path structure whereas the /C:\\... on windows is very strange.

Is there any way to solve this issue? There is no missing functionality but the many 404 errors are very confusing.

Comments

gábor hojtsy’s picture

Status: Active » Closed (duplicate)
wildebeest’s picture

I encountered the same problem with a customized file-folder location (root) - not the default location - public method and a multilanguage setup (prefix with fallback) with two languages where german is the default language.

Via Firebug I saw the following:
GET domain.tld/files/languages/de_2ef98cead67cb6a0646735169b7d3895.js?S= 301 moved permanently
and
GET domain.tld/de/files/languages/de_2ef98cead67cb6a0646735169b7d3895.js?S= 404 not found

While the first line gives a header "301 moved permanently", the second ends up with "404 not found".
404 should be caused by the wrong file-location with language prefix in path while file-folder resides in root.

Any suggestions?
P.S. D6.10 with pathauto, clean-urls and global redirect

wildebeest’s picture

Yes. I finally got it.

When I decided to use a new file-folder location (settings > filesystem filesystem-path),
I simply forgot to move the subfolder "files/languages" to the new location.