Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Filesize is zero bytes.

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

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

Page: 1
Go to End
Author Topic: 411 Views
  • bunheng
    Community Member
    78 Posts

    Filesize is zero bytes. Link to this post

    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
  • Sean
    Forum Moderator
    921 Posts

    Re: Filesize is zero bytes. Link to this post

    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.

  • Riposte
    Community Member
    10 Posts

    Re: Filesize is zero bytes. Link to this post

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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.