1

在我将它移到我的生产服务器后,我的视图开始不存在,这很奇怪。

这是我的堆栈跟踪

Unhandled Exception
Message:
View [employer.jds] doesn't exist.
Location:
/var/www/vhosts/aquariusmc.com/httpdocs/laravel/view.php on line 170
Stack Trace:
#0 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/view.php(107): Laravel\View->path('employer.jds')
#1 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/view.php(218): Laravel\View->__construct('employer.jds', Array)
#2 /var/www/vhosts/aquariusmc.com/httpdocs/application/controllers/employer/main.php(18): Laravel\View::make('employer.jds', Array)
#3 [internal function]: Employer_Main_Controller->get_jobDispatchSheet()
#4 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/controller.php(325): call_user_func_array(Array, Array)
#5 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/controller.php(285): Laravel\Routing\Controller->response('jobdispatchshee...', Array)
#6 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute('jobdispatchshee...', Array)
#7 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/route.php(153): Laravel\Routing\Controller::call('employer.main@j...', Array)
#8 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#9 /var/www/vhosts/aquariusmc.com/httpdocs/laravel/laravel.php(167): Laravel\Routing\Route->call()
#10 /var/www/vhosts/aquariusmc.com/httpdocs/public/index.php(34): require('/var/www/vhosts...')
#11 {main}
4

1 回答 1

2

我通过在所有视图的文件名上使用小写来解决它。我认为 Plesk(CentOS) 与 camelCase 文件名有关。但无论如何谢谢!

于 2013-04-30T02:41:43.160 回答