美工设计了一个index.tpl,当里面的内容过多的时候(纯html,没有任何其他代码)
就报错.我只要删除一个大点的div就不会出错。
错误如下:
//-------------------------------------------------------------------
Fatal error: Uncaught exception 'Exception' with message 'Unexpected input at line1: <' in C:\php\www\new\libs\sysplugins\smarty_internal_templatelexer.php:242 Stack trace: #0 C:\php\www\new\libs\sysplugins\smarty_internal_templatelexer.php(102): Smarty_Internal_Templatelexer->yylex1() #1 C:\php\www\new\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(44): Smarty_Internal_Templatelexer->yylex() #2 C:\php\www\new\libs\sysplugins\smarty_internal_templatecompilerbase.php(80): Smarty_Internal_SmartyTemplateCompiler->doCompile('<!DOCTYPE html ...') #3 C:\php\www\new\libs\sysplugins\smarty_internal_template.php(288): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(Smarty_Internal_Template)) #4 C:\php\www\new\libs\sysplugins\smarty_internal_template.php(425): Smarty_Internal_Template->compileTemplateSource() #5 C:\php\www\new\libs\sysplugins\smarty_internal_template.php(521): Smarty_Internal_Template->renderTemplate() #6 C:\php\www\new\libs\Smarty.class.php(318): Smarty_Internal_Template->getRenderedTempla in C:\php\www\new\libs\sysplugins\smarty_internal_templatelexer.php on line 242//-----------------------------------------------------------------
可我觉得页面也不是很大就37K