Re: Farcry 401, second project, Element RAMIT is undefined in a CFML structure referenced as part of an expression

jabba <[email protected]> Sun, 03 Jun 2007 12:26:51 -0700
Newsgroups gmane.comp.cms.farcry.user
Message-ID <[email protected]>
I'm getting a similar error after I installed the new farcry 4.01
version. But I only have one project. When I try to login I get the
following error:

"Element MYPROJECTNAME is undefined in a CFML structure referenced as
part of an expression."

The error occurred in C:\Inetpub\wwwroot\farcry\core\packages\security
\authorisation.cfc: line 972
Called from C:\Inetpub\wwwroot\farcry\core\packages\security
\authorisation.cfc: line 939
Called from C:\Inetpub\wwwroot\farcry\core\packages\security
\authorisation.cfc: line 194
Called from C:\Inetpub\wwwroot\farcry\core\tags\navajo\Login.cfm: line
73
Called from C:\Inetpub\wwwroot\farcry\core\admin\login.cfm: line 34

970 : 				//cache the permission
971 : 				if (NOT isDefined("server.dmSec") OR NOT
StructKeyExists(server.dmSec,application.applicationname) OR NOT
isStruct(server.dmSec[application.applicationname]) OR NOT
StructKeyExists(server.dmSec[application.applicationname],
"dmSecSCache"))
972 : 					server.dmSec[application.applicationname].dmSecSCache =
StructNew();
973 :
974 :
server.dmSec[application.applicationname].dmSecSCache[arguments.Reference]=duplicate(stObjectPermissions);


In the frontend I get a neverending loop. I put a cfabort in the file
farcry/core/tags/navajo/display at line 79 before the cfthrow message
to stop this. The cfdump tells me that stObj is empty.

This is my Application.cfm:

<cfsetting enablecfoutputonly="true">
<cfimport taglib="/farcry/core/tags/farcry/" prefix="farcry" />
<farcry:farcryInit
	name="myprojectname"
	projectURL="/myprojectname"
	dsn="FARCRY"
	dbType="mssql"
	plugins="farcrycfximage,farcrycms" />
<cfsetting enablecfoutputonly="false">


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