|
我用CI结合Smarty工作
在去掉index.php后,Smarty报错。
在没用到Smarty的页面能正常显示,包括css和js还有图片都正常。
所有用到Smarty的页面都报错了。
- [b]Fatal error[/b][color=#000][font=微软雅黑][size=3]: 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 in[/size][/font][/color][b]E:\Workspaces\php_aptana\zzl\application\libraries\smarty\sysplugins\smarty_internal_templatecompilerbase.php[/b][color=#000][font=微软雅黑][size=3] on line [/size][/font][/color][b]657[/b]
复制代码
有碰到过类似问题的朋友吗?能解决不?
|
|