Author Topic: Attachments not uploading...  (Read 4990 times)

Offline SolidSonicTH

  • Jr. Member
  • **
  • Posts: 10
Attachments not uploading...
« on: April 08, 2014, 07:28:11 AM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Re: Attachments not uploading...
« Reply #1 on: April 08, 2014, 01:25:59 PM »
Your PHP upload dir (http://php.net/manual/en/features.file-upload.php) and Roundcube's temp folder require write permission.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline SolidSonicTH

  • Jr. Member
  • **
  • Posts: 10
Re: Attachments not uploading...
« Reply #2 on: April 10, 2014, 07:42:59 PM »
That did it, thanks. Just had to grant access and properly route the upload directory.

Offline charleslcso

  • Newbie
  • *
  • Posts: 1
Re: Attachments not uploading...
« Reply #3 on: July 15, 2014, 03:03:20 AM »
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?
« Last Edit: July 15, 2014, 03:24:39 AM by charleslcso »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Attachments not uploading...
« Reply #4 on: July 15, 2014, 10:28:36 AM »
What are you php settings for uploading files? Are there any errors in the main php error log?

Offline anivard

  • Newbie
  • *
  • Posts: 2
Re: Attachments not uploading...
« Reply #5 on: August 12, 2014, 05:10:33 AM »
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.

Offline anivard

  • Newbie
  • *
  • Posts: 2
Re: Attachments not uploading...
« Reply #6 on: August 27, 2014, 09:55:27 AM »
I done a fresh install with the lastest debian stable.
I have the same problem!
 :-\