在前端的某些页面上的PrestaShop 1.6上我收到以下错误和管理员的所有页面当我尝试登录时我收到此错误
致命错误:未捕获 - > Smarty:'/modules/blockbestsellers/views/templates/hook/tab.tpl'的编译模板无效< - 在第182行的/tools/smarty/sysplugins/smarty_internal_templatebase.php中抛出
尝试清除缓存删除除此文件夹 rootofps/cache/smarty/compile 和 rootofps/cache/smarty/cache 的index.php之外的内容,请注意,不要删除文件夹而应删除内容 . 顺便说一下,它有一个问题的's the ' blockbestsellers' .
rootofps/cache/smarty/compile
rootofps/cache/smarty/cache
在第一步检查存储空间,下一步启用后端 - >高级参数 - >性能 - >模板编译*强制编译 .
如果这没有帮助尝试删除并再次安装此模块(Bo . 也许您在此文件中删除了太多代码) .
2 回答
尝试清除缓存删除除此文件夹
rootofps/cache/smarty/compile
和rootofps/cache/smarty/cache
的index.php之外的内容,请注意,不要删除文件夹而应删除内容 . 顺便说一下,它有一个问题的's the ' blockbestsellers' .在第一步检查存储空间,下一步启用后端 - >高级参数 - >性能 - >模板编译*强制编译 .
如果这没有帮助尝试删除并再次安装此模块(Bo . 也许您在此文件中删除了太多代码) .