Reputation: 3579
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
Upvotes: 0
Views: 769
Reputation: 11
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"
Upvotes: 1
Reputation: 4357
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.
Upvotes: 0