1

我一直在尝试迁移到我的托管计划的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 here

蓝龙时间@服务器:04:29:08.223 2015 年 3 月 3 日,星期二

我真的不知道出了什么问题,所以如果有人可以帮助我,那就太棒了。在这一点上,任何建议都会很棒。谢谢!

4

1 回答 1

0
<cfset count++> 

上述语法在 BlueDragon 中可能无效。您可以将其更改为更通用的,所有主要的 CFML 引擎都支持。

<cfset count = count+1>
于 2015-03-04T03:00:49.730 回答