在Smarty的使用中出现了如下错误,求大神解答,多谢

Fatalerror:Uncaughtexception'SmartyException'withmessage'Callofunknownmethod'register... Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'register_function'.' in D:\AppServ\www\02\01\system\libs\sysplugins\smarty_internal_templatebase.php:806 Stack trace: #0 [internal function]: Smarty_Internal_TemplateBase->__call('register_functi...', Array) #1 D:\AppServ\www\02\01\system\system.inc.php(22): SmartyProject->register_function('unhtml', 'unhtml') #2 D:\AppServ\www\02\01\index.php(3): require_once('D:\AppServ\www\...') #3 {main} thrown inD:\AppServ\www\02\01\system\libs\sysplugins\smarty_internal_templatebase.php on line 806 展开
 我来答
小叶顾10
2013-07-14 · TA获得超过256个赞
知道小有建树答主
回答量:211
采纳率:0%
帮助的人:113万
展开全部
你模版语法写错了,貌似是你在模版里用 . (点)来连接字符串了!
追问
我初学Smarty,还想到这块的知识点还蛮复杂的。谢谢您的回答。
追答
慢慢就好了!
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式