Php Laravel-PrettyPageExceptions不起作用

Php Laravel-PrettyPageExceptions不起作用,php,laravel,Php,Laravel,直到昨天,一切都很顺利。 异常以酷炫的laravel橙色/黑色样式的格式抛出 但现在,我只看到一个空白页,异常不可见。 当我检查调用时,它显示500个内部服务器错误 以下是来自laravel日志的堆栈跟踪: [2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in E:\xampp\htdocs\ingeniouslive\ap

直到昨天,一切都很顺利。 异常以酷炫的laravel橙色/黑色样式的格式抛出

但现在,我只看到一个空白页,异常不可见。 当我检查调用时,它显示500个内部服务器错误

以下是来自laravel日志的堆栈跟踪:

   [2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php:148
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(1049): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request))
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(1017): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(996): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(777): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#4 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(747): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#5 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Session\Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#6 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#7 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#8 E:\xampp\htdocs\ingeniouslive\app\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#9 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(643): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#10 E:\xampp\htdocs\ingeniouslive\app\repo\index.php(49): Illuminate\Foundation\Application->run()
#11 {main} [] []
[2014-09-16 20:07:32] local.ERROR: exception 'RuntimeException' with message 'Could not find resource 'views/layouts.html.php' in any resource paths.(searched: E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler/../Resources)' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php(119): Whoops\Handler\PrettyPageHandler->getResource('views/layouts.h...')
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Run.php(247): Whoops\Handler\PrettyPageHandler->handle(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\WhoopsDisplayer.php(49): Whoops\Run->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(280): Illuminate\Exception\WhoopsDisplayer->display(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#4 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(159): Illuminate\Exception\Handler->displayException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#5 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(753): Illuminate\Exception\Handler->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#6 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Session\Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#7 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#8 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#9 E:\xampp\htdocs\ingeniouslive\app\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#10 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(643): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#11 E:\xampp\htdocs\ingeniouslive\app\repo\index.php(49): Illuminate\Foundation\Application->run()
#12 {main} [] []
[2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Uncaught exception 'RuntimeException' with message 'Could not find resource 'views/layouts.html.php' in any resource paths.(searched: E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler/../Resources)' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php(119): Whoops\Handler\PrettyPageHandler->getResource('views/layouts.h...')
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Run.php(247): Whoops\Handler\PrettyPageHandler->handle(Object(RuntimeException))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\WhoopsDisplayer.php(49): Whoops\Run->handleException(Object(RuntimeException))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(280): Illuminate\Exception\WhoopsDisplayer->display(Object(RuntimeException))
#4 E:\xampp\htdocs\ingeniou' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
我可以看到4号出现了问题。仅列出部分目录路径:E:\xampp\htdocs\ingeniou'

我不知道如何调试这个。请帮忙


PS:当我安装emailedited app/config/mail.php并运行artisan命令sauth:rements controller和auth:rements table时,事情停止了工作。我也遇到了这个问题,必须重新安装Laravel才能使它工作。我想这是因为我把视图中的一个文件夹从一个布局重构到另一个布局。它可能已经做了一些额外的重构,并在其他类中不应该做的地方进行了转换


最好只安装一个新的laravel

试试php artisan clear-compiled.Nope。没有什么问题仍然存在。堆栈跟踪是否存在异常消息?我已更新堆栈跟踪。日志文件中引发了相应的异常。好的,重新安装Laravel后错误消失。我想知道问题是什么。