用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2697|回复: 1
收起左侧

[HELP] CI结合Smarty,去掉index.php,Smarty报错

[复制链接]
发表于 2013-4-8 10:42:28 | 显示全部楼层 |阅读模式
我用CI结合Smarty工作
在去掉index.php后,Smarty报错。

在没用到Smarty的页面能正常显示,包括css和js还有图片都正常。

所有用到Smarty的页面都报错了。

  1. [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]
复制代码


有碰到过类似问题的朋友吗?能解决不?
发表于 2013-4-8 13:14:39 | 显示全部楼层
smarty 安装有问题吧?
这个看起来都是 smarty 自己报的错。

本版积分规则