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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   3966 Views

Avatar
bunheng

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?

Thanks

Attached Files
Avatar
Sean

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.

Avatar
Riposte

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.