davy_yg
1 month ago
647
5
Laravel

blank screen

Posted 1 month ago by davy_yg

I can't understand why I get a blank white screen for my online website.

I seperate the framework and the public_html folder which is quite common.

in my public_html/index.php

require __DIR__.'/../netstudio_framework/vendor/autoload.php';

/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
| We need to illuminate PHP development, so let us turn on the lights.
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
| the responses back to the browser and delight our users.
|
*/

$app = require_once __DIR__.'/../netstudio_framework/bootstrap/app.php';

In the root folder there is:

netstudio_framework/ public_html

netstudio_framework is where all the laravel framework located.

Yet, I get a blank white screen when checking the domain.

Please sign in or create an account to participate in this conversation.