McKinley Building Celebrating 25 Years of Service

Posted on 04/28/2017 in Press

Lucee 5.2.1.9 Error (expression)
Message invalid variable name declaration []
Stacktrace The Error Occurred in
E:\inetpub\wwwroot\domains\mckinleybuilding.com\htdocs\blog\comment.cfm: line 7
5: SELECT * FROM blog_comments WHERE postid = <cfqueryparam value="#post.id#" cfsqltype="cf_sql_integer">
6: and approved = <cfqueryparam CFSQLType="CF_SQL_VARCHAR" value="yes">
7: </cfquery>
8:
9: <cfif getComments.recordcount gt 0>

called from E:\inetpub\wwwroot\domains\mckinleybuilding.com\htdocs\blog\single.cfm: line 37
called from E:\inetpub\wwwroot\domains\mckinleybuilding.com\htdocs\blog\home.cfm: line 42
Java Stacktrace lucee.runtime.interpreter.InterpreterException: invalid variable name declaration []
  at lucee.runtime.interpreter.VariableInterpreter.setVariable(VariableInterpreter.java:350)
  at lucee.runtime.PageContextImpl.setVariable(PageContextImpl.java:1495)
  at lucee.runtime.tag.Query.doEndTag(Query.java:739)
  at blog.comment_cfm$cf.call(/blog/comment.cfm:7)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:928)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:842)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:826)
  at blog.single_cfm$cf.call(/blog/single.cfm:37)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:928)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:842)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:826)
  at blog.home_cfm$cf.call(/blog/home.cfm:42)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:928)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:842)
  at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:63)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2408)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2398)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2366)
  at lucee.runtime.engine.Request.run(Request.java:34)
 
Timestamp 9/24/17 8:49:04 PM EDT