Managed to resolve the problem! I had copied a custom debug page I have running on an MX 6.1 server as was using that, putting the debug page back to classic solved it :)
On Apr 7, 2005 3:02 PM, JediHomer <[EMAIL PROTECTED]> wrote: > Hi, > > Im using Application.cfc for the first time and am experiencing an odd > problem I cant seem to solve. > > Using CFMX Dev Edition and Apache2 > > Application.cfc code is: > > <CFCOMPONENT> > <CFSET this.Name = "jsTesting" /> > <CFSET this.SessionManagement = true /> > <CFSET this.ScriptProtect = true /> > > <CFFUNCTION NAME="onRequestStart" RETURNTYPE="boolean"> > <CFARGUMENT TYPE="String" NAME="targetPage" REQUIRED="true" /> > <CFLOG FILE="#Application.ApplicationName#" > TEXT="onRequestStart" /> > <CFRETURN true> > </CFFUNCTION> > > </CFCOMPONENT> > > Index file just contains html, no cfcode/output. > > When index is called, onRequestStart is fired as the log is written > to, however the debug output (which is switched on) doesn't complete, > it stops whilst displaying the Execution times with the following > text: > > 500 Element CFC[ C:\Dev\Websites\jedi\root\js\Application.cfc | > onRequestStart(/js/index.cfm) ] from > C:\Dev\Websites\jedi\root\js\Application.cfc is undefined in a CFML > structure referenced as part of an expression. > > Has anyone seen this or can see where I'm going wrong? > > The same results happen if I replace the function onRequestStart with > say onSessionStart although obviously I only see this error on a > session start. > > Thanks in advance > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201868 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

