BUG in SC8 - File exceeds the maximum size allowed of 5MB.

When uploading an image I get the following error:

File exceeds the maximum size allowed of 5MB.

The file is actually less than 20Kb.

Screenshot attached.

Screenshot from 2015-02-04 17:22:49.png

I cannot reproduce this. However, I do recall seeing wrong error messages when the allowed file types were not defined correctly in my image upload field.

Make sure that the file type is specified correctly and that upper or lower case is allowed e.g., “.PNG;.JPG;.JPEG;.png;.jpg;.jpeg”

Also make sure that the folder where the image is to be stored is writable by the web server. And, remember that the folder will be different for development and production.

If you’re working on Linux, the development web server is user “apache”, group “apache”. Production web server user id depends on which Linux, which web server, how you installed it, and how you configured it.