Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » I can't upload big files (> 10 Mb)

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: 1504 Views
  • artemb
    Avatar
    Community Member
    11 Posts

    I can't upload big files (> 10 Mb) Link to this post

    Hi everybody.

    I am running SilverStripe 2.3.2 on Ubuntu 9.04. When I try to upload a file in the "Files and Images" section bigger than 10 Mb, I see this error:

    Fatal error: Method name must be a string in /home/artemb/projects/avt/htdocs/sapphire/forms/Form.php on line 245

    Small files (5 Mb) are uploaded just fine.

    phpinfo() shows the following:
    file_uploads   On
    upload_max_filesize   100M

    What could be the reason of this error? And how do I upload a big file with SilverStripe?

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: I can't upload big files (> 10 Mb) Link to this post

    I think in your php.ini file you need to check the file upload sizes in 2 places.upload_max_filesize and is it post_max_size ?

  • artemb
    Avatar
    Community Member
    11 Posts

    Re: I can't upload big files (> 10 Mb) Link to this post

    Yes, that fixed the issue, thank you very much. But wouldn't it be awesome if SilverStripe would handle such situations with an appropriate error message?

    1504 Views
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.