我已经遇到这个问题与一个coldfusion网站,我试图迁移到我的托管计划。当我打开索引文件时,我一直看到这个:
Bad File Exception
Request /index.cfm
Type Template
Message Expression Error
Position Line=166; Column=25
Detail Problem occurred while parsing: count++
Extended Info Encountered "<EOF>". Was expecting one of:
<FLOATING_POINT_LITERAL> ... "-" ... "+" ... "#" ... "(" ...
<IDENTIFIER> ... "DOES" ... "CONTAIN" ... "GREATER" ... "THAN" ... "LESS" ... "VAR" ... <INTEGER_LITERAL> ... <STRING_LITERAL> ... <BOOLEAN_LITERAL> ... "NULL" ...
Source 163: </li>
164: </ul><!--end social-->
165: </section><!--end column-->
166: <cfset count++> <-- that is where the error happens
167: </cfoutput>
^ Snippet from underlying CFML source enter code hereBlueDragon Time @ Server: 04:29:08.223 2015年3月3日星期二
我真的不知道出了什么问题,所以如果有人能帮我,那就太棒了。在这一点上,任何建议都是很好的。谢谢!
发布于 2015-03-04 03:00:49
<cfset count++> 上述语法在BlueDragon中可能无效。您可以将其更改为更通用的,所有主要的CFML引擎都支持它。
<cfset count = count+1>https://stackoverflow.com/questions/28831930
复制相似问题