I can't attach any files to my emails through Roundcube.
Is there a directory that needs read/write access before I'm able to do this or is the problem deeper? My error logs aren't showing where and how this is failing, it simply says "Failed to upload" when I attempt it without any kind of feedback.
Your PHP upload dir (http://php.net/manual/en/features.file-upload.php) and Roundcube's temp folder require write permission.
That did it, thanks. Just had to grant access and properly route the upload directory.
Hello, I have the exact same problem. I read a number of posts, and both /temp and /logs have 777 privileges.
I still get the "File cannot upload" error.
I just upgraded from 0.9.2 to 1.0.1.... the same error.
Also set the error logging to web browser and all error loggings are checked. Revised .htaccess log_errors and display_errors to On.
Still there's no errors in /logs.
Any other ideas on what causes this?
What are you php settings for uploading files? Are there any errors in the main php error log?
I have the same problem(after an upgrade form 0.9.5 to 1.0.1 or 1.0.2, I tried on 2 VM):
Linux debian-rc 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
Apache Version Apache/2.2.22 (Debian)
SSL port only
PHP Version 5.4.4-14+deb7u12
post_max_size 30M
max_file_uploads 20
memory_limit 128M
upload_max_filesize 20M
upload_tmp_dir /roundcube/roundcubemail/temp
$config['debug_level'] = 1;
=> nothing in ../logs/errors related to upload with the datestamp
Nothing in the apache logs
The folder ./temp/
-rw------- 1 www-data www-data 4,6M août 12 10:12 rcmAttmnt6LO8F0
and other files rcmAttmnt*
No difference of the size or the extension type.
I done a fresh install with the lastest debian stable.
I have the same problem!
:-\