douxuan4556 2015-09-20 23:21
浏览 44
已采纳

laravel 5.1白屏错误;

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

  • 写回答

1条回答 默认 最新

  • douchongzhang9267 2015-09-21 00:12
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?