我做了一些编辑,突然我的网站停止了工作。我删除了"面包屑"并通过在枝条文件中注释它们来左列导航。
编辑示例:
<!--<ul class="breadcrumb">
{% for breadcrumb in breadcrumbs %}
<li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
{% endfor %}
</ul>-->
和:
<div class="row"><!--{{ column_left }}-->
{% if column_left and column_right %}
{% set class = 'col-sm-6' %}
{% elseif column_left or column_right %}
等
此页面无效 website.ro目前无法处理此请求。 HTTP ERROR 500
[201-Apr-2018 06:02:15 UTC] PHP致命错误:未捕获的异常&#39; Twig_Error_Loader&#39;有消息&#39;无法找到模板&#34; common / column_left.twig&#34; (查看:/home/website/catalog/view/theme).'在/home/website/system/library/template/Twig/Loader/Filesystem.php:215
堆栈追踪:
.0 /home/website/system/library/template/Twig/Loader/Filesystem.php(139):Twig_Loader_Filesystem-&gt; findTemplate(&#39; common / column_l ...&#39;)
.1 /home/website/system/library/template/Twig/Environment.php(312):Twig_Loader_Filesystem-&gt; getCacheKey(&#39; common / column_l ...&#39;)
.2 /home/website/system/library/template/Twig/Environment.php(378):Twig_Environment-> getTemplateClass(&#39; common / column_l ...&#39;,NULL)
.3 /home/website/system/library/template/twig.php(33):Twig_Environment-&gt; loadTemplate(&#39; common / column_l ...&#39;)
.4 /home/website/system/library/template.php(51):Template \ Twig-&gt; render(&#39; common / column_l ...&#39;,&#39; 1&# 39)
.5 /home/website/system/engine/loader.php(125):Template-&gt; render(&#39; common / column_l ...&#39;,&#39; 1&#39; )
.6 / home / in /home/website/system/library/template/Twig/Loader/Filesystem.php 215行