This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
When uploading files larger then 20M i get an error message witn no information, it just says "Error Uploading File". I have increased post_size to 1000M and maximum_upload to 800m.
It does not seem to work.
Im using digital ocean via laravel forge.
Does anyone else encountered this problem and have a solution?
Last updated
I'm having the same issue.
After some investigation (and modifying core code to get more information on the error) I discovered that there is a hardcoded value for 'maxFilesize' in the dropzone library that is being used in the CMS.
Unfortunately even after increasing this I was running into errors... Is someone looking into this issue at all because its quite a big blocker!!
What I found is that the memory used by php for the file upload needs to be approximately double the size of the file trying to upload. So the php default 128Mbyte are not enough!
Open up your php.ini and after setting the beforementioned:
post_max_size = 500M
upload_max_filesize = 500M
and then also raise the memory limit:
memory_limit = 1024M
Last updated
autumn said:
What I found is that the memory used by php for the file upload needs to be approximately double the size of the file trying to upload. So the php default 128Mbyte are not enough! Open up your php.ini and after setting the beforementioned:
post_max_size = 500M
upload_max_filesize = 500M
and then also raise the memory limit:memory_limit = 1024M
thank you, that works for me.
I have updated these values in my php.ini file and am still getting an error: "File is too big (411.91MiB). Max filesize: 256MiB."
I've been searching for an hour to see if there is something hardcoded that I am missing??
file_uploads = On post_max_size = 1000M upload_max_filesize = 1000M
Last updated
You have to increase client_max_body_size on nginx conf
in nginx.conf(inside /opt/nginx/conf)
add this line
client_max_body_size 24000M;
1-9 of 9