Lucee 6.0.0.585 Error (database) | |
Message | Column name [smallImage] already exists |
SQL | SELECT *, (select count(page_id) FROM uploaded_documents_pages WHERE page_id = pages.id) AS doc_count, (select uploaded_documents.document_file_path FROM uploaded_documents LEFT JOIN uploaded_documents_pages ON uploaded_documents_pages.doc_id = uploaded_documents.id WHERE uploaded_documents_pages.page_id = pages.id ORDER BY uploaded_documents_pages.sort_order ASC LIMIT 1) AS document_file_path, (select uploaded_documents.thumbnail FROM uploaded_documents LEFT JOIN uploaded_documents_pages ON uploaded_documents_pages.doc_id = uploaded_documents.id WHERE uploaded_documents_pages.page_id = pages.id ORDER BY uploaded_documents_pages.sort_order ASC LIMIT 1) AS thumbnail, (select uploaded_documents.document_file FROM uploaded_documents LEFT JOIN uploaded_documents_pages ON uploaded_documents_pages.doc_id = uploaded_documents.id WHERE uploaded_documents_pages.page_id = pages.id ORDER BY uploaded_documents_pages.sort_order ASC LIMIT 1) AS document_file, (select uploaded_documents_pages.alt_tag FROM uploaded_documents_pages WHERE uploaded_documents_pages.page_id = pages.id ORDER BY uploaded_documents_pages.sort_order ASC LIMIT 1) AS alt_tag, (select uploaded_documents.document_file_path FROM uploaded_documents LEFT JOIN uploaded_documents_pages ON uploaded_documents_pages.doc_id = uploaded_documents.id WHERE (uploaded_documents_pages.page_id = pages.id) AND (uploaded_documents_pages.categoryID = 12) ORDER BY uploaded_documents_pages.sort_order ASC LIMIT 1) AS logo_file_path, (select uploaded_documents.document_file FROM uploaded_documents LEFT JOIN uploaded_documents_pages ON uploaded_documents_pages.doc_id = uploaded_documents.id WHERE (uploaded_documents_pages.page_id = pages.id) AND (uploaded_documents_pages.categoryID = 12) ORDER BY uploaded_documents_pages.sort_order ASC LIMIT 1) AS logo_file_white FROM pages WHERE pages.deleted != 1 AND filename LIKE 'boats-for-sale' ORDER BY sort_order ASC LIMIT 120 |
Stacktrace | The Error Occurred in /var/www/vhosts/oceanyachtsales.com/httpdocs/admin/sections/webpages/pages.cfc: line 316 314:called from /var/www/vhosts/oceanyachtsales.com/httpdocs/admin/sections/webpages/pages.cfc: line 174 172: <!---- add images ---->called from /var/www/vhosts/oceanyachtsales.com/httpdocs/Application.cfc: line 207 205: <!-------- /new stuff to allow numbers as page names ---------> |
Java Stacktrace | lucee.runtime.exp.DatabaseException: Column name [smallImage] already exists at lucee.runtime.type.QueryImpl.addColumn(QueryImpl.java:1479) at lucee.runtime.functions.query.QueryAddColumn.call(QueryAddColumn.java:50) at admin.sections.webpages.pages_cfc$cf.udfCall1(/admin/sections/webpages/pages.cfc:316) at admin.sections.webpages.pages_cfc$cf.udfCall(/admin/sections/webpages/pages.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:787) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1777) at admin.sections.webpages.pages_cfc$cf.udfCall1(/admin/sections/webpages/pages.cfc:174) at admin.sections.webpages.pages_cfc$cf.udfCall(/admin/sections/webpages/pages.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:668) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:589) at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2012) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1796) at application_cfc$cf.udfCall(/Application.cfc:207) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:356) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:667) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:589) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1993) at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:446) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:220) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2494) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2480) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2451) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1219) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1165) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:764) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1707) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Unknown Source) |
Timestamp | 3/28/24 11:59:45 AM EDT |