Hi All,
Hoped that the rc1 would help, but it doesn't. Checked the settings in the config and the directory itself and they're both OK
grep temp /usr/local/www/roundcube/config/main.inc.php // use this folder to store temp files (must be writebale for apache user) $rcmail_config['temp_dir'] = 'temp/';
ls -ld /usr/local/www/roundcube/temp drwxr-xr-x 2 www www 512 May 29 21:34 /usr/local/www/roundcube/temp
Apache is writing the sessions to the temp directory correctly, so everything seems OK.
Increased error_reporting to E_ALL and this is the only error I get, seems to start after I start composing a new message. May 29 21:47:45 2007] [error] [client 172.17.2.167] File does not exist: /usr/local/www/roundcube/&_action=keep-alive&_t=1180465781253&_remote=1, referer: https://mail.example.com/?_task=mail&_action=upload
Any possibilities of generating more trace information?
Kind regards,
Spil.
On 02/04/07, Thomas Bruederli roundcube@gmail.com wrote:
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.