CI结合Smarty,去掉index.php,Smarty报错
我用CI结合Smarty工作在去掉index.php后,Smarty报错。
在没用到Smarty的页面能正常显示,包括css和js还有图片都正常。
所有用到Smarty的页面都报错了。
Fatal error: Uncaught exception 'SmartyCompilerException' in E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_templatecompilerbase.php:657 Stack trace: #0 E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_templateparser.php(3144): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_templateparser.php(3209): Smarty_Internal_Templateparser->yy_syntax_error(10, '?') #2 E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(10, '?') #3 E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCompile('??<link href="{...') #4 E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_compile_block.php(197): Smarty_Internal_TemplateComp inE:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 657
有碰到过类似问题的朋友吗?能解决不?
smarty 安装有问题吧?
这个看起来都是 smarty 自己报的错。
页:
[1]