上传会员形象照片出现问题,官方的我也测试过。无法识...

2020-12-01 10:00

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/love/tpl/templets/default/imgcropper.tpl'' in D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\sysplugins\smarty_internal_template.php:161 Stack trace: #0 D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\sysplugins\smarty_internal_template.php(536): Smarty_Internal_Template->isExisting(true) #1 D:\APMServ5.2.6\www\htdocs\love\tpl\_compiled\423301af87ed9e9c596434f4c1e3a3647e370d0b.file.9izbdq_avatar.tpl.php(146): Smarty_Internal_Template->getRenderedTemplate() #2 D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\sysplugins\smarty_internal_template.php(421): include('D:\APMServ5.2.6...') #3 D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\sysplugins\smarty_internal_template.php(553): Smarty_Internal_Template->renderTemplate() #4 D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\class.smarty.php(335): Smarty_Internal_Template->getRenderedTemplate() #5 D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\class.smarty.php(379): in D:\APMServ5.2.6\www\htdocs\love\source\core\smarty\sysplugins\smarty_internal_template.php on line 161

3100 次浏览 9 条评论 收藏

说说我的看法

登录后可以发表评论 登录
9个评论
-- 2020-12-01 10:00
加我Q吧  一起讨论 2696521655
回复
Lee 官方认证帐号 2020-12-01 10:00
sbszyd 发表于 2013-1-8 12:26 static/image/common/back.gif
谢谢,但是修改了以后出现这个问题

Fatal error: Uncaught exception \'SmartyCompilerException\' with m ...

标签写错了,多了个$号
回复
-- 楼主 2020-12-01 10:00
Lee 发表于 2013-1-8 12:04 static/image/common/back.gif
passport_setavatar.tpl模板
16,17行 $skinpath标签改成$tplpath

谢谢,但是修改了以后出现这个问题

Fatal error: Uncaught exception \'SmartyCompilerException\' with message \'Syntax Error in template \"D:\\APMServ5.2.6\\www\\htdocs\\love\\tpl/templets/default/9izbdq_passport_setavatar.tpl\" on line 16 \" &lt;!--{include file=&quot;&lt;!--{$$tplpath}--&gt;imgcropper.tpl&quot;}--&gt; \" - Unexpected \"$\", expected one of: \"<!--{\" , \"identifier\"\' in D:\\APMServ5.2.6\\www\\htdocs\\love\\source\\core\\smarty\\sysplugins\\smarty_internal_templatecompilerbase.php:423 Stack trace: #0 D:\\APMServ5.2.6\\www\\htdocs\\love\\source\\core\\smarty\\sysplugins\\smarty_internal_templateparser.php(2802): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 D:\\APMServ5.2.6\\www\\htdocs\\love\\source\\core\\smarty\\sysplugins\\smarty_internal_templateparser.php(2867): Smarty_Internal_Templateparser->yy_syntax_error(17, \'$\') #2 D:\\APMServ5.2.6\\www\\htdocs\\love\\source\\core\\smarty\\sysplugins\\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(17, \'$\') #3 D:\\APMServ5.2.6\\www\\htdocs\\love\\source\\core\\smarty\\sysplugins\\smarty_int in D:\\APMServ5.2.6\\www\\htdocs\\love\\source\\core\\smarty\\sysplugins\\smarty_internal_templatecompilerbase.php on line 423
回复
Lee 官方认证帐号 2020-12-01 10:00
sbszyd 发表于 2013-1-8 11:57 static/image/common/back.gif
你好。这个帖子我看了。设置形象照片的时候。用你给出的方法是可以纠正错误的,,,,,但是会员注册的时 ...

passport_setavatar.tpl模板
16,17行 $skinpath标签改成$tplpath
回复
-- 楼主 2020-12-01 10:00
Lee 发表于 2013-1-8 11:49 static/image/common/back.gif
解决方法请看此帖
http://bbs.phpcoo.com/thread-7024-1-1.html

你好。这个帖子我看了。设置形象照片的时候。用你给出的方法是可以纠正错误的,,,,,但是会员注册的时候 上传照片就不行的啊。。。会报错
回复
Lee 官方认证帐号 2020-12-01 10:00
解决方法请看此帖
http://bbs.phpcoo.com/thread-7024-1-1.html
回复
-- 楼主 2020-12-01 10:00
顶上去[s:15][s:15][s:15][s:15][s:15][s:15]
回复
-- 2020-12-01 10:00
sbszyd 发表于 2013-1-7 13:44 static/image/common/back.gif
居然没一个人能解决这个问题,连官方的客服都是敷衍。。哎

如果是程序问题,我们会在下次的补丁更新。
回复
-- 楼主 2020-12-01 10:00
居然没一个人能解决这个问题,连官方的客服都是敷衍。。哎
回复
作者信息

2
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询