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

Complex constructs are not supported with function PreserveSingleQuotes.

Use simple variable instead.

The CFML compiler was processing:

  • The body of a cfquery tag beginning on line 6, column 17.
  • The body of a cfquery tag beginning on line 6, column 17.
 
The error occurred in D:/HOSTINGSPACES/america/americanportable.com/wwwroot/dynamic/townDetail.cfm: line 29
27 : 				
28 : 				<cfif len("url.town")>
29 : 					AND z.city = '#PreserveSingleQuotes(UnCleanURL(url.town))#'
30 : 				</cfif>
31 :                         ORDER BY s.code, c.name

Resources:

Browser   CCBot/2.0 (http://commoncrawl.org/faq/)
Remote Address   54.196.119.93
Referrer  
Date/Time   24-Oct-14 10:21 AM
Stack Trace


coldfusion.compiler.CFMLParserBase$UnsupportedComplexException: Complex constructs are not supported with function PreserveSingleQuotes.
	at coldfusion.compiler.cfml40.SpecialForm(cfml40.java:6973)
	at coldfusion.compiler.cfml40.PrimaryExpression(cfml40.java:6113)
	at coldfusion.compiler.cfml40.UnaryExpression(cfml40.java:5955)
	at coldfusion.compiler.cfml40.ExponentialExpression(cfml40.java:5912)
	at coldfusion.compiler.cfml40.MultiplyDivisionExpression(cfml40.java:5865)
	at coldfusion.compiler.cfml40.IntegerDivisionExpression(cfml40.java:5846)
	at coldfusion.compiler.cfml40.ModExpression(cfml40.java:5827)
	at coldfusion.compiler.cfml40.AdditionExpression(cfml40.java:5780)
	at coldfusion.compiler.cfml40.ConcatExpression(cfml40.java:5761)
	at coldfusion.compiler.cfml40.ComparisonExpression(cfml40.java:5614)
	at coldfusion.compiler.cfml40.NotExpression(cfml40.java:5564)
	at coldfusion.compiler.cfml40.AndExpression(cfml40.java:5536)
	at coldfusion.compiler.cfml40.OrExpression(cfml40.java:5517)
	at coldfusion.compiler.cfml40.XorExpression(cfml40.java:5498)
	at coldfusion.compiler.cfml40.EqvExpression(cfml40.java:5479)
	at coldfusion.compiler.cfml40.ImpExpression(cfml40.java:5460)
	at coldfusion.compiler.cfml40.HookExpression(cfml40.java:5415)
	at coldfusion.compiler.cfml40.expr(cfml40.java:5399)
	at coldfusion.compiler.cfml40.ExpressionBody(cfml40.java:1000)
	at coldfusion.compiler.cfml40.BodyHashExpression(cfml40.java:969)
	at coldfusion.compiler.cfml40.cfml(cfml40.java:4588)
	at coldfusion.compiler.cfml40.cfif(cfml40.java:311)
	at coldfusion.compiler.cfml40.cfml(cfml40.java:4554)
	at coldfusion.compiler.cfml40.start(cfml40.java:4994)
	at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:694)
	at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java:675)
	at coldfusion.compiler.NeoTranslator.parseAndTransform(NeoTranslator.java:428)
	at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:370)
	at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:147)
	at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:436)
	at coldfusion.util.LruCache.get(LruCache.java:180)
	at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:362)
	at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
	at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
	at coldfusion.util.SoftCache.get(SoftCache.java:81)
	at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
	at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
	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 sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:166)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:299)
	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:57)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:274)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:271)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:246)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:57)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)