« Return to Thread: Upgrade problem

Re: Upgrade problem

by M Wheeler :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanks Jeff

I have very closely followed these instruction, numerous times now and am unsure what my issue is The error is

Application Failed to Initialise

struct
Detail If the component name is specified as a type of this argument, the reason for this error might be that a definition file for such component cannot be found or is not accessible.
Message The argument SCOPE passed to function initMetaData() is not of type string.
StackTrace coldfusion.runtime.UDFMethod$InvalidArgumentTypeException: The argument SCOPE passed to function initMetaData() is not of type string. at coldfusion.runtime.UDFMethod._validateArg(UDFMethod.java:463) at coldfusion.runtime.UDFMethod._validateArg(UDFMethod.java:476) at cffourq2ecfc311418099$funcINITMETADATA.runFunction(E:\Inetpub\farcry\fourq\fourq.cfc:518) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cfalterType2ecfc217527860$funcREFRESHALLCFCAPPDATA.runFunction(E:\Inetpub\farcry\core\packages\farcry\alterType.cfc:612) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1634) at cf_config2ecfm923268568.runPage(E:\Inetpub\farcry\core\tags\farcry\_config.cfm:213) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cf_farcryApplicationInit2ecfm884120560.runPage(E:\Inetpub\farcry\core\tags\farcry\_farcryApplicationInit.cfm:47) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cffarcryInit2ecfm794379005.runPage(E:\Inetpub\farcry\core\tags\farcry\farcryInit.cfm:208) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:63) at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:255) at cfApplication2ecfm223352263.runPage(E:\Inetpub\farcry\projects\patersons\www\Application.cfm:12) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:172) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
TagContext
array
1
struct
COLUMN 0
ID CF_UDFMETHOD
LINE 518
RAW_TRACE at cffourq2ecfc311418099$funcINITMETADATA.runFunction(E:\Inetpub\farcry\fourq\fourq.cfc:518)
TEMPLATE E:\Inetpub\farcry\fourq\fourq.cfc
TYPE CFML
2
struct
COLUMN 0
ID CF_TEMPLATEPROXY
LINE 612
RAW_TRACE at cfalterType2ecfc217527860$funcREFRESHALLCFCAPPDATA.runFunction(E:\Inetpub\farcry\core\packages\farcry\alterType.cfc:612)
TEMPLATE E:\Inetpub\farcry\core\packages\farcry\alterType.cfc
TYPE CFML
3
struct
COLUMN 0
ID CF_TEMPLATEPROXY
LINE 213
RAW_TRACE at cf_config2ecfm923268568.runPage(E:\Inetpub\farcry\core\tags\farcry\_config.cfm:213)
TEMPLATE E:\Inetpub\farcry\core\tags\farcry\_config.cfm
TYPE CFML
4
struct
COLUMN 0
ID CFINCLUDE
LINE 47
RAW_TRACE at cf_farcryApplicationInit2ecfm884120560.runPage(E:\Inetpub\farcry\core\tags\farcry\_farcryApplicationInit.cfm:47)
TEMPLATE E:\Inetpub\farcry\core\tags\farcry\_farcryApplicationInit.cfm
TYPE CFML
5
struct
COLUMN 0
ID CFINCLUDE
LINE 208
RAW_TRACE at cffarcryInit2ecfm794379005.runPage(E:\Inetpub\farcry\core\tags\farcry\farcryInit.cfm:208)
TEMPLATE E:\Inetpub\farcry\core\tags\farcry\farcryInit.cfm
TYPE CFML
6
struct
COLUMN 0
ID CFMODULE
LINE 12
RAW_TRACE at cfApplication2ecfm223352263.runPage(E:\Inetpub\farcry\projects\patersons\www\Application.cfm:12)
TEMPLATE E:\Inetpub\farcry\projects\patersons\www\Application.cfm
TYPE CFML
Type string
arg SCOPE
functionName initMetaData
type string

with an exception (if related)

10:16:21.021 - Application Exception - in E:\Inetpub\farcry\fourq\fourq.cfc : line 518
	    The argument SCOPE passed to function initMetaData() is not of type string.
Maybe its to do with the plugins architecture, as I was a little unsure here of how to fix this in the new version?
Any assistance would be greatly appreciated.

Regards
MW

On Wed, May 7, 2008 at 8:34 AM, Jeff Coughlin <jeff@...> wrote:

Mark,

> Having awful problems upgrading from 3 to 4.09 on MS SERVER 2003,
> IIS 6.0, CF 7,0,2.  Heres what I have done so far
>       • Copied my original web folder to the projects one, bit by bit and
> duplicated settings in the application.cfm based on a dummy farcry
> 4.09 site I successfully set up previously, adding the farcryinit
> tag and tag import
>               • <cfimport taglib="/farcry/core/tags/farcry/" prefix="farcry" />
>               • <farcry:farcryInit name="psl" projectURL="http://IP HERE/"
> dsn="psl" dbType="mssql" plugins="farcrycms" />
>       • Added typename column to the dmNavigation_aObjectIDs Table with
> varchar(250) type
>       • renamed the objectid column in same table to parentid
>       • deleted ./config/_applicationInit.cfm
>       • deleted ./config/_dmSecUserDirectories.cfm
> I want to run the updates now but the application won't initialize
> even with updateapp=1 url variable.  I have scoured the forums and
> bug site to no avail.
>
> Any assistance appreciated.


To upgrade from FarCry 3.x to 4.x make sure to check out these
directions http://docs.farcrycms.org/display/FCDEV40/Upgrading+from+Earlier+Versions

Also, unless if I am mistaken, the value for projectURL is only used
if you are running your site from an alias folder, otherwise if you're
just running the site from the root domain leave the value blank.  If
your alias is called myalias use projectURL="myalias" (not projectURL="http://www.mydomain.com/myalias
").  Find more info about the farcryinit tag at http://docs.farcrycms.org/display/FCDEV40/Application+Initialisation

Regards,

--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To post to this group, send email to farcry-dev@...
To unsubscribe from this group, send email to farcry-dev-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Upgrade problem