Hi!
After verifying that my site works fine on the development system (macOS Sierra with Apache2 and ColdFusion 11/2016), I uploaded it to my hosting company (Windows with IIS 8.5). Whenever I try to start it (no matter if the site itself or the webtop), I keep getting the following error:
Element FAPI is undefined in a Java object of type class [Ljava.lang.String;.
The error occurred in D:/Inetpub/dermerker/farcry/core/packages/lib/error.cfc: line 580
578 : <cfelseif cgi.remote_addr eq "127.0.0.1">
579 : <cfset showError = true />
580 : <cfelseif application.fapi.getContentType(typename="configEnvironment").getEnvironment() eq "development">
581 : <cfset showError = true />
582 : </cfif>
coldfusion.runtime.UndefinedElementException: Element FAPI is undefined in a Java object of type class [Ljava.lang.String;.
at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:1773)
...
at cferror2ecfc1931938815$funcSHOWERRORPAGE.runFunction(D:\Inetpub\dermerker\farcry\core\packages\lib\error.cfc:580)
...
at cfApplication2ecfc1801957798$funcONERROR.runFunction(D:\Inetpub\dermerker\farcry\core\Application.cfc:550)
I looked up this forum, found the entry 5.2.7 to 7.1.1 Upgrade, double-checked my files with modius’s and Justin’s recommendations, and uploaded again. Alas, no change.
(The only thing I didn’t do is to restart the CF server, since I’m not running on a dedicated server but in a shared hosting environment.)
I understand from the previous conversation that the FarCry application did not start up. But how to force it to do (or to restart)? And why does everything work fine in development? Has this something to do with the IIS?
Any ideas/suggestions are welcome.
Thanks,
Thomas