M
M
Maxim Timofeev2018-09-26 14:03:26
JavaScript
Maxim Timofeev, 2018-09-26 14:03:26

How to make friends ajax kartic and large files?

What is available is a widget demos.krajee.com/widget-details/fileinput It sends files ajax. Everything works fine until the file is not large. Tried to send video 125mb. And then the problems started, I tried to go into the debug panel - there

Out of memory (allocated 1016332288) (tried to allocate 247509142 bytes)

I suspect that the point is that all 130mb go as a string and end up in the log. Or am I wrong?
$uploadedFile = UploadedFile::getInstanceByName('upload');

returns null

It would not be desirable to change the loader who had experience of the decision of similar problems.
I can't figure out which way to go.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-09-26
@webinar

Good afternoon.
And what is the maximum file size in php.ini when sending via POST?
Check the values ​​of the post_max_size and upload_max_filesize directives. Increase the values ​​if needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question