haydi80
145
11
Laravel

Cannot login to my live application, no logs on laravel.log

Posted 1 week ago by haydi80

Hello,

I developed a Laravel application with login page, I am using Laravel 5.4. Locally everything works fine. After deploying, my DB connection in the env file looks like that:

APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=myapp.nl

DB_CONNECTION=mysql DB_HOST=db_host_name.nl DB_PORT=3306 DB_DATABASE=db_name DB_USERNAME=user_name DB_PASSWORD=password

When I open myapp.nl, I get the login page, I fill in the login and password (that already exist on users table on my db_name). After that, the login and password fields get directly empty, I fill them in again, then I get:

Whoops, looks like something went wrong.

(1/1) TokenMismatchException in VerifyCsrfToken.php line 68

And nothing is logged into storage/logs/laravel.log

I hope you can help me get it work.. Thanks in advance!

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.