Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Filesize is zero bytes.

Go to End

3 Posts   2478 Views


Community Member, 78 Posts

2 September 2013 at 1:02am

Hi There,

I always get error "Filesize is zero bytes." while uploading the photo to my site. I test it on local machine it's work fine. Any body have solution?


Attached Files

Forum Moderator, 922 Posts

3 September 2013 at 5:20pm

Edited: 03/09/2013 5:22pm

This might be a PHP / web server configuration issue. Do you know what the maximum post size and file upload limits are? You can check with a script that has phpinfo() in it and search for "post_max_size" and "upload_max_filesize".

If those are set sufficiently high enough, it might be nginx or Apache web server instead, depending on your setup.
In those cases, the web server might need some configuration changes to allow bigger post limits.


Community Member, 10 Posts

4 September 2013 at 2:02pm

I think this happened to me when the permissions were not correct on the folder i.e no write permissions.