Benounnas Oussama's avatar

419 Page Expired

Hello, i uploaded all my laravel app in public_html for testing purposes in a shared hosting server, i don't have permission to log with ssh, i cleared all the cache, configs...etc, i checked if my form has a csrf token, checked the DOMAIN_SESSION if it's null, changed it to the actual domain, same thing, back to null, i'm stuck, all works fine in local. i'm using laravel 6. thnx

0 likes
6 replies
jlrdw's avatar

Have you checked your storage folder permissions.

jlrdw's avatar

But the login page does come up correct.

jlrdw's avatar

If it was working on local and your permissions are correct it should work.

check your case remember Linux is case sensitive.

Go back and double-check and make sure the same thing was absolutely working and local.

Also what happens if you try a page that doesn't require a login, can you navigate from page to page.

Also look in your storage folder see if any sessions are being written.

Benounnas Oussama's avatar

everything works fine even when i deploy it on local server as a production server, all the app works, but once i do the same thing, same parameters in the shared hosting server, it doesn't work, why no idea

Please or to participate in this conversation.