Lucee [5.3.5.96] - Error (Database)
MessageYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'at line 1', '', ' The error occurred in <b>/opt/lucee/tomcat/weba' at line 9
SQLInsert into errorsJun26 (FromPage,referrer,errorCode,message,detail,context,Browser,address,theDateTime,stackTrace) Values ( '/details.cfm?p=610%5C', '', '260615-138997', 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''''610\'''' at line 1', '', ' The error occurred in <b>/opt/lucee/tomcat/webapps/ROOT/alva.org.uk/httpdocs/details.cfm:&nbsp;line 6</b><br> 4:&nbsp;&lt;cfquery&nbsp;name=&quot;thispage&quot;&nbsp;datasource=&quot;crmdsn&quot;&gt;<br> 5:&nbsp;select&nbsp;*&nbsp;from&nbsp;alva_pages&nbsp;where&nbsp;codeid&nbsp;=&nbsp;''#url.p#''<br> <b>6:&nbsp;&lt;/cfquery&gt;</b><br> 7:&nbsp;&lt;cfif&nbsp;url.p&nbsp;eq&nbsp;''614''&gt;<br> 8:&nbsp;&lt;cfquery&nbsp;name=&quot;thispagefiles&quot;&nbsp;datasource=&quot;crmdsn&quot;&gt;<br> ', 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])', '127.0.0.1', 'Mon, 15 Jun 2026 21:36:39 GMT', 'lucee.runtime.exp.DatabaseException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''''610\'''' at line 1 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:319) at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:271) at lucee.runtime.type.QueryImpl.&lt;init&gt;(QueryImpl.java:225) at lucee.runtime.tag.Query.executeDatasoure(Query.java:1091) at lucee.runtime.tag.Query._doEndTag(Query.java:672) at lucee.runtime.tag.Query.doEndTag(Query.java:552) at details_cfm$cf.call(/details.cfm:6) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:944) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:836) at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:64) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2415) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2405) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2380) at lucee.runtime.engine.Request.exe(Request.java:43) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1126) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1072) 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.http11.Http11Processor.service(Http11Processor.java:800) 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) ' )
DatabaseNameMySQL
DatabaseVersion8.4.7
DriverNameMySQL Connector/J
DriverVersionmysql-connector-java-8.0.15 (Revision: 79a4336f140499bd22dd07f02b708e163844e3d5)
DatasourceErrors
Context
templateline
called from /opt/lucee/tomcat/webapps/ROOT/leisurehub.org/httpdocs/templatesNEW/whoops_page.cfm323
Code
321: )
322:
323: </cfquery>
324:
325:
Java Stacktrace
lucee.runtime.exp.DatabaseException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'at line 1',
'',
'
The error occurred in <b>/opt/lucee/tomcat/weba' at line 9
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:319)
at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:271)
at lucee.runtime.type.QueryImpl.<init>(QueryImpl.java:225)
at lucee.runtime.tag.Query.executeDatasoure(Query.java:1091)
at lucee.runtime.tag.Query._doEndTag(Query.java:672)
at lucee.runtime.tag.Query.doEndTag(Query.java:552)
at whoops_page_cfm$cf$3jt.call(/templates1/whoops_page.cfm:323)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:944)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:836)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
at lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:2046)
at lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1962)
at lucee.runtime.listener.ClassicAppListener._onError(ClassicAppListener.java:139)
at lucee.runtime.listener.MixedAppListener.onError(MixedAppListener.java:122)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2435)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2405)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2380)
at lucee.runtime.engine.Request.exe(Request.java:43)
at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1126)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1072)
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.http11.Http11Processor.service(Http11Processor.java:800)
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)