I get a token mismatch error when I try uploading a large file in laravel 5. I am using the token field in my form.
TokenMismatchException in VerifyCsrfToken.php line 53:
I already tried few methods:
- increasing upload_max_filesize and post_max_size.
- changing php.ini file and restarting apache services.
- disabling the csrf middleware for that route, but the file is not fetched in this case !
I couldn't find anything besides these in the internet. Is there any other solution ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire