程序上传到服务器上之后,一修改模板就出错

2020-12-01 10:00

打开页面就变成这样了,清除缓存和清除编译都没有用

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file E:\wwwroot\tpl/_compiled\eec0ce1513397bf411c789c45cf7274eea2b7e09.file.menu.tpl.php' in E:\wwwroot\source\core\sysplugins\smarty_internal_write_file.php:55 Stack trace: #0 E:\wwwroot\source\core\sysplugins\smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('E:\wwwroot\www....', '<?php /* Smarty...', Object(Smarty)) #1 E:\wwwroot\source\core\sysplugins\smarty_internal_templatebase.php(164): Smarty_Internal_Template->compileTemplateSource() #2 E:\wwwroot\source\core\sysplugins\smarty_internal_template.php(285): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #3 E:\wwwroot\tpl\_compiled\8aa8899394960b4fa9608accac79ae35c92e356f.file.index.tpl.php(64): Smarty_Internal_Template->getSubTemplate('member/pink/men...', NULL, NULL, NULL, NULL, Array, 0) #4 E:\wwwroot\source\core\sysplugins\sma in E:\wwwroot\source\core\sysplugins\smarty_internal_write_file.php on line 55

2956 次浏览 2 条评论 收藏

说说我的看法

登录后可以发表评论 登录
2个评论
-- 楼主 2020-12-01 10:00
原来是这样,怪不得用记事本一打开TPL文件,问题就出来了
回复
Lee 官方认证帐号 2020-12-01 10:00
你修改了什么模版?
要用网页编辑器修改
http://bbs.phpcoo.com/thread-4341-1-1.html
回复
作者信息

5
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询