Make sure that the webserver has write-access to that temp folder. RoundCube uses the move_uploaded_file() to store the files which obviously fails. You also have the possibility to set another directory for temp files. Open config/main.inc.php and search for 'temp'.
~Thomas
2007/3/29, Spil Oss spil.oss@googlemail.com:
Hi all,
When composing a message, I cannot add an attachment (tried both FF2 and IE6). After clicking the upload button, I get "File upload failed"
FreeBSD 6.2 Apache 2.2.4 (from ports) PHP 5.2.1_3 (from ports) suhosin 0.9.6.2 eaccelerator (from ports) v0.9.5 roundcube-0.1.20070303 (from ports)
Checked an earlier build and that behaved the same. I have an open_basedir restriction set to the installation path of roundcube (/usr/local/www/roundcube) It seems that roundcube tries to store the file in /usr/local/www/roundcube/temp which is allowed under the open_basedir Switching eaccelerator off doesn't help.
No entries in apache error log for the failure, nor anything to be found in roundcube's logs. (even if setting debug to level 8)
Any clues, pointers, help appreciated greatly!
Kind regards,
Spil.