Roundcube Community Forum

 

File upload fail

Started by avacore, March 19, 2009, 06:10:00 PM

Previous topic - Next topic

avacore

Im just installed RC  0.2.1 and everything seems to be working fine. except when I try to attach a file it gives me a "file upload fail" notice.  the error log shows this:

[19-Mar-2009 16:01:06] PHP Warning:  move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/php8zrWIO) is not within the allowed path(s): (/var/www/:/usr/share/roundcube) in /usr/share/roundcube/program/steps/mail/attachments.inc on li$
[19-Mar-2009 16:01:06] PHP Warning:  move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/tmp/php8zrWIO) is not within the allowed path(s): (/var/www/:/usr/share/roundcube) in /usr/share/roundcube/program/steps/mail/attachments.inc on li$
[19-Mar-2009 16:01:06] PHP Warning:  move_uploaded_file(/tmp/php8zrWIO) [function.move-uploaded-file]: failed to open stream: Operation not permitted in /usr/share/roundcube/program/steps/mail/attachments.inc on line 76
[19-Mar-2009 16:01:06] PHP Warning:  move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php8zrWIO' to 'temp/rcmAttmntRJFnkH' in /usr/share/roundcube/program/steps/mail/attachments.inc on line 76


temp/  and /tmp  have enough permission .

Thanks