Roundcube Community Forum

Release Support => Pending Issues => Topic started by: bibleman on June 21, 2008, 06:04:16 AM

Title: Cannot Upload Attachments
Post by: bibleman on June 21, 2008, 06:04:16 AM
Hello,

Whenever any account on my server tries to attach a file with Roundcube, it returns a failed message. Here is what the roundcube log says:

PHP Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php6QZS0U' to '/var/cpanel/roundcube/tmp/rcmAttmnte1H7V0' in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/upload.inc on line 44


Is it a permission issue? If that is the case, how do I set the proper permissions?


Thanks.
Title: Cannot Upload Attachments
Post by: bpat1434 on June 21, 2008, 09:15:27 AM
Could be a permissions issue.  Look at the "tmp" directory in roundcube and make sure it has 777 permisions on it (drwxrwxrwx).  If it doesn't, you need to chmod that file to 777 so Apache/php can move files into it.
Title: Cannot Upload Attachments
Post by: bibleman on June 21, 2008, 01:09:18 PM
The permission is already set to that value but the problem persists. Here is a screenshot:

(http://img59.imageshack.us/img59/903/screenshotml9.th.jpg) (http://img59.imageshack.us/my.php?image=screenshotml9.jpg)
Title: Cannot Upload Attachments
Post by: dano on June 23, 2008, 07:42:06 PM
This looks to be a cPanel installation so you may want to look at their forums for the answer.