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

View: New views
4 Messages — Rating Filter:   Alert me  

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

by Geert-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

It is very recently we started to use Farcry.
Two days ago we installed Farcry 401. A project has been installed. We
have edited some pages, created users and the layout has been slightly
modified.
URL of the project: 10.32.5.16:202
Folder structure:
farcry1571/core
farcry1571/plugins
farcry1571/projects/millio
farcry1571/projects/RAMIT

We did not installed millio en RAMIT is a copy of millio.

Yesterday, we created a new project, again a copy of millio, in the
folder projects with success (10.32.5.16:205).
farcry1571/projects/secondproject
We did some basic operations without problems.

Afterwards, we went back to the first project but then we met
following problem:

1/ http://10.32.5.16:202/farcry
I was able to complete my username and password. A click on the "log
In" results in an http500 error.


2/ http://10.32.5.16:202
Element RAMIT is undefined in a CFML structure referenced as part of
an expression.
The error occurred in D:\Websites\farcry1571\core\packages\security
\authorisation.cfc: line 51
Called from D:\Websites\farcry1571\core\packages\security
\authorisation.cfc: line 45
Called from D:\Websites\farcry1571\core\packages\security
\authorisation.cfc: line 393
Called from D:\Websites\farcry1571\core\tags\navajo\display.cfm: line
230
Called from D:\Websites\farcry1571\core\tags\navajo\display.cfm: line
23
Called from D:\Websites\farcry1571\core\tags\navajo\display.cfm: line
1
Called from D:\Websites\farcry1571\projects\RAMIT\www\index.cfm: line
4
49 : for( i=1; i lte arrayLen(aObjectIds); i=i+1 )
50 :  {
51 :     if( not
StructKeyExists(server.dmSec[application.applicationname].dmSecSCache,
aObjectIds[i]) )
52 :         lUncachedPermissions = listAppend(lUncachedPermissions,
aObjectIds[i]);
53 :  }


--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---


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

by modius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jun 1, 4:54 pm, Geert <geert.thienp...@...> wrote:
> farcry1571/projects/millio
> farcry1571/projects/RAMIT

Can you post your Application.cfm files for each project?

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---


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

by jabba-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---


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

by jabba-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ok, after restarting the coldfusion server the problem is gone.


--~--~---------~--~----~------------~-------~--~----~
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@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price