首页上一页 1 下一页尾页 1 条记录 1/1页
程序问题
发表在PHP图书答疑
2012-04-11
是否精华
是
否
版块置顶:
是
否
php项目开发案例整合一书中的播客这一内容的程序有错误,怎么改
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:/AppServ/www\Podcast\Smarty\\templates/content.tpl" on line 101 "</td>{php}if(($number %2) != 0){{/php} </tr>" - Unexpected "/"' in C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:425 Stack trace: #0 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2866): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2931): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('<html>??<head>?...') #4 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templat in C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 425
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "C:/AppServ/www\Podcast\Smarty\\templates/content.tpl" on line 101 "</td>{php}if(($number %2) != 0){{/php} </tr>" - Unexpected "/"' in C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:425 Stack trace: #0 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2866): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templateparser.php(2931): Smarty_Internal_Templateparser->yy_syntax_error(37, '/') #2 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(37, '/') #3 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(82): Smarty_Internal_SmartyTemplateCompiler->doCompile('<html>??<head>?...') #4 C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templat in C:\AppServ\www\Podcast\Smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 425