Closed feLiruc closed 7 years ago
You are either:
This plugin doesn't control any of those things, so you'll need to fix them on your setup.
Or, if the files are really large, hand off the uploading and processing to a worker process from a queue.
Checking the logs I discovered that my problem was with the post_max_size variable in the php.ini Now I need to limit the number of files in the input type="file" Thank you for your attention guys.
I'm trying to implement a multiple upload in my ticket controller, but I don't know why aparently my navigator is not waiting for the upload to finish(with small files it's okay but with large files the page is apparently not waiting so my code return errors...
This is my error screen.
I already set the field to multiple and send the variable as an array:
<?php echo $this->Form->input('anexos[]', ['type'=>'file', 'multiple' => true, 'label' => 'Anexos']); ?>
This is the code for my controller: