I have a Laravel application and a form with dropzone.
Normally , it works well. But when i try to upload large files ( 50M - 60 M), I get this error TokenMismatchException.
I'm using this code to send token :
formData.append("_token", $('[name=_token]').val());
I also changed all php.ini settings:
-
max_upload_size -
set_time_limit(0); -
memory_limit -
post_max_size max_input_time
As said above, it's working for small files.