Famous TokenMismatchException in VerifyCsrfToken.php line 67 in production
Hello, I am creating a new website with Laravel 5.2. The code is from a site that is already working in a production server. In there works fine. Without problems. When I am developing the new website in localhost everything works like a charm. Login, auth, db, etc. The problem come when I am trying to upload into production. Once I have uploaded all the files, the TokenMismatchException in VerifyCsrfToken.php line 67 error appear. The wired thing is that I have did twice the make:auth with the same result on local (working fine) and same in prod (failing).
Some data:
- The version in local is 5.5 and in prod is 5.6.24
- The version of Laravel is 5.2
- The hosting is a virtual server hostgator with different domains (and everyone working fine). In fact, the other links and redirections work fine, only the login is returning me problems.
Did someone know the problem? Or at least, a tip to find the error?
Thank you in advance!
Please or to participate in this conversation.