By tazir1 on
After installing new Drupal 6.12 I got in every page the err:
The selected file sites/default/files/tmp/xxx could not be copied.
with different file name (xxx).
I was try many suggestion about folder permission, but in vain.
After play around I found the solution - just disable "Optimize JavaScript files" on admin/settings/performance
I was enable / disable & this err come everytime "Optimize JavaScript files" was enable.
Hope its help other people as well.
Comments
The selected file sites/default......
I have spend a week to resolve this problem but suggested solutions here and reports of bugs in earlier versions didn't apply to my problem. (This means that i ve found posts related to this error submitted the year 2007)
Please i need help from advanced users to make the last attempt before applying my latest backup
I wiil explain what changes i ve done that might be responsible for this
1. Upgrade to the latest version of drupal 6.13 from 6.11
then upgraded all installed modules : views, fck editor , imce, image,web links 10n client, to the current stable or dev versions
in order to install bg gallery i got also installed in the same time jquery update.
And that was the initial for getting the errors that are visible in the home page and in every post for visitors and also in the admin page . Tried to cmod the entire files folder and subfolders. Also create a new directory of files in the root and apply this to the module in vain
So what i have done firstly was to remove bg gallery update php clear cache and remove also a bg table from data base with php my admin. then removed jquey_update module and place the standard drupla files in folder misc
then i removed all modules that handle images disabled upload_ module ,10n client cleared cashe 50 times , update php
I dont know any more what to do
the url of the site is http://1dim-giann|dot|pel|dot|sch|dot|gr
information about status report
FCKeditor Unknown
File system Writable (public download method)
GD library 2.0 or higher
MySQL database 5.0.45
PHP 5.2.5
PHP memory limit 48M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Enabled
Web server Apache/2.2.6 (Unix) PHP/5.2.5
Zlib library Enabled
in the log i get repeted every time i view a page this error
locale
Ημερομηνία Παρασκευή, 31. July 2009 - 7:21
User Ζωή
Location http://1dim...gr/?q=el/admin/reports/status
Referrer http://1dim...gr/?q=el/admin/reports/status
Message An error occurred during creation of the JavaScript translation file for the language Greek.
Severity error
I had the
I had the sites/default/files/tmp/problem with image cache
I think all I did was create a directory drupal in the root tmp folder then I went to admin/settings/file-system then changed the temporary directory to /tmp/drupal
It's been a while but I am pretty sure. hope it helps if not sorry.
how can i disable image cashe
The problem is related to this post http://drupal.org/node/302048 .
Finally The suggested solution worked for me
Change owner to www-data.www-data
I am really confused how I solved this problem.
Non of the solutions I found on forums helped me to solve the message "The selected file sites/default/files/tmp/xxx could not be copied".
All solution I tried and did NOT work:
- check I was running PHP safe_mode OFF ( PHP was not in save_mode so that is correct)
- create the folder DRUPAL-ROOT/languages and chmod 777
- creater the folder DRUPAL-ROOT/sites/default/files/languages and chmod 777
After spending hours and hours I decided to change the owner of the DRUPAL-ROOT/sites/default/files/language folder to www-data (it was root 777). I still don't understand but chow www-data.www-data on DRUPAL-ROOT/sites/default/files/language solved the problem for me.
Why does 777 owner and group root fail and 777 owner and group-data works correct?
There's always a little something left.
creating (or recreating) languages directory worked for me
I didnt have a languages directory - /sites/default/files/languages
I got onto this from other posts. Creating this directory from filezilla with default permissions.
This solved the problem for me. Running Drupal 6.13 (old installation laying stagnant for nearly a year).
Finally its worked for me
recreate languages directory (with write permission) worked also for me
I got the log:
Created JavaScript translation file for the language ...
Instead of:
An error occurred during creation of the JavaScript ...
Thanks!!!
Worked for me as well. Thanks
Worked for me as well. Thanks
re
As i have tried all the responses here, none of them seem to resolve my problem.
i got the error in dutch:
in english:
However i did found the solution on Drupal.be forum
It turns out that my temporary directory was set incorrect. I had to change it on /admin/settings/file-system
Hope this helps someone
Is this file permissions
I am getting a similar error on a view edit page.
Is this file permissions issue? What should the permissions be set to? 777?
re
Hard to say what the error is, plz provide a link or screenshot or error message, and we can look further into it.
The error basically said "The
The error basically said "The file sites/default/files/fileXXX could not be copied." Also, upon checking the file permissions, the owner for the file was set to something different. My hosting provider was able to change the owner back and seems to have fixed it. Will report back if it didn't.
What could've changed the file owner to something different to what the other file owners were?
Not resolved
All this has still not resolved the same problem here.
I cannot add another language file. Even after changing rights on the folder (be sure all have permission) and checked the temp folder.
Any other idea or sugestion?
The selected file /tmp/* could not be copied.
Hopefully you already found a solution, but one reason you will see this this error on Drupal 6 is because you've used up your quota of space on the server.
Check the available space and clear out any unneeded files that may be eating up your quota.
The same problem brought me
The same problem brought me to the post here. It turned out indeed permission related. I changed owner of the directory to the web server, in my case it's nginx, and the problem goes away.