Copy link to clipboard
Copied
New install on new server, migrated settings manually via the cf11settings folder and run migration task.
In CFAdmin, on the Server Settings page, I get:
An Error Has Occurred
Something isn't working properly. We apologize for any inconvenience
In my error alert, I see:
An error occurred: https://servername/CFIDE/administrator/settings/server_settings.cfm?
Time: 7/30/18 12:02 PM
Error - struct
Browser Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36
DateTime {ts '2018-07-30 12:02:40'}
Diagnostics Variable ALLOWEXTRAATTRIBUTESINATTRCOLL is undefined. <br>The error occurred on line 1104.
I have looked at neo-runtime.xml for anything amiss (looks fine at a glance) and I am unable to open \\ColdFusion2016\cfusion\wwwroot\CFIDE\administrator\settings\server_settings.cfm in a text editor, I presume it is encrypted. I am by no means a CF aficionado, just a sys admin upgrading for our developer.
I had to recreate data sources, they imported, but did not work and only just manually creating them fixed, but other than that and this one page, it seems like it is good. Any insight or suggestions would be super appreciated.
Windows Server 2012 R2
Adobe ColdFusion 2016 Enterprise
Copy link to clipboard
Copied
Error report for more details:
Message | Variable ALLOWEXTRAATTRIBUTESINATTRCOLL is undefined. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
QueryString | [empty string] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RemoteAddress | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RootCause |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
StackTrace | coldfusion.runtime.UndefinedVariableException: Variable ALLOWEXTRAATTRIBUTESINATTRCOLL is undefined. at coldfusion.runtime.CfJspPage._get(CfJspPage.java:447) at coldfusion.runtime.CfJspPage._get(CfJspPage.java:406) at coldfusion.runtime.CfJspPage._get(CfJspPage.java:385) at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1722) at cfserver_settings2ecfm600971555._factor35(/CFIDE/administrator/settings/server_settings.cfm:1104) at cfserver_settings2ecfm600971555._factor44(/CFIDE/administrator/settings/server_settings.cfm:863) at cfserver_settings2ecfm600971555._factor46(/CFIDE/administrator/settings/server_settings.cfm:859) at cfserver_settings2ecfm600971555.runPage(/CFIDE/administrator/settings/server_settings.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.IpFilter.invoke(IpFilter.java:45) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:505) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43) 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:60) 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:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) 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:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:536) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Suppressed |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TagContext |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Template | /CFIDE/administrator/settings/server_settings.cfm | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Type | coldfusion.runtime.CfErrorWrapper |
Copy link to clipboard
Copied
I hear you saying you’re not a CFer, so this may get a bit confusing (depending on your experience with any other server software), but here goes.
Your error shows you using a URL to get to the CF Admin which refers to using port 80 (well, you use no port, so that defaults to 80), which means you’d be trying to access the CF Admin via IIS, I assume since you’re on Windows.
But CF2016 no longer supports access to the Admin through IIS or Apache. Instead, you must use CF’s built-in web server, whose port was selected during installation (more in a moment). And in fact if you try to access CF2016 , it should fail differently than what you show below. I suspect that somehow your IIS is still set to pass requests to your CF11, and this is CF11 complaining.
But regardless, if you installed CF, and as you say you’re on Windows, hit the Start menu, then choose Adobe then ColdFusion 2016. You should see a link to the Admin there. Open that. It will open the URL that CF thinks should be used, using the port for CF’s built-in web server that was chosen during CF 2016 installation, likely 8500 or 8501 (depending on whether the person installing CF11 had chosen to use the built-in web server, as it was optional then).
If that gets you into the CF admin, does your page then work?
If not, or if you would assert that you had been using the correct URL all along, then I suspect your problem is that you applied a CF 2016 update after installation, and that has left things broken. I have a blog post on how to confirm and recover from that:
http://www.carehart.org/blog/client/index.cfm/2016/9/6/solve_common_problems_with_CF_updates_in_10_and_above
And if you remain stumped and don’t want to wait for back and forth among folks here, I’ll note that I offer quick online help for such problems. I suspect we’d be done in as little as 15 mins. More on the consulting page on my site.
/charlie
Copy link to clipboard
Copied
Thanks Charlie, good eyes. I left out the hearder ino frm the stack trace, because of the server name, but we are htting it locally, wihth the port BUT I see that it shows:
An error occurred: https://servername/CFIDE/administrator/settings/server_settings.cfm?
But then below shows the HTTPReferer as http://servername:8500/CFIDE/administrator/navserver.cfm
And I certainly applied the latest FP after installation (#6). I will read your post and if we need some consult time, will get in touch with you. Great to know there is a resource, thanks for replying.