Catch
Entries: 15
additional
Struct (ordered)
SQL
stringselect * from productvariance where productid = and var_active = 1 order by var_weight
DatabaseName
stringMySQL
DatabaseVersion
string5.7.10
DriverName
stringMySQL Connector/J
DriverVersion
stringmysql-connector-java-8.0.15 (Revision: 79a4336f140499bd22dd07f02b708e163844e3d5)
Datasource
stringshanghainoodle
DataSource
stringshanghainoodle
Detail
stringYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and var_active = 1 order by var_weight' at line 2
ErrorCode
string0
Extended_Info
string
ExtendedInfo
string
Message
string
NativeErrorCode
number1064
queryError
stringselect * from productvariance where productid = and var_active = 1 order by var_weight
Sql
stringselect * from productvariance where productid = and var_active = 1 order by var_weight
SQLState
string42000
StackTrace
stringlucee.runtime.exp.DatabaseException: at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:782) at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:666) at lucee.runtime.type.util.QueryUtil.execute(QueryUtil.java:293) at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:273) at lucee.runtime.type.QueryImpl.<init>(QueryImpl.java:226) at lucee.runtime.tag.Query.executeDatasoure(Query.java:951) at lucee.runtime.tag.Query.doEndTag(Query.java:700) at products_cfc$cf.udfCall(/dataobjects/products.cfc:43) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:107) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:212) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:695) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:573) at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2010) at lucee.runtime.tag.Invoke.doComponent(Invoke.java:221) at lucee.runtime.tag.Invoke.doEndTag(Invoke.java:194) at system.initialise.renderproduct_cfm$cf.call(/system/initialise/renderproduct.cfm:9) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:933) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:805) at system.templates.product_cfm$cf.call(/system/templates/product.cfm:10) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:933) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:823) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:218) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2464) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2454) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2427) at lucee.runtime.engine.Request.exe(Request.java:44) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1090) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1038) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:479) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
TagContext
Array
1
Struct
codePrintHTML
string41: and var_active = 1<br> 42: order by #arguments.orderby#<br> <b>43: &lt;/cfquery&gt;</b><br> 44: &lt;cfreturn qry_getproductvariances&gt;<br> 45: &lt;/cffunction&gt;<br>
codePrintPlain
string41: and var_active = 1 42: order by #arguments.orderby# 43: </cfquery> 44: <cfreturn qry_getproductvariances> 45: </cffunction>
column
number0
id
string??
line
number43
Raw_Trace
stringproducts_cfc$cf.udfCall(/dataobjects/products.cfc:43)
template
stringC:\home\shanghainoodle.co.nz\wwwroot\system\dataobjects\products.cfc
type
stringcfml
2
Struct
codePrintHTML
string7: &lt;cfinvokeargument name=&quot;productid&quot; value=&quot;#variables.productdata.productid#&quot;&gt;<br> 8: &lt;cfinvokeargument name=&quot;orderby&quot; value=&quot;var_weight&quot;&gt;<br> <b>9: &lt;/cfinvoke&gt;</b><br> 10: &lt;cfset variables.productvardata = productvardata&gt;<br> 11: <br>
codePrintPlain
string7: <cfinvokeargument name="productid" value="#variables.productdata.productid#"> 8: <cfinvokeargument name="orderby" value="var_weight"> 9: </cfinvoke> 10: <cfset variables.productvardata = productvardata> 11:
column
number0
id
string??
line
number9
Raw_Trace
stringsystem.initialise.renderproduct_cfm$cf.call(/system/initialise/renderproduct.cfm:9)
template
stringC:\home\shanghainoodle.co.nz\wwwroot\system\initialise\renderproduct.cfm
type
stringcfml
3
Struct
codePrintHTML
string8: variables.product.producthandle = variables.product.handles.product;<br> 9: //dump(var=&quot;#variables.product#&quot;);<br> <b>10: include &quot;../initialise/renderproduct.cfm&quot;;</b><br> 11: &lt;/cfscript&gt;<br> 12: &lt;!---&lt;cfdump var=&quot;#variables.product#&quot;&gt;---&gt;<br>
codePrintPlain
string8: variables.product.producthandle = variables.product.handles.product; 9: //dump(var="#variables.product#"); 10: include "../initialise/renderproduct.cfm"; 11: </cfscript> 12: <!---<cfdump var="#variables.product#">--->
column
number0
id
string??
line
number10
Raw_Trace
stringsystem.templates.product_cfm$cf.call(/system/templates/product.cfm:10)
template
stringC:\home\shanghainoodle.co.nz\wwwroot\system\templates\product.cfm
type
stringcfml
type
stringdatabase
where
string




Doh!. Houston, we have a problem. We'll work quick smart to fix it for you. In the meantime please click here to return to the homepage.