[英]Payload Too Large - says in console from dropzone.js when try to upload file larger than 10MB
I am using dropzone for uploading file with following settings.我正在使用 dropzone 上传具有以下设置的文件。
$("#my-awesome-dropzone").dropzone({ // The camelized version of the ID of the form element
previewTemplate: document
.querySelector('#tpl')
.innerHTML,
// The configuration we've talked about above
url: '{!! route('pam.submissions.store', $stage->id) !!}',
uploadMultiple: true,
parallelUploads: 100,
maxFiles: 100,
maxFilesize:200,//MB
autoProcessQueue: false,
timeout: 120000,
// The setting up of the dropzone
init: function() {
//init code
},
});
Even after setting the value of "maxFilesize" to 200 (which means 200 MB), I can not upload file larger than 10MB.即使将“maxFilesize”的值设置为 200(即 200 MB),我也无法上传大于 10MB 的文件。 When try to upload, there comes error in console that says "POST {SUBMISSION-URL} 413 (Payload Too Large)".
尝试上传时,控制台中出现错误,提示“POST {SUBMISSION-URL} 413 (Payload Too Large)”。 I was wondering what is the reason behind it.
我想知道这背后的原因是什么。 Is there anything wrong done by me ?
我做错了什么吗? How to fix this ?
如何解决这个问题?
这也是我的问题,我通过增加 php.ini 中的帖子最大大小来解决
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.