Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Error while trying to upload an image #34

Closed
barbun opened this issue Jul 23, 2015 · 1 comment
Closed

Error while trying to upload an image #34

barbun opened this issue Jul 23, 2015 · 1 comment

Comments

@barbun
Copy link

barbun commented Jul 23, 2015

Hi guys,

Thanks for your help so far!

I have troubles uploading a "feature image" when I create new content, it just fails every time with:

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (16 MB) that this server supports.

Now, I realize it might be an issue with my server setup, but I can't figure it out. Picture that I'm trying to upload is around 200KB, so it's definitely not a file upload size issue. I also checked files directory permissions and it's fine...

I tested Media on vanilla Drupal and there is no problem uploading images. I don't have problems with aGov distribution either.

Can someone, please, make a fresh build and test if they can upload images?
Any help would be appreciated! Thanks :)

@barbun
Copy link
Author

barbun commented Jul 28, 2015

Ok, I figured it out, I just had to:

sudo a2enmod rewrite

Never had this problem before. Cheers.

@barbun barbun closed this as completed Jul 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant