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
Comment #1
gábor hojtsyDuplicate of #284137: System file path is visible with multilanguage and private download method (the file URL is not generated properly).
Comment #2
wildebeest commentedI 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 permanentlyand
GET domain.tld/de/files/languages/de_2ef98cead67cb6a0646735169b7d3895.js?S= 404 not foundWhile 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
Comment #3
wildebeest commentedYes. 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.