3.2.3中用Smarty模板出现问题怎么都解决不了

浏览:1304 发布日期:2015/11/11 分类:求助交流 关键字: Smarty
按照使用手册在项目配置config中配置
'TMPL_ENGINE_TYPE'=>'Smarty',
'TMPL_ENGINE_CONFIG'=>array(
'plugins_dir'=>'./Application/Smarty/Plugins/',
),
出现了:
:(
Unkown resource type ' margin'
错误位置

FILE: E:\workspace\ThinkPHP\ThinkPHP\Library\Vendor\Smarty\sysplugins\smarty_resource.php  LINE: 411
TRACE

#0 E:\workspace\ThinkPHP\ThinkPHP\Library\Vendor\Smarty\sysplugins\smarty_resource.php(481): Smarty_Resource::load(object(Smarty), ' margin')
#1 E:\workspace\ThinkPHP\ThinkPHP\Library\Vendor\Smarty\sysplugins\smarty_internal_template.php(628): Smarty_Resource::source(object(Smarty_Internal_Template))
#2 E:\workspace\ThinkPHP\ThinkPHP\Library\Vendor\Smarty\sysplugins\smarty_internal_templatebase.php(117): Smarty_Internal_Template->__get('source')
#3 E:\workspace\ThinkPHP\ThinkPHP\Library\Vendor\Smarty\sysplugins\smarty_internal_templatebase.php(362): Smarty_Internal_Templatebase->fetch(' margin: 0; } d...', NULL, NULL, NULL, true)
#4 E:\workspace\ThinkPHP\ThinkPHP\Library\Think\Template\Driver\Smarty.class.php(39): Smarty_Internal_Templatebase->display(' margin: 0; } d...')
#5 E:\workspace\ThinkPHP\ThinkPHP\Library\Behavior\ParseTemplateBehavior.class.php(43): Think\Template\Driver\Smarty->fetch('
的提示。
本人也在网上搜了很多答案,但是用后都是没有用
请问如何解决啊。急求!!!!
最佳答案
评论( 相关
后面还有条评论,点击查看>>