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

File Size


Go to End


4 Posts   1129 Views

Avatar
Owen86

Community Member, 2 Posts

3 June 2015 at 12:40am

I'm trying to upload a video to my site which is only 7.61MB, but I keep a File Size Error. Any way of determining what the file size limit is? I'm not at all computer techy btw.

Thanks!

Owen

Avatar
JonoM

Community Member, 130 Posts

3 June 2015 at 5:23am

You're probably being limited by PHP's upload_max_filesize and/or post_max_size setting and need to increase it. Depending on your hosting provider you may be able to increase this yourself using a php.ini file or changing a setting in your hosting control panel, or you may need to contact support to ask them to do it for you.

Example:
upload_max_filesize = 40M
post_max_size = 40M

You can see what the current PHP settings are by uploading a php file that contains only

<?php
phpinfo()

and visiting it in your browser.

Avatar
Pyromanik

Community Member, 419 Posts

4 June 2015 at 8:16am

Not at all computer techy - I assume a customer with an SilverStripe install from a vendor.
It depends on the server by default, but could be set elsewhere (UploadField for instance).

At a random guess I'll say either 2Mb or 4Mb. But there's no easy way to tell for sure if you're not computery techy.

Avatar
Owen86

Community Member, 2 Posts

4 June 2015 at 10:57pm

You're absolutely right Pyromanik - SilverStripe. The guys that developed our website have gone into administration. Sounds like I'd better call an expert.

Thanks for replying, much appreciated.