NonSense Errors

2002-12-10 Thread Robert Polickoski
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 :

Re: NonSense Errors

2002-12-10 Thread Robert Polickoski
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

Re: NonSense Errors

2002-12-10 Thread Marlon Moyer
#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

Re: NonSense Errors

2002-12-10 Thread Robert Polickoski
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

Re: NonSense Errors

2002-12-10 Thread Marlon Moyer
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

Re: NonSense Errors

2002-12-10 Thread Robert Polickoski
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.