我正在尝试在我的主机帐户上安装Contao主题,但我收到一个错误信息,无法解决这个问题。我读取了日志文件,但无法弄清楚实际问题是什么。这是我在浏览器中看到的错误:enter image description here
以下是我的日志文件中的错误:
2019-02-18 04:34:44 request.INFO:匹配路由contao_frontend。{"route":"contao_frontend","route_parameters":{"_route":"contao_frontend","_token_check":true,"_controller":"Contao\CoreBundle\Controller\FrontendController::indexAction",“_scope”:“前端”,“别名”:“home-3”},"request_uri":"http://localhost/contao-sample/web/home-3.html","method":"HEAD"} security.INFO:用匿名Token填充TokenStorage。2019-02-18 04:34:44 request.INFO:匹配路由contao_frontend。{"route":"contao_frontend","route_parameters":{"_route":"contao_frontend","_token_check":true,"_controller":"Contao\CoreBundle\Controller\FrontendController::indexAction",“_scope”:“前端”,“别名”:“home-3”},"request_uri":"http://localhost/contao-sample/web/home-3.html","method":"GET"} security.INFO:用匿名Token填充TokenStorage。2019-02-18 04:34:45 /opt/lampp/htdocs/contao-sample/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php :未捕获request.CRITICAL异常异常:“在异常行152处找不到模板"fe_page_extended"”{" Exception ":"object"} []
发布于 2019-02-19 07:06:46
错误消息指出您缺少在页面布局中选择的模板fe_page_extended。可能是您在部署过程中意外删除或错过了它。只需编辑您的页面布局并再次保存它-或恢复丢失的模板。
https://stackoverflow.com/questions/54740176
复制相似问题