cs-cart - tpl文件错误或php版本错误
问题描述
我试图找到像我一样的类似问题,但似乎没有运气。我有 php7.1 的 cs-cart 多供应商测试,正常主题工作正常,但是当我安装新主题站点时工作,直到我登录管理面板。这意味着在我登录管理面板网站后进入白屏。我试着想,我在我的主题文件夹中看到 index.tpl 文件总是变空。所以要让网站再次工作,我必须再次替换 index.tpl 文件。这是 index.tpl 文件的代码。你能告诉我谁在做网站的文件中有错误吗?谢谢!
page_title|strip|trim nofilter} {include file="meta.tpl"} {hook name="index:links"} {/hook} {include file="common/styles.tpl" include_dropdown=true} {if "DEVELOPMENT "|defined && $smarty.const.DEVELOPMENT == true} window.jsErrors = []; window.onerror = function(message, source, lineno, colno, error) { var verboseMessage = message; if (source) { verboseMessage = source + '@' + lineno + ':' + colno + "\n\n" + message; } 错误){ var verboseMessage = 消息;if (source) { verboseMessage = source + '@' + lineno + ':' + colno + "\n\n" + message; } 错误){ var verboseMessage = 消息;if (source) { verboseMessage = source + '@' + lineno + ':' + colno + "\n\n" + message; }
console.error(verboseMessage); if (error && error.stack) { console.log(error.stack); } document.write('<pre data-ca-debug="1" style="border: 2px solid red; margin: 2px;">' + verboseMessage + "\n\n" + (error && error.stack ? error.stack : '') + '</pre>' ); }; </script> <!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.1.9/es5-shim.min.js"></script><![endif]-->
{/if} {hook name="index:head_scripts"}{/hook}
{hook name="index:body"} {if $runtime.customization_mode.design} {include file="common/toolbar.tpl" title= ("on_site_template_editing") href="customization.disable_mode?type=design"} { /if} {if $runtime.customization_mode.live_editor} {include file="common/toolbar.tpl" title= ("on_site_live_editing") href="customization.disable_mode?type=live_editor"} {/if} {if "THEMES_PANEL "|defined && !$runtime.customization_mode.live_editor} {include file="demo_theme_selector.tpl"} {/if}
<div class="ty-tygh {if $runtime.customization_mode.theme_editor}te-mode{/if} {if
$runtime.customization_mode.live_editor || $runtime.customization_mode.design || $smarty.const.THEMES_PANEL}ty-top-panel-padding{/if}" id="tygh_container">
{include file="common/loading_box.tpl"} {include file="common/notification.tpl"} <div class="ty-helper-container" id="tygh_main_container"> {hook name="index:content"} {hook name="index:et_content"}{/hook} {/hook} <!--tygh_main_container--></div> {hook name="index:footer"}{/hook} <!--tygh_container--></div> {include file="common/scripts.tpl"} {if $runtime.customization_mode.design} {include file="backend:common/template_editor.tpl"} {/if} {if $runtime.customization_mode.theme_editor} {include file="backend:common/theme_editor.tpl"} {/if} {/hook} </body>
解决方案
请检查您使用的主题的许可证
推荐阅读
- python-3.x - 构建神经网络 [TensorFlow 2.0] 模型子类化 - ValueError/TypeError
- python - Python不保存列表值?
- powershell - Win'2019 正在使用 Win32/Casur.A!cl 特洛伊木马检测我的脚本
- c++ - 函数中的sizeof
- ios - 以编程方式为 iPhone 和 iPad 布局 UI 的最佳实践
- git - 为什么 React Native 模块的默认 Github 存储库经常分叉?
- ios - 限制 MKAnnotationView 仅在已绘制的折线上/与已绘制的折线一起拖动
- php - Laravel 资源控制器 show() 返回图片流
- asp.net-mvc - MVC 布局未清除,重定向内容加载在原始布局内
- javascript - 使用 XMLHttpRequest 的 Rapidapi Api 请求