By gybanez on
Hi,
This has been working for two years where users can upload a picture on their user profile. I have been getting reports that users aren't able to upload and even change an old pic they have. They get the following message:
* The selected file /tmp/tmp_4duET1 could not be copied.
* Failed to upload the picture image; the pictures directory doesn't exist or is not writable.
Of course I verified to make sure the folders have their permissions.
Nothing has changed on my site except the updates recommend for security and such.
Please help if anyone knows what caused this.
Comments
=-=
your hosts tmp directory could be full. rather then use a host tmp directory, goto adminsiter -> file system and set your tmp to files/tmp
Has anyone had any luck with this?
This just started happening to me today. The exact same thing as the OP.
This thread did not help: http://drupal.org/node/84405 . I tried every suggestion there and still I get the same error. I do not have Image Node installed. Every folder is set to 777. The files/pictures folder exists, and it is CHMOD 777, so it is definitely writable. I can change the location of the temp folder in admin/settings/file-system to anything I want. If an image is uploaded, it creates a temp file there, then errors out with the following message:
* The selected file /tmp/tmp_IB9FQY could not be copied.
* Failed to upload the picture image; the pictures directory doesn't exist or is not writable.
I have changed nothing. This was working before, and now it isn't. I have not upgraded, and my host has not performed any upgrades.
Please, someone, how do I fix this?
Thank you in advance.
THE PROBLEM IS STILL THERE...
Trying to keep this issue alive.
Anyway, I´ve created a new one here. I´ve added a little index of the other issues related to this aswell...
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
Here's what worked for me on
Here's what worked for me on Ubuntu 10.04 LTS and PHP 5.2.x:
chown -R www-data:www-data /var/www/files/pictures/
chmod 775 /var/www/files/pictures/
You might want to use 777 if 775 doesn't work.