Contao主题安装问题.它显示找不到模板



我试图在托管帐户上安装contao主题,但是我收到了一条错误消息,无法解决问题。我阅读了日志文件,但无法弄清楚什么是实际问题。这是我在浏览器中看到的错误:在此处输入图像描述

这些是我的日志文件中的错误:

[2019-02-18 04:34:44] request.info:匹配的路由" contao_frontend"。{"路由":" contao_frontend"," Route_Parameters":{" _ oute":" contao_frontend"," _ token_check":True,true,_ controller":"frontend"," alias":" home-3"}," request_uri":" http://localhost/contao-sample/web/home-3.html","方法":" head"} [} [] [][2019-02-18 04:34:44] Security.info:用匿名令牌填充了TokenStorage。[] [][2019-02-18 04:34:44] request.info:匹配的路由" contao_frontend"。{"路由":" contao_frontend"," Route_Parameters":{" _ oute":" contao_frontend"," _ token_check":True,true,_ controller":"frontend","别名":" home-3"}," request_uri":" http://localhost/contao-sample/web/home-3.html","方法":" get"} [} [] [][2019-02-18 04:34:44] Security.info:用匿名令牌填充了TokenStorage。[] [][2019-02-18 04:34:45]请求。批判性:未接收的php例外例外:"找不到模板" fe_page_extended" at/opt/opt/lampp/htdocs/contao-sample/vendor/vendor/vendor/contao/contao/core bundle/core-bundle/core-bundle/core-bundle/core-bundle/core-bundle/src/resources/contao/library/contao/templateloader.php line 152 {"异常":" [object](excect](code:0):找不到template " fe_page_extdended " at/opt/opt/opt/lampp/lampp/htdocs/htdocs/htdocs/pontao-sampame/vendor/contao/core-bundle/src/resources/contao/contao/contao/templateloader.php:152)"} [] []

错误消息说您缺少在页面布局中选择的模板fe_page_extended。可能是您在部署期间意外删除它或错过了它。只需编辑您的页面布局并再次保存 - 或还原丢失的模板。

最新更新