Laravel - 从 5.3 更新到 5.4 后错误页面为空白
Laravel - Error page is blank after update from 5.3 to 5.4
我已将 Laravel 从 5.3
更新为 5.4
。错误页面为白色,更新后不显示错误。我正在使用本地服务器。规格:
OS: Ubuntu 16.04
Nginx/1.9.15
PHP 5.6.11
我阅读了这个问题 (Laravel blank white screen) 并尝试了解决方案:
# Group Writable (Group, User Writable)
$ sudo chmod -R gu+w storage
# World-writable (Group, User, Other Writable)
$ sudo chmod -R guo+w storage
并提出了其他解决方案。但是问题依旧!
此外,.env
和 config/app.php
中的应用程序调试是 true
。
谁能帮忙?
更新 laravel 后,您可以清除所有缓存和编译页面。尝试这样做:
php artisan view:clear
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan clear-compiled
php artisan optimize
我已将 Laravel 从 5.3
更新为 5.4
。错误页面为白色,更新后不显示错误。我正在使用本地服务器。规格:
OS: Ubuntu 16.04
Nginx/1.9.15
PHP 5.6.11
我阅读了这个问题 (Laravel blank white screen) 并尝试了解决方案:
# Group Writable (Group, User Writable)
$ sudo chmod -R gu+w storage
# World-writable (Group, User, Other Writable)
$ sudo chmod -R guo+w storage
并提出了其他解决方案。但是问题依旧!
此外,.env
和 config/app.php
中的应用程序调试是 true
。
谁能帮忙?
更新 laravel 后,您可以清除所有缓存和编译页面。尝试这样做:
php artisan view:clear
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan clear-compiled
php artisan optimize