All,
I am getting very confused and very frustrated. Can somebody
explain this error to me?
Error Occurred While Processing Request
Element APP is undefined in REQUEST.
The Error Occurred in C:\Program
Files\Macromedia\CFusionMX\wwwroot\BuildACourse\User.cfc: line 342
340 :
All,
As part of the debugging of this, I added to the cfm file so it is
now:
cfdump var=#APPLICATION#
cfdump var=#CLIENT#
cfdump var=#SESSION#
cfif isDefined(SESSION.User)
cfinvoke component=#SESSION.User#
method=DisplayUserHome/cfinvoke
cfelse
cfinvoke
#application.app# is a structure and not a path to your cfc. You need
to have something like home.cfcdirectory.cfcname in you componenet
invoke call.
Robert Polickoski wrote:
All,
As part of the debugging of this, I added to the cfm file so it is
now:
cfdump var=#APPLICATION#
cfdump
Marlon,
By identifying #APPLICATION.App#, which is an Object as opposed to
a structure, as the component in the cfinvoke, I was not trying
to just get to a method in the cfc but a method for a specific
instance of the cfc. According to the documentation, that is how
you do it. If I am
I would guess that since you've already defined it as an object and via
the debug information, it has methods, you would need to call it via
cfobject.
BTW, if that's a real db password in your debug info, you might want to
change it now.
Marlon
Robert Polickoski wrote:
Marlon,
By
I wonder...
Could the problem be that because I have a component named
Application that the server cannot distinguish between the
component and the APPLICATION scope variables even though I never
refer to the component except when creating an instance of it ass
APPLICATION.app?
Robert J.
6 matches
Mail list logo