Git@OSC版本视图有误
发布于:2022-01-17 09:50:54
#1 ray
Fatal error: Uncaught exception 'SmartyException' with message 'Plugin "spUrl" not callable' in E:\www\nilaituipload\app\SpeedPHP\Drivers\Smarty\sysplugins\smarty_internal_templatebase.php on line 428
( ! ) SmartyException: Plugin "spUrl" not callable in E:\www\nilaituipload\app\SpeedPHP\Drivers\Smarty\sysplugins\smarty_internal_templatebase.php on line 428
从A5下载的版本则无误。
2013-08-12 02:10:18
#2 ray
spController.php 35 行是否有误?
spAddViewFunction('spUrl', '__template_spUrl');
2013-08-12 02:19:19
#3 ray
$this->baseUrl = 'folder';
在controller里面赋值也会出错
Notice: Undefined property: Smarty::$baseUrl in /var/www/upload/app/SpeedPHP/Drivers/Smarty/Smarty.class.php on line 697
2013-08-12 02:47:29
#4 jake
估计是新版的smarty有兼容问题,稍后检查一下,感谢指出!{:soso_e181:}
2013-08-13 23:46:12
#5 ray
jake,什么情况?
2013-08-16 00:22:03
#6 jake
之前是弄混了一些版本,现在没问题了
2013-08-16 08:56:40