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 ') AND TBL_ClientManage.SW_Online = 1 AND TBL_ClientCity.CityID IN' at line 39
 
The error occurred in C:\Inetpub\wwwroot\WeddingsWest\public\src\cfc\company.cfc: line 106
Called from C:\Inetpub\wwwroot\WeddingsWest\public\src\pages\categories_out.cfm: line 7
Called from C:\Inetpub\wwwroot\WeddingsWest\public\src\cfc\company.cfc: line 106
Called from C:\Inetpub\wwwroot\WeddingsWest\public\src\pages\categories_out.cfm: line 7
104 : 			AND TBL_ClientCity.CityID = 0
105 : 			<cfelse>
106 : 				AND TBL_ClientCity.CityID IN (#ValueList(returnCityRelations.rCityID)#) 
107 : 			</cfif>
108 : 			AND ((TBL_City.tabStatus = 0 AND TBL_Category.SectionID = 1) OR TBL_City.tabStatus = 1)

SQLSTATE   42000
SQL    SELECT TBL_ClientManage.ClientM_ID, TBL_ClientManage.SW_URL_Link, TBL_ClientManage.SW_More_Info_Link, TBL_ClientManage.COMPANYNAMEDISPLAY, TBL_ClientManage.DisplayAddress, TBL_ClientManage.ClientWebsiteStatus, TBL_ClientManage.LoyalRewards, TBL_ClientManage.SW_SameSex, TBL_ClientCity.Phone, TBL_ClientCity.Address, TBL_ClientCity.City, TBL_ClientCity.COUNTRY, TBL_ClientCity.PROVINCE, TBL_ClientCity.tollFree, TBL_ClientCity.Email, TBL_ClientCity.CityID, TBL_ClientCity.URL, TBL_WedClientCat.CatID, TBL_Category.MasterCategoryID, TBL_Category.CategoryName, TBL_Category.SectionID, TBL_City.CityName, TBL_City.Online, TBL_ClientCity.LONG_LAT, TBL_City.tabStatus FROM TBL_ClientManage INNER JOIN TBL_WedClientCat ON TBL_ClientManage.ClientM_ID = TBL_WedClientCat.ClientM_ID INNER JOIN TBL_ClientCity ON TBL_ClientManage.ClientM_ID = TBL_ClientCity.ClientM_ID INNER JOIN TBL_Category ON TBL_WedClientCat.CatID = TBL_Category.CatID INNER JOIN TBL_City ON TBL_ClientCity.CityID = TBL_City.CityID WHERE TBL_WedClientCat.CatID IN () AND TBL_ClientManage.SW_Online = 1 AND TBL_ClientCity.CityID IN (30,69,70,65,19,44,73,52,53,71,72) AND ((TBL_City.tabStatus = 0 AND TBL_Category.SectionID = 1) OR TBL_City.tabStatus = 1) AND TBL_ClientManage.MembershipLevel IN (4,2,3) AND TBL_City.Online = 1 ORDER BY TBL_City.Province, TBL_City.CityName, TBL_ClientManage.MembershipLevel DESC, TBL_ClientManage.CompanyNameDISPLAY;
VENDORERRORCODE   1064
DATASOURCE   weddingswest
Resources:

Browser   ColdFusion
Remote Address   69.90.63.51
Referrer  
Date/Time   22-Apr-10 04:32 PM
Stack Trace
at cfcompany2ecfc1603411402$funcLISTRELATION.runFunction(C:\Inetpub\wwwroot\WeddingsWest\public\src\cfc\company.cfc:106) at cfcategories_out2ecfm1023829446.runPage(C:\Inetpub\wwwroot\WeddingsWest\public\src\pages\categories_out.cfm:7) at cfcompany2ecfc1603411402$funcLISTRELATION.runFunction(C:\Inetpub\wwwroot\WeddingsWest\public\src\cfc\company.cfc:106) at cfcategories_out2ecfm1023829446.runPage(C:\Inetpub\wwwroot\WeddingsWest\public\src\pages\categories_out.cfm:7)

com.mysql.jdbc.exceptions.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 ')
			
			AND TBL_ClientManage.SW_Online = 1
			
				AND TBL_ClientCity.CityID IN' at line 39
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2941)
	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1623)
	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1715)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3243)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:3172)
	at com.mysql.jdbc.Statement.execute(Statement.java:706)
	at com.mysql.jdbc.Statement.execute(Statement.java:783)
	at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:348)
	at coldfusion.sql.Executive.executeQuery(Executive.java:1220)
	at coldfusion.sql.Executive.executeQuery(Executive.java:1008)
	at coldfusion.sql.Executive.executeQuery(Executive.java:939)
	at coldfusion.sql.SqlImpl.execute(SqlImpl.java:325)
	at coldfusion.tagext.sql.QueryTag.executeQuery(QueryTag.java:831)
	at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:521)
	at cfcompany2ecfc1603411402$funcLISTRELATION.runFunction(C:\Inetpub\wwwroot\WeddingsWest\public\src\cfc\company.cfc:106)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:453)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:320)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222)
	at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:358)
	at cfcategories_out2ecfm1023829446.runPage(C:\Inetpub\wwwroot\WeddingsWest\public\src\pages\categories_out.cfm:7)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.CfmServlet.service(CfmServlet.java:175)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
	at jrun.servlet.FilterChain.service(FilterChain.java:101)
	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)