Roundcube Community Forum

 

Cannot Upload Attachments

Started by bibleman, June 21, 2008, 06:04:16 AM

Previous topic - Next topic

bibleman

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.

bpat1434

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.
 
 

bibleman

#2
The permission is already set to that value but the problem persists. Here is a screenshot:


dano

This looks to be a cPanel installation so you may want to look at their forums for the answer.