Lucee 5.3.6.61 Error (database)
Message Invalid column name 'smanImgFileName'.
SQL SELECT
sproKey,
sproSortNr,
sproName_fr_CH AS sproName,
sproShortDescription_fr_CH AS sproShortDescription,
sproDescription_fr_CH AS sproDescription,
sproImgFileName,
sproArticleNumber,
IIF(Vertriebseinheit < 1, 1, Vertriebseinheit) AS Vertriebseinheit,
smanKey, smanName, smanImgFileName,
'/pages/img/trans.gif' AS availabilityImageUrl,
'' AS availabilityText
FROM tShopProduct
INNER JOIN AX_HAT.dbo.t_Artikel WITH (NOLOCK) ON sproArticleNumber = Artikelnummer COLLATE Latin1_General_CI_AS
LEFT JOIN tShopManufacturer ON sproSmanId = smanKey
WHERE sproSprtId = 31455653
AND (Lagerbestand_Total > 0 OR Auslaufartikel = 0)
ORDER BY sproSortNr, sproArticleNumber, sproName
DatabaseName Microsoft SQL Server
DatabaseVersion 13.00.5888
DriverName Microsoft JDBC Driver 7.2 for SQL Server
DriverVersion 7.2.2.0
Datasource aut_shop
Stacktrace The Error Occurred in
E:\web-data\bwise.h-base.ch\http\pages\dyn\shop\productQuery_inc.cfm: line 21
19: AND (Lagerbestand_Total > 0 OR Auslaufartikel = 0)
20: ORDER BY sproSortNr, sproArticleNumber, sproName
21: </cfquery>
22:
23: <!---<cfset qAvailability = getAvailability(valueList(qShopProduct.sproArticleNumber, ";"))>--->

called from E:\web-data\bwise.h-base.ch\http\pages\dyn\shop\productType_det.cfm: line 25
called from E:\web-data\bwise.h-base.ch\http\pages\dyn\shop\index.cfm: line 58
called from E:\web-data\bwise.h-base.ch\http\GetInside.cfm: line 28
called from E:\web-data\bwise.h-base.ch\http\index.cfm: line 443
Java Stacktrace lucee.runtime.exp.DatabaseException: Invalid column name 'smanImgFileName'.
  at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262)
  at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1621)
  at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:592)
  at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:522)
  at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7194)
  at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2935)
  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:248)
  at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:223)
  at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.execute(SQLServerPreparedStatement.java:503)
  at lucee.runtime.type.util.QueryUtil.execute(QueryUtil.java:327)
  at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:280)
  at lucee.runtime.type.QueryImpl.(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 pages.dyn.shop.productquery_inc_cfm$cf$41z.call(/pages/dyn/shop/productQuery_inc.cfm:21)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
  at pages.dyn.shop.producttype_det_cfm$cf$41y.call(/pages/dyn/shop/productType_det.cfm:25)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
  at pages.dyn.shop.index_cfm$cf$41x.call(/pages/dyn/shop/index.cfm:58)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
  at getinside_cfm$cf.call(/GetInside.cfm:28)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
  at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
  at index_cfm$cf.call(/index.cfm:443)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:945)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837)
  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:2416)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2406)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2381)
  at lucee.runtime.engine.Request.exe(Request.java:43)
  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1127)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1073)
  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:741)
  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:53)
  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:202)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:415)
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
  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 27.11.22 07:05:41 CET