Re: code suddenly stops working for no apparent reason
It isn¹t being explicitly passed, it is being explicitly referenced. The template assumes it was passed in as part of the attributes collection/scope (as per argumentcollection=#attributes#²). The error is telling you that it is not in the attributes scope. The error is not wrong so, like Phillip suggested, step back until you find where you think it is being set and figure out why it isn¹t. Nothing you¹ve said or pasted will let anywhere here give you much more info than that. On 8/30/14, 3:44 PM, Phillip Vector vec...@mostdeadlygame.com wrote: Apparently, it isn't. Go back further. On Sat, Aug 30, 2014 at 12:08 PM, Matthew Smith chedders...@gmail.com wrote: But it is being explicitly passed. That's where I'm lost. On Aug 30, 2014, at 12:44, Phillip Vector vec...@mostdeadlygame.com wrote: The reason is apparent. Element USERID is undefined in ATTRIBUTES. Trace the attribute back and figure out where it was set and see why it isn't being set. On Sat, Aug 30, 2014 at 11:31 AM, Matthew Smith chedders...@gmail.com wrote: cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authenticati on/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30 _CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30 _CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30 _CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.c fc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359221 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: code suddenly stops working for no apparent reason
I would echo what Bobby said :) (cfbrickwall) -Original Message- From: Bobby [mailto:bo...@acoderslife.com] Sent: Tuesday, September 02, 2014 6:52 AM To: cf-talk Subject: Re: code suddenly stops working for no apparent reason It isn¹t being explicitly passed, it is being explicitly referenced. The template assumes it was passed in as part of the attributes collection/scope (as per argumentcollection=#attributes#²). The error is telling you that it is not in the attributes scope. The error is not wrong so, like Phillip suggested, step back until you find where you think it is being set and figure out why it isn¹t. Nothing you¹ve said or pasted will let anywhere here give you much more info than that. On 8/30/14, 3:44 PM, Phillip Vector vec...@mostdeadlygame.com wrote: Apparently, it isn't. Go back further. On Sat, Aug 30, 2014 at 12:08 PM, Matthew Smith chedders...@gmail.com wrote: But it is being explicitly passed. That's where I'm lost. On Aug 30, 2014, at 12:44, Phillip Vector vec...@mostdeadlygame.com wrote: The reason is apparent. Element USERID is undefined in ATTRIBUTES. Trace the attribute back and figure out where it was set and see why it isn't being set. On Sat, Aug 30, 2014 at 11:31 AM, Matthew Smith chedders...@gmail.com wrote: cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authenticati on/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30 _CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30 _CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30 _CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.c fc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359222 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: code suddenly stops working for no apparent reason
The reason is apparent. Element USERID is undefined in ATTRIBUTES. Trace the attribute back and figure out where it was set and see why it isn't being set. On Sat, Aug 30, 2014 at 11:31 AM, Matthew Smith chedders...@gmail.com wrote: cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authentication/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: code suddenly stops working for no apparent reason
But it is being explicitly passed. That's where I'm lost. On Aug 30, 2014, at 12:44, Phillip Vector vec...@mostdeadlygame.com wrote: The reason is apparent. Element USERID is undefined in ATTRIBUTES. Trace the attribute back and figure out where it was set and see why it isn't being set. On Sat, Aug 30, 2014 at 11:31 AM, Matthew Smith chedders...@gmail.com wrote: cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authentication/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: code suddenly stops working for no apparent reason
Apparently, it isn't. Go back further. On Sat, Aug 30, 2014 at 12:08 PM, Matthew Smith chedders...@gmail.com wrote: But it is being explicitly passed. That's where I'm lost. On Aug 30, 2014, at 12:44, Phillip Vector vec...@mostdeadlygame.com wrote: The reason is apparent. Element USERID is undefined in ATTRIBUTES. Trace the attribute back and figure out where it was set and see why it isn't being set. On Sat, Aug 30, 2014 at 11:31 AM, Matthew Smith chedders...@gmail.com wrote: cfcase value=createUser cfinvoke component=cfcs.qry-todatabase method=qry_peopleCreateNewUser argumentcollection=#attributes# returnvariable=qry_peopleCreateNewUser cfif qry_peopleCreateNewUser.returnKey eq -1 cfset XFA.badLogin = #fusebox.thisCircuit#.go cfmodule fuseaction=#XFA.badLogin# error=badPassword emailaddress = #attributes.emailAddress# cfid=#cfid# cftoken=#session.cftoken# template=#fusebox.rootpath##modself# cfelse cfmodule fuseaction=#fusebox.thisCircuit#.startSession userid=#qry_peopleCreateNewUser.returnKey# template=#fusebox.rootpath##modself# cfid=#cfid# cftoken=#session.cftoken# /cfif /cfcase cfcase value=startSession cflock scope=SESSION timeout=10 type=EXCLUSIVE cfset session.loggedIn = 1 cfset variables.tmp = structdelete(session, billinginfo) /cflock cfset client.userID = attributes.userID cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp cfobject component=cfcs.qry-todatabase name=qry / cfset qry_orderInfoBufferCreate = qry.qry_orderInfoBufferEdit( cfuserid=#session.CFID#0#session.CFTOKEN#) / cfset qry_cartAssignPersonKey = qry.qry_cartAssignPersonKey( cfuserid=#session.CFID#0#session.CFTOKEN#, app_user_id = #CLIENT.USERID#) / /cfif cfinclude template=url_thisCircuit_returnFuseAction.cfm /cfcase getting this error even though explicitly passed... Element USERID is undefined in ATTRIBUTES. The error occurred in *D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/authentication/fbx_Switch.cfm: line 91* *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 273 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 33 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/fbx_fusebox30_CF50.cfm: line 1 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/index.cfm: line 9 *Called from* D:/Inetpub/redhotkitties/site_theartoflovingcatsanddogs_com/Application.cfc: line 62 89 : cfset variables.tmp = structdelete(session, billinginfo) 90 : /cflock*91 : cfset client.userID = attributes.userID* 92 : cfset XFA.defaultReturnFuseaction = #fusebox.homeCircuit#.home 93 : cfif listFirst(evaluate(client.#fusebox.thiscircuit#returnFuseaction), .) eq SECUREOrderApp ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm