Error Occurred While Processing Request The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.


The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request

Error Executing Database Query.

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 'ORDER BY RelCurDoc.IdCod_tcd' at line 16
 
The error occurred in C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/base.cfc: line 445
Called from C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/query.cfc: line 641
Called from E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/sql/sql_rel_cur_doc.cfc: line 172
Called from E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/view/site/vie_cur_det.cfc: line 54
Called from E:/CI/Sites/inmagni.com.br_v2/cursos/prg_cur_det.cfm: line 33
Called from C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/base.cfc: line 445
Called from C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/query.cfc: line 641
Called from E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/sql/sql_rel_cur_doc.cfc: line 172
Called from E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/view/site/vie_cur_det.cfc: line 54
Called from E:/CI/Sites/inmagni.com.br_v2/cursos/prg_cur_det.cfm: line 33
443 :                         #getPreserveSingleQuotes(sqlArray[1])#
444 :                         <cfif sqlType neq "" and arraylen(sqlParams) gt 0>
445 :                             <cfloop index="i" from="2" to="#ArrayLen(sqlArray)#">
446 :                                 <cfif (i-1) lte arraylen(sqlParams)>
447 :                                     <cfqueryparam attributeCollection="#sqlParams[i-1]#"/>

sqlState   42000
datasource   CP_Inmagni_V2
vendorErrorCode   1064
sql    SELECT RelCurDoc.IdCod_tcu, RelCurDoc.IdCod_tcd, CurDoc.Nom_tcd, CurDoc.TipCon_tcd, CurDoc.Gra_tcd, CurDoc.Esp_tcd, CurDoc.InfAdi_tcd, CurDoc.Img_tcd FROM tab_002_rel_cur_doc AS RelCurDoc LEFT JOIN tab_002_cur AS Cur ON (RelCurDoc.IdCod_tcu = Cur.IdCod_tcu) LEFT JOIN tab_002_cur_doc AS CurDoc ON (RelCurDoc.IdCod_tcd = CurDoc.IdCod_tcd) WHERE 1=1 AND RelCurDoc.IdCod_tcu = ORDER BY RelCurDoc.IdCod_tcd
Resources:

Browser   CCBot/2.0 (http://commoncrawl.org/faq/)
Remote Address   54.225.17.239
Referrer  
Date/Time   16-Jul-18 05:01 PM
Stack Trace
at cfbase2ecfc1142768791$funcINVOKETAG.runFunction(C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/base.cfc:445) at cfquery2ecfc1091551430$funcEXECUTE.runFunction(C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/query.cfc:641) at cfsql_rel_cur_doc2ecfc2115922610$funcSQLRELCURDOCLISTAR.runFunction(E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/sql/sql_rel_cur_doc.cfc:172) at cfvie_cur_det2ecfc1611752809$funcVIECURDET.runFunction(E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/view/site/vie_cur_det.cfc:54) at cfprg_cur_det2ecfm1555260226.runPage(E:/CI/Sites/inmagni.com.br_v2/cursos/prg_cur_det.cfm:33) at cfbase2ecfc1142768791$funcINVOKETAG.runFunction(C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/base.cfc:445) at cfquery2ecfc1091551430$funcEXECUTE.runFunction(C:/CF11/cfusion/CustomTags/com/adobe/coldfusion/query.cfc:641) at cfsql_rel_cur_doc2ecfc2115922610$funcSQLRELCURDOCLISTAR.runFunction(E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/sql/sql_rel_cur_doc.cfc:172) at cfvie_cur_det2ecfc1611752809$funcVIECURDET.runFunction(E:/CI/Sites/painel.clickinterativo.com.br/modulos/curso/002/view/site/vie_cur_det.cfc:54) at cfprg_cur_det2ecfm1555260226.runPage(E:/CI/Sites/inmagni.com.br_v2/cursos/prg_cur_det.cfm:33)

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'ORDER BY RelCurDoc.IdCod_tcd' at line 16
	at sun.reflect.GeneratedConstructorAccessor196.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at com.mysql.jdbc.Util.handleNewInstance(Util.java:395)
	at com.mysql.jdbc.Util.getInstance(Util.java:370)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1038)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2793)
	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2742)
	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:878)
	at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:986)
	at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:359)
	at coldfusion.sql.Executive.executeQuery(Executive.java:1485)
	at coldfusion.sql.Executive.executeQuery(Executive.java:1235)
	at coldfusion.sql.Executive.executeQuery(Executive.java:1165)
	at coldfusion.sql.SqlImpl.execute(SqlImpl.java:406)
	at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:1187)
	at coldfusion.tagext.sql.QueryTag.startQueryExecution(QueryTag.java:816)
	at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:769)
	at cfbase2ecfc1142768791$funcINVOKETAG.runFunction(C:\CF11\cfusion\CustomTags\com\adobe\coldfusion\base.cfc:445)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2854)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2503)
	at cfquery2ecfc1091551430$funcEXECUTE.runFunction(C:\CF11\cfusion\CustomTags\com\adobe\coldfusion\query.cfc:641)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2483)
	at cfsql_rel_cur_doc2ecfc2115922610$funcSQLRELCURDOCLISTAR.runFunction(E:\CI\Sites\painel.clickinterativo.com.br\modulos\curso\002\sql\sql_rel_cur_doc.cfc:172)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2483)
	at cfvie_cur_det2ecfc1611752809$funcVIECURDET.runFunction(E:\CI\Sites\painel.clickinterativo.com.br\modulos\curso\002\view\site\vie_cur_det.cfc:54)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424)
	at cfprg_cur_det2ecfm1555260226.runPage(E:\CI\Sites\inmagni.com.br_v2\cursos\prg_cur_det.cfm:33)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)
	at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
	at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:495)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:153)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:219)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:459)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:196)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)