Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kioa845's avatar

deploying laravel app onto fortrabbit

Im trying to deploy my laravel app to fortrabbit. Works perfectly in my localhost but when I push it to fortrabbit I always get the mismatch exception error or verify csrf token error. Ive used all the tokens and the form facade but still get the error. Ive tried laravel 5.2 and 5.1. Placed everything in the web middleware, cleared cache and deleted sessions, deleted browsing data and still I get this error. Someone with experience with fortrabbit and laravel deployment please help me out, thanks.

0 likes
4 replies
kioa845's avatar

Someone please tell me the steps and configurations they did, cheers.

kalle's avatar

Hi,

are you using old or new platform? How is your sessions configured?

kioa845's avatar

Im using laravel 5.2 the newest version. Im using the file driver for session, what configuration do I use? Havent touched anything of the configurations.

khaynam's avatar

Did you get this resolved? It sounds like I'm having a similar issue. I have an app running on fortrabbit's old app, but can't get the new app to work with my login. I get the token mismatch error. I'm using memchached for session.

Please or to participate in this conversation.