Please help me, when I open my website this message appear “Whoops, looks like something went wrong.”
and when I click Inspect and Console
it has some error
Failed to load resource: the server responded with a status of 500 ()
Hi @bocharlesson!
-
Next time you encounter issues with your site, please go to
/[...]/config/app.php
and set'debug' => env('APP_DEBUG', true)
Now reload your page. Follow the debugging screen to fix your issue -
You were missing the
APP_KEY
. 000webhost does not support PHP executable commands to start Laravel project from Artisan CLI and load the configuration from.env
file, therefore you should’ve manually specified the key from.env
into/[...]/config/app.php
I did it for you. Check'key' => env('APP_KEY', [...])
-
Now there is a database connection issue. Please specify the right database credentials into
/[...]/config/database.php
1 Like
ohhhhh thank you very much