php 编程时用到了Smarty模板和PDO,运行时出现这个错误,是不是因为我的数据库只读属性的原因啊
Fatalerror:Uncaughtexception'SmartyException'withmessage'Callofunknownmethod'register...
Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'register_function'.' in D:\AppServ\www\MR\22\system\libs\sysplugins\smarty_internal_templatebase.php:806 Stack trace: #0 [internal function]: Smarty_Internal_TemplateBase->__call('register_functi...', Array) #1 D:\AppServ\www\MR\22\system\system.inc.php(22): SmartyProject->register_function('unhtml', 'unhtml') #2 D:\AppServ\www\MR\22\index.php(4): require('D:\AppServ\www\...') #3 {main} thrown in D:\AppServ\www\MR\22\system\libs\sysplugins\smarty_internal_templatebase.php on line 806
展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询