Thanks so much Justin. I will read and digest this in the next couple of days. Will report with any updates.
Michael On Jun 13, 6:56 pm, Justin Carter <[email protected]> wrote: > The error that you're getting above is simply because CF9 has added a > built-in function called location() and it's conflicting with the > function used in FarCry 3 (which is probably still there in FarCry 4/5 > as well). Just delete or comment it out of the farcry_core\admin > \includes\cfFunctionWrappers.cfm and it should work. > > To upgrade from FarCry 3 to 4 there is a wiki page with documentation > here:https://farcry.jira.com/wiki/display/FCDEV40/Upgrading+from+Earlier+V... > > To upgrade from FarCry 4 to > 5:https://farcry.jira.com/wiki/display/FCDEV50/Upgrading+from+Earlier+V... > > To upgrade from FarCry 5 to > 6:https://farcry.jira.com/wiki/display/FCDEV60/Upgrading+to+6.x+From+Ea... > > During your upgrade be mindful of the "/farcry" mapping that you have > defined in your CF Admin console, in later versions of FarCry (5/6) > it's recommended to use a web server virtual directory to point to / > farcry, so you would need to remove the ColdFusion mapping at that > point - if you forget and leave it in, it will be pointing to an older > version of FarCry and you could get all sorts of errors :P > > Hope that helps. Personally, I've never upgraded from a FarCry 3 site > before :) > > cheers, > Justin > > On Jun 14, 3:52 am, Mike Dowless <[email protected]> wrote: > > > > > Hi, > > > I am sure some folks are in the same position we are in with running > > CFMX 7 with Farcry 3.0.2 on our production system. We would like to > > upgrade to the latest versions of ColdFusion and Farcry so we created > > a virtual machine on VMWare VSphere 4.1 running server 2008R2 SP1 and > > installed CF9 and the 9.0.1 update. Our old system is a physical box > > running Windows server 2003R2 SP2. > > > Now here's where it gets fun. There are no documents that I can find > > that detail the upgrade path one would take in this situation. On the > > Farcrycore.org site there is the usual doc's that say if you are > > running v5 you can to to 6 or if you are running previous versions you > > can go from 4 to 5 to 6 but curiously there is no 3 to 4 listed. > > > I read somewhere that the changes from 3 to 4 are extensive. Just > > looking for some advice from people who have gone before us in this > > upgrade path. > > > We tried to install the Farcry 3.0 files we still had from 2005 but we > > got stuck at the stage where we needed to go > > tohttp://localhost/farcry/install. > > The error was as follows > > > The names of user-defined functions cannot be the same as built-in > > ColdFusion functions. > > The name location is the name of a built-in ColdFusion function. > > The CFML compiler was processing: > > > A cffunction tag beginning on line 132, column 2. > > > The error occurred in G:\inetpub\applications\farcry_core\admin > > \includes\cfFunctionWrappers.cfm: line 132 > > Called from G:\inetpub\applications\farcry_core\packages\security > > \authentication.cfc: line 26 > > Called from G:\inetpub\applications\farcry_core\packages\security > > \authentication.cfc: line 1 > > Called from G:\inetpub\applications\farcry_core\admin\install > > \Application.cfm: line 46 > > > 130 : </cffunction> > > 131 : > > 132 : <cffunction name="location" hint="wrapper for cflocation"> > > 133 : <cfargument name="url" required="true"> > > 134 : <cfargument name="addtoken" required="false" default="no"> > > > --------------------------------------------------------------------------- > > ----- > > > Resources: > > Check the ColdFusion documentation to verify that you are using the > > correct syntax. > > Search the Knowledge Base to find a solution to your problem. > > > Browser Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; > > Trident/4.0; SLCC2; .NET CLR 2.0.50727) > > Remote Address ::1 > > Referrer > > Date/Time 09-Jun-11 02:41 PM > > > Stack Trace (click to expand) > > at cfauthentication2ecfc670449652._factor0(G:\inetpub\applications > > \farcry_core\packages\security\authentication.cfc:26) at > > cfauthentication2ecfc670449652.runPage(G:\inetpub\applications > > \farcry_core\packages\security\authentication.cfc:1) at > > cfApplication2ecfm1827159137.runPage(G:\inetpub\applications > > \farcry_core\admin\install\Application.cfm:46) > > > coldfusion.compiler.ASTfunctionDefinition$InvalidUDFNameException: The > > names of user-defined functions cannot be the same as built-in > > ColdFusion functions. > > at > > coldfusion.compiler.ASTfunctionDefinition.setName(ASTfunctionDefinition.jav > > a: > > 58) > > at coldfusion.compiler.ASTcffunction.setAttrList(ASTcffunction.java: > > 63) > > at coldfusion.compiler.cfml40.cffunction(cfml40.java:3708) > > at coldfusion.compiler.cfml40.cfml(cfml40.java:4344) > > at coldfusion.compiler.cfml40.start(cfml40.java:4768) > > at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java: > > 694) > > at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java: > > 675) > > at coldfusion.compiler.NeoTranslator.parsePage(NeoTranslator.java: > > 704) > > 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:442) > > 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.runtime.RuntimeServiceImpl.getFile(RuntimeServiceImpl.java: > > 785) > > at > > coldfusion.runtime.RuntimeServiceImpl.resolveTemplatePath(RuntimeServiceImp > > l.java: > > 752) > > at > > coldfusion.tagext.lang.IncludeTag.setTemplate(IncludeTag.java:337) > > at cfauthentication2ecfc670449652._factor0(G:\inetpub\applications > > \farcry_core\packages\security\authentication.cfc:26) > > at cfauthentication2ecfc670449652.runPage(G:\inetpub\applications > > \farcry_core\packages\security\authentication.cfc:1) > > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) > > at > > coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProx > > yFactory.java: > > 524) > > at > > coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.ja > > va: > > 224) > > at > > coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.ja > > va: > > 159) > > at > > coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.ja > > va: > > 149) > > at > > coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java: > > 62) > > at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4827) > > at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4841) > > at cfApplication2ecfm1827159137.runPage(G:\inetpub\applications > > \farcry_core\admin\install\Application.cfm:46) > > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) > > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) > > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > > at > > coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) > > at > > coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java: > > 279) > > at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java: > > 40) > > at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) > > at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) > > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) > > at > > coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java: > > 79) > > at > > coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenc > > eFilter.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.filter.CachingFilter.invoke(CachingFilter.java:62) > > at coldfusion.CfmServlet.service(CfmServlet.java:200) > > at > > coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java: > > 89) > > at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) > > at > > coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServlet > > Filter.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 > > ... > > read more »- Hide quoted text - > > - Show quoted text - -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
