您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

smarty报错,该怎么处理

2024/3/27 9:03:54发布47次查看
smarty报错
smarty属性报错:
notice: undefined property: smarty::$cacheing in d:\develop\php\vertrigoserv\www\learn\smarty\libs\smarty.class.php on line 669
smarty引擎异常:
fatal error: uncaught exception 'smartyexception' with message 'call of unknown method 'hisplay'.' in d:\develop\php\vertrigoserv\www\learn\smarty\libs\sysplugins\smarty_internal_templatebase.php on line 758
我是用vertrigo当web服务器的,是用apache+mysql,应该是没问题的啊...
但是为什么新建模板就是报错..- -
------解决方案--------------------
sorry 看错了。
undefined property: smarty::$cacheing
属性$cacheing没有定义。
call of unknown method 'hisplay'。。。。
调用一个未知的方法(history)...
------解决方案--------------------
搞清楚二点。
1、你的smarty是否是官方正式版本。
2、上面说的很清楚,缺少变量,你要注册下,比如$smarty->assign('cacheing', 这里是值);
------解决方案--------------------
贴出你执行的代码。看你是否遵循smarty写法。
------解决方案--------------------
你确定是
$smarty->display('');
而不是
$smarty->hisplay();
?
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product