ColdFusion 在 CFSET Bad File Exception 上给出错误
ColdFusion gives error on CFSET Bad File Exception
我已经 运行 解决了一个 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
BlueDragon 时间@服务器:04:29:08.223 2015 年 3 月 3 日,星期二
我真的不知道出了什么问题,所以如果有人可以帮助我,那就太棒了。在这一点上,任何建议都会很好。谢谢!
<cfset count++>
以上语法在 BlueDragon 中可能无效。您可以将其更改为更通用,所有主要 CFML 引擎都支持它。
<cfset count = count+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
BlueDragon 时间@服务器:04:29:08.223 2015 年 3 月 3 日,星期二
我真的不知道出了什么问题,所以如果有人可以帮助我,那就太棒了。在这一点上,任何建议都会很好。谢谢!
<cfset count++>
以上语法在 BlueDragon 中可能无效。您可以将其更改为更通用,所有主要 CFML 引擎都支持它。
<cfset count = count+1>