Make sure that the user your web server runs as has permission to write to the storage directory.
L5 blank white page when deploying my app
I'm trying to deploy my app on a shared hosting using FTP. When I browse to my app's URL, I'm getting a blank white screen without any errors. I tried enabling php error reporting, but I'm still not getting anything on the page. Then I tried to var_dump the variables in the public/index.php file to see if could find any clues about what could be the problem. I can var_dump everything up until the following lines:
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
After this line var_dump($response) just gives a blank page. I was able to dump out the previous thing in the file however: var_dump($kernel).
The storage and the vendor folder have the right permissions. I also deployed a clean Laravel installation on a different subdomain just to check if my shared hosting has a problem with Laravel, but no problems occur on that subdomain. Everything is displayed normally there, so there must be a problem specific to my app.
I have no idea what to check or do next. Does anyone have an idea what could be the problem here? Or what can I do to at least have errors showing up again?
I figured it out. Apparently I was using a couple of packages that require PHP 5.5 but the server is still using PHP 5.4 unfortunately. I removed the packages and then I got normal Laravel error messages, instead of a blank white screen. In case anyone is wondering, those packages were:
Please or to participate in this conversation.