简体   繁体   中英

laravel 5.1 white screen error;

I am working on a project and i just completed some tasks; eventually we need to deploy it on ftp for test. I am stuck right there when it shows only the blank page; .htaccess file is working, index.php is also reachable; it works up to line 50 of index.php:

$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
// upto this every thing is fine but

After this line echo command is not working means error is right there

$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
 );
$response->send();

$kernel->terminate($request, $response);

I set appropriate permission to folders storage and bootstrap; and php version is 5.5.9. How can i shoot this problem; it took really long time what's the problem with it

Only a guess able answer is here possible.

I guess you are missing a php module like curl or you did not enable fopen wrappers for http/url. This depends what "Illuminate\\Http" is using.

Try to enable the php error log.

I know it's an old post, but I reached here looking for the same error. Turned out to be a malformed .env file. I wanted to set the APP_NAME with spaces and was setting the variable like this:

APP_NAME=CAFS API

The correct implementation is to surround the string with quotation marks:

APP_NAME="CAFS API"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM