头像上传问题和BUG以及建议

2020-12-01 10:00

在添加会员时没法会员头像,添加完管理时管理头像是灰色,点击登陆进入会员界面选择完善资料一形象照出现:“Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/lglpnet/sc/tpl/templets/default/imgcropper.tpl'' in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(538): Smarty_Internal_Template->isExisting(true) #1 /home/hao69/public_html/lglpnet/sc/tpl/_compiled/b2c46c1dd8ee7bcdd15793444e0f407e42e9f079.file.9izbdq_avatar.tpl.php(146): Smarty_Internal_Template->getRenderedTemplate() #2 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(423): include('/home/hao69/pub...') #3 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(555): Smarty_Internal_Template->renderTemplate() #4 /home/hao69/public_html/lglpnet/sc/source/core/smarty/class.smarty.php(335): Smarty_Internal_Template->getRenderedTemplate() #5 /home/hao69/public_html/lglpnet/sc/source/core/sm in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php on line 163”请问怎么回事?
建议:在注册时增加上传vdieo,和在首页和会员页增加vdieo展示以及在会员资料页添加分享(跟佳缘一样,可不可分享由会员自行勾选,默认可以。)。

3725 次浏览 9 条评论 收藏

说说我的看法

登录后可以发表评论 登录
9个评论
-- 楼主 2020-12-01 10:00
对了,问下,我是用notepad++改的,改了后变成了文本文件,不是tpl文件,我把后缀名改成tpl然后上传覆盖有没错误的。
回复
-- 楼主 2020-12-01 10:00
怎么回事呀呀???这个是最基本的功能,肯定得能修改。而且注册完马上就弹到登陆页面,没有继续填写详细资料的步骤。也不能上传vdieo?
回复
-- 楼主 2020-12-01 10:00
自己注册了个测试用户然后上传形象照就显示这样:Fatal error: Uncaught exception \'SmartyException\' with message \'Unable to load template file \'/lglpnet/sc/tpl/templets/default/imgcropper.cpavatar.tpl\'\' in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(538): Smarty_Internal_Template->isExisting(true) #1 /home/hao69/public_html/lglpnet/sc/tpl/_compiled/b2c46c1dd8ee7bcdd15793444e0f407e42e9f079.file.9izbdq_avatar.tpl.php(153): Smarty_Internal_Template->getRenderedTemplate() #2 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(423): include(\'/home/hao69/pub...\') #3 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(555): Smarty_Internal_Template->renderTemplate() #4 /home/hao69/public_html/lglpnet/sc/source/core/smarty/class.smarty.php(335): Smarty_Internal_Template->getRenderedTemplate() #5 /home/hao69/public_html/lglpnet/sc/sourc in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php on line 163
回复
-- 2020-12-01 10:00
我也遇到上传头像,不能上传的问题。
错误提示是:access……………………
回复
-- 楼主 2020-12-01 10:00
已经在管理后台更新了页面缓存和页面数据了还是会。
Fatal error: Uncaught exception \'SmartyException\' with message \'Unable to load template file \'/lglpnet/sc/tpl/templets/default/imgcropper.cpavatar.tpl\'\' in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(538): Smarty_Internal_Template->isExisting(true) #1 /home/hao69/public_html/lglpnet/sc/tpl/_compiled/b2c46c1dd8ee7bcdd15793444e0f407e42e9f079.file.9izbdq_avatar.tpl.php(153): Smarty_Internal_Template->getRenderedTemplate() #2 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(423): include(\'/home/hao69/pub...\') #3 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(555): Smarty_Internal_Template->renderTemplate() #4 /home/hao69/public_html/lglpnet/sc/source/core/smarty/class.smarty.php(335): Smarty_Internal_Template->getRenderedTemplate() #5 /home/hao69/public_html/lglpnet/sc/sourc in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php on line 163
回复
Lee 官方认证帐号 2020-12-01 10:00
bigapple31 发表于 2013-5-24 00:20 static/image/common/back.gif
是tpl/templets/default/和这个目录下tpl/templets/default/cp的文件吧,改了,不过在会员管理里的会员头像 ...

改完后,清除下页面缓存再打开。
回复
-- 楼主 2020-12-01 10:00
之前没改好象是先上传到相册,然后点设为形象照,现在一点设为形象照出现这个:
Fatal error: Uncaught exception \'SmartyException\' with message \'Unable to load template file \'/lglpnet/sc/tpl/templets/default/imgcropper.cpavatar.tpl\'\' in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(538): Smarty_Internal_Template->isExisting(true) #1 /home/hao69/public_html/lglpnet/sc/tpl/_compiled/b2c46c1dd8ee7bcdd15793444e0f407e42e9f079.file.9izbdq_avatar.tpl.php(153): Smarty_Internal_Template->getRenderedTemplate() #2 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(423): include(\'/home/hao69/pub...\') #3 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(555): Smarty_Internal_Template->renderTemplate() #4 /home/hao69/public_html/lglpnet/sc/source/core/smarty/class.smarty.php(335): Smarty_Internal_Template->getRenderedTemplate() #5 /home/hao69/public_html/lglpnet/sc/sourc in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php on line 163
回复
-- 楼主 2020-12-01 10:00
是tpl/templets/default/和这个目录下tpl/templets/default/cp的文件吧,改了,不过在会员管理里的会员头像还是灰色的,点击登陆进入会员界面选择上传个人头像出现完善资料一形象照选择头像上传后出现这个:

Fatal error: Uncaught exception \'SmartyException\' with message \'Unable to load template file \'/lglpnet/sc/tpl/templets/default/imgcropper.cpavatar.tpl\'\' in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(538): Smarty_Internal_Template->isExisting(true) #1 /home/hao69/public_html/lglpnet/sc/tpl/_compiled/b2c46c1dd8ee7bcdd15793444e0f407e42e9f079.file.9izbdq_avatar.tpl.php(153): Smarty_Internal_Template->getRenderedTemplate() #2 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(423): include(\'/home/hao69/pub...\') #3 /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php(555): Smarty_Internal_Template->renderTemplate() #4 /home/hao69/public_html/lglpnet/sc/source/core/smarty/class.smarty.php(335): Smarty_Internal_Template->getRenderedTemplate() #5 /home/hao69/public_html/lglpnet/sc/sourc in /home/hao69/public_html/lglpnet/sc/source/core/smarty/sysplugins/smarty_internal_template.php on line 163
回复
-- 2020-12-01 10:00
模板文件:
passport_setavatar.tpl和cp/avatar.tpl

将代码                         <!--{include file=\"<!--{$skinpath}-->imgcropper.tpl\"}-->
                        <!--{include file=\"<!--{$skinpath}-->imgcropper.regavatar.tpl\"}-->

改成                         <!--{include file=\"<!--{$tplpath}-->imgcropper.tpl\"}-->
                        <!--{include file=\"<!--{$tplpath}-->imgcropper.regavatar.tpl\"}-->
回复
作者信息

36
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询