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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
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.
I think this happened to me when the permissions were not correct on the folder i.e no write permissions.