I am trying to install a Laravel application in Shared Hosting following this tutorial where my server's PHP version is 7.1.17 and my Laravel version is 5.6.15.
When I am trying to browse my application using Chrome I can see only a White page, even no error is there.
I tried to debug the application and found that below code of index.php is not working.
Thanks @Sergiu17 for your reply. I did APP_DEBUG=true in both .env file and app/config.php file. Even I try to find out something in storage/logs/laravel.log but I did not get anything there.
Are the core files in the public_html directory or in the base directory?
It may be that if its in the base dir, if i remember you need to update the path of the index.php to make sure it pics up the bootstrap files . Im pretty sure it would squawk if it wasnt right
index.php (in public dir)
require __DIR__.'/../bootstrap/autoload.php'; //Path to your files
$app = require_once __DIR__.'/../bootstrap/app.php';
I could scream here, as this same question about shared hosting gets asked and answered every few days. It really gets old. A search in the search box would answer all the questions on hosting.
[09-May-2018 15:44:17 UTC] PHP Fatal error: Uncaught ErrorException: file_put_contents(/home/foysal/Videos/bad-laravel-adminpanel/storage/framework/views/91c1611d010431b3956d338a2c74e16e093af712.php): failed to open stream: No such file or directory in /home/aylatddd/lsapp/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122
if Your still having issues after following these tutorials/guides (Novate one normally works for me) try ‘php artisan cache:clear’ if you have access to ssh. Or clear cache on your local host first then upload just in case it’s caching the config files there.