Laravel get blank page (updated permission of log folder)
Hello,
I deploy a laravel 5.0 to our pleak server (php 5.4.39). I always get blank page.
I didn't see any error log on server.
It dead in index.php at line:
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
Please help me to know what is reason. Thank you.
Tien
Do you have error_reporting = E_ALL set in php.ini? yes, I have it :) But I dont get any error messages. strange!
Is index.php reachable? yes, it stuck at $response = $kernel->handle( $request = Illuminate\Http\Request::capture() );.
I tried to echo 'xxx' before and after that line of code.
Does Artisan work? I think we dont need it to run laravel site.
I had the same problem and it was because I did not give proper write permisions to two folders: "storage" and "bootstrap/cache".
Documentation says: "After installing Laravel, you may need to configure some permissions. Directories within the storage and the bootstrap/cache directories should be writable by your web server." http://laravel.com/docs/5.1/installation#configuration
From the title of your post I can tell you did change permisions but only for the "log" folder.
Hello @jorgeandresserrano,
Thank you for your response. I found that issue is my mistake.
I was use Laravel 5.1 on PHP 5.4.
Then I fixed by downgrade Laravel to 5.0
Best regards,
Tien Pham