Double check your storage folder permissions.
All my Apps run in Windows but get "419, session has expired" in Mac
I have been building Apps with Laravel in a Windows computer since two years. They run perfectly in a Desktop and two Laptops. Always in Windows.
I cloned the project into the company laptop which is a Mac. It is a normal routine process to clone a Laravel project that I have made dozens of times. Allways in Windows computers
- Clone project from Github: git clone https:github/…..
- Install vendors directory (dependencies) composer update --no-scripts
- Create a new database.
- Set up Database Connection, rename .env.example to .env and edit password, database, name, etc
- Setup the Key: php artisan key:generate:
- Migrate the project to create the tables in the database: php artisan migrate.
- Run the application
The apps work, but when I try to login, I get the following message:
419 Sorry, your session has expired. Please refresh and try again.
I know it should be a trivial problem, but I am a (convinced) Windows user. I have google for it, but this problem is always related to the CSRF, but in my case I did not change a single line and it works in Windows.
I am using XAMPP for Mac, PHP version: 7.3.1 and MySQL 5.0. It fails in Chrome, Firefox and Safari.
Any idea?
Please or to participate in this conversation.