Laravel 5 TokenMismatchException, show page white redirect with text

Avatar
  • Answered
I dont't understand about it.
Here, have two problems:
1. When send POST to server, laravel alert error mismatch token. I have check in my local and other host, it worked. But in host current it not work.
2. When redirect(), it show text in page. It's not good.
Please help to fix it
My local it worked,
Avatar
Scott
Hello,

Sorry to hear you are having issues with your Laravel setup. If you have it working on your Localhost, then you will first want to check and see that your hosting server has the exact same setup. This means all the same software versions and patches. If you have ensured that, you may want to check Laravel forums to see why the token is not matching at the check.

With the redirect, there is not much information to go on. Do you have the error reporting on? If so, is it giving any error? Can you duplicate it every time or is it intermittent? Also, can you get it to work on a scaled down test file? Do you have a URL that demonstrates the error?

Kindest Regards,
Scott M