#laravel server responding with general "Server error" message to any request
9 messages · Page 1 of 1 (latest)
Probably a missing .env file. Look at the error log, it'll contain a stack trace of the error, 500 is just a generic message that there is an exception being thrown somewhere.
looks that no stacktrace is provided
i was also thinking about a .env problem and i also noticed that when i run php artisan migrate it says APP IN PRODUCTION... and asks me if i really want to run the command
Look at your error log.
Laravel's error logs gets stored in the following directory
path-to-laravel-project/storage/logs/
If you haven't changed the driver settings for laravel then the file would laravel.log
i found a copy of the project and copy pasted the .env file inside the github download and everithing works now
my question now is: What should i change to make.app ready-to-use without including the .env file in the github repo?
The app probably is ready to use. You need to supply the correct environment variables.