Posted by dhatman on October 25, 2009 at 5:33pm
I get two error messages on every page when I use swedish as default language.
"Den valda filen kunde inte kopieras på grund av att ingen fil med det namnet existerar. Kontrollera att du angav ett korrekt filnamn."
"Den valda filen kunde inte kopieras på grund av att ingen fil med det namnet existerar. Kontrollera att du angav ett korrekt filnamn."
Means something like, "the chosen file could not be copied because another file with the same name exist. check if you gave the correct filename"
I cannot seem to trace this further. Any idea on what could be wrong or how to find more information about this error?
Comments
some further progress
I've been able to find the translation file with this error and it looks like this:
#: includes/file.inc:225
msgid ""
"The selected file %file could not be uploaded, because the destination %"
"directory is not properly configured."
msgstr ""
"Den valda filen %file kunde inte laddas upp på grund av att destinationen %"
"directory inte är korrekt konfigurerad."
It seems that this error message only happens on an IIS machine. Any idea on how to trace what operation is causing this error message, so that I can modify it to function correctly?
I believe it is the file_exists() function that does not operate from from / directory.
Help anyone?
I have the same problem
Running IIS7. Did you solve it dhatman?
http://www.luxuryspa.se/blogg/
The problem was rights for the temp-directory
Under admin/settings/file-system a temporary directory i set to default to c:\windows\temp. The IIS-user does not have rights to access it though. I created a directory on my Data-disc D:\temp and now everything seems to work like a charm. Took me about 2 days to figure out this problem since I couldn't find anything usefull in the trace logs.
http://www.luxuryspa.se/blogg/
Simple sollution
Ive encountered the problem also on an IIS-server and all it took was to go to admin/settings/file-system and Drupal created a tmp catalog. That was all it needed - error gone.