Skip to content

Instantly share code, notes, and snippets.

@nikitasius
Created April 8, 2018 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikitasius/ca38c83dcf8d1fadf089c91f20ae64bc to your computer and use it in GitHub Desktop.
Save nikitasius/ca38c83dcf8d1fadf089c91f20ae64bc to your computer and use it in GitHub Desktop.
roundcube file upload failed / roundcube attachments not working / roundcube upload problem / empty attachements / zero file uploads

The problem

When you attach a file, roundcube tells you: File upload failed

I understand you

When you fixed all what you think and even fullfilled some php vars like base_dir and pack of upload* variables and you still see empty files and you wanna remove this #$%^!, just relax and..

Solution

In a config file keep/add in active plugins filesystem_attachments and remove database_attachments (if you had it).

They can't work together and attachements needs at least a filesystem_attachments.

And all will work like a charm :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment