Laravel刀片页面未加载

时间:2016-06-23 04:51:21

标签: laravel-5.2 laravel-blade

我真的需要你的帮助。 我有一个用laravel 5.2制作的项目,它在我的计算机上工作正常但是当我将它移动到另一台计算机时,它不会显示除通用html之外的所有刀片页面 我最初在Laracasts上发布的问题:My question link

正在呈现的页面是:

<div id="sf-resetcontent" class="sf-reset">
            <h1>Whoops, looks like something went wrong.</h1>
                                    <h2 class="block_exception clear_fix">
                        <span class="exception_counter">1/1</span>
                        <span class="exception_title"><abbr title="Symfony\Component\Debug\Exception\FatalErrorException">FatalErrorException</abbr> in <a title="D:\accounting\vendor\composer\ClassLoader.php line 347" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ClassLoader.php line 347</a>:</span>
                        <span class="exception_message">Maximum function nesting level of '100' reached, aborting!</span>
                    </h2>
                    <div class="block">
                        <ol class="traces list_exception">
   <li> in <a title="D:\accounting\vendor\composer\ClassLoader.php line 347" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ClassLoader.php line 347</a></li>
   <li>at <abbr title="Symfony\Component\Debug\Exception\FatalErrorException">FatalErrorException</abbr>->__construct() in <a title="D:\accounting\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php line 133" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">HandleExceptions.php line 133</a></li>
   <li>at <abbr title="Illuminate\Foundation\Bootstrap\HandleExceptions">HandleExceptions</abbr>->fatalExceptionFromError() in <a title="D:\accounting\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php line 118" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">HandleExceptions.php line 118</a></li>
   <li>at <abbr title="Illuminate\Foundation\Bootstrap\HandleExceptions">HandleExceptions</abbr>->handleShutdown() in <a title="D:\accounting\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php line 0" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">HandleExceptions.php line 0</a></li>
   <li>at <abbr title="Composer\Autoload\ClassLoader">ClassLoader</abbr>->findFileWithExtension() in <a title="D:\accounting\vendor\composer\ClassLoader.php line 329" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ClassLoader.php line 329</a></li>
   <li>at <abbr title="Composer\Autoload\ClassLoader">ClassLoader</abbr>->findFile() in <a title="D:\accounting\vendor\composer\ClassLoader.php line 300" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">ClassLoader.php line 300</a></li>
   <li>at <abbr title="Composer\Autoload\ClassLoader">ClassLoader</abbr>->loadClass() in <a title="D:\accounting\vendor\laravel\framework\src\Illuminate\Foundation\Application.php line 0" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Application.php line 0</a></li>
   <li>at <abbr title=""></abbr>spl_autoload_call() in <a title="D:\accounting\vendor\laravel\framework\src\Illuminate\Foundation\Application.php line 648" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Application.php line 648</a></li>
   <li>at <abbr title="Illuminate\Foundation\Application">Application</abbr>->registerDeferredProvider() in <a title="D:\accounting\vendor\laravel\framework\src\Illuminate\Foundation\Application.php line 628" ondblclick="var f=this.innerHTML;this.innerHTML=this.title;this.title=f;">Application.php line 628</a></li>
   <li>at <abbr title="Illuminate\Foundation\Application">Application</abbr>->loadDeferredProvider() in <a title="D:\accounting\v

1 个答案:

答案 0 :(得分:0)

根据页面上显示的错误,您将达到最大函数嵌套级别错误; Maximum function nesting level of '100' reached

要解决此问题,您只需要增加xdebug.max_nesting_levelphp.ini的值即可。你可以把它增加到你想要的任何东西,200或300应该可以做到。

请注意,当您进行本地开发时,这通常只是一个错误,因为在构建时使用xdebug来帮助调试过程。

更多关于下面的最大嵌套级别:

http://xdebug.org/docs/all_settings#max_nesting_level