RE: code suddenly stops working for no apparent reason
I would echo what Bobby said :) () -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" wrote: > >Apparently, it isn't. Go back further. > > >On Sat, Aug 30, 2014 at 12:08 PM, Matthew Smith >wrote: > >> >> But it is being explicitly passed. That's where I'm lost. >> >> > On Aug 30, 2014, at 12:44, Phillip Vector >> 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 >> >> > wrote: >> > >> >> >> >> >> >> > >> component="cfcs.qry-todatabase" >> >> method="qry_peopleCreateNewUser" >> >>argumentcollection="#attributes#" >> >> returnvariable="qry_peopleCreateNewUser"> >> >> >> >> >> >>> >> error="badPassword" >> >> emailaddress = "#attributes.emailAddress#" >> >> cfid="#cfid#" cftoken="#session.cftoken#" >> >> template="#fusebox.rootpath##modself#"> >> >> >> >>> >> fuseaction="#fusebox.thisCircuit#.startSession" >> >> userid="#qry_peopleCreateNewUser.returnKey#" >> >> template="#fusebox.rootpath##modself#" >> >> cfid="#cfid#" cftoken="#session.cftoken#"> >> >> >> >> >> >> >> >> > >> scope="SESSION" >> >> timeout="10" >> >> type="EXCLUSIVE"> >> >> >> >> >> >> >> >> >> >> >> >> > listFirst(evaluate("client.#fusebox.thiscircuit#returnFuseaction"), >> >> ".") eq "SECUREOrderApp"> >> >> >> >>> >> cfuserid="#session.CFID#0#session.CFTOKEN#") /> >> >>> >> cfuserid="#session.CFID#0#session.CFTOKEN#", app_user_id = >> >> "#CLIENT.USERID#") /> >> >> >> >> >> >> >> >> >> >> >> >> 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 : >> >> 90 : *91 : * >> >> 92 : > "#fusebox.homeCircuit#.home"> >> >> 93 : > >> 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
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" wrote: > >Apparently, it isn't. Go back further. > > >On Sat, Aug 30, 2014 at 12:08 PM, Matthew Smith >wrote: > >> >> But it is being explicitly passed. That's where I'm lost. >> >> > On Aug 30, 2014, at 12:44, Phillip Vector >> 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 >> >> > wrote: >> > >> >> >> >> >> >> > >> component="cfcs.qry-todatabase" >> >> method="qry_peopleCreateNewUser" >> >>argumentcollection="#attributes#" >> >> returnvariable="qry_peopleCreateNewUser"> >> >> >> >> >> >>> >> error="badPassword" >> >> emailaddress = "#attributes.emailAddress#" >> >> cfid="#cfid#" cftoken="#session.cftoken#" >> >> template="#fusebox.rootpath##modself#"> >> >> >> >>> >> fuseaction="#fusebox.thisCircuit#.startSession" >> >> userid="#qry_peopleCreateNewUser.returnKey#" >> >> template="#fusebox.rootpath##modself#" >> >> cfid="#cfid#" cftoken="#session.cftoken#"> >> >> >> >> >> >> >> >> > >> scope="SESSION" >> >> timeout="10" >> >> type="EXCLUSIVE"> >> >> >> >> >> >> >> >> >> >> >> >> > listFirst(evaluate("client.#fusebox.thiscircuit#returnFuseaction"), >> >> ".") eq "SECUREOrderApp"> >> >> >> >>> >> cfuserid="#session.CFID#0#session.CFTOKEN#") /> >> >>> >> cfuserid="#session.CFID#0#session.CFTOKEN#", app_user_id = >> >> "#CLIENT.USERID#") /> >> >> >> >> >> >> >> >> >> >> >> >> 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 : >> >> 90 : *91 : * >> >> 92 : > "#fusebox.homeCircuit#.home"> >> >> 93 : > >> 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
Apparently, it isn't. Go back further. On Sat, Aug 30, 2014 at 12:08 PM, Matthew Smith wrote: > > But it is being explicitly passed. That's where I'm lost. > > > On Aug 30, 2014, at 12:44, Phillip Vector > 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 > > wrote: > > > >> > >> > >> >> component="cfcs.qry-todatabase" > >> method="qry_peopleCreateNewUser" > >>argumentcollection="#attributes#" > >> returnvariable="qry_peopleCreateNewUser"> > >> > >> > >> >> error="badPassword" > >> emailaddress = "#attributes.emailAddress#" > >> cfid="#cfid#" cftoken="#session.cftoken#" > >> template="#fusebox.rootpath##modself#"> > >> > >> >> fuseaction="#fusebox.thisCircuit#.startSession" > >> userid="#qry_peopleCreateNewUser.returnKey#" > >> template="#fusebox.rootpath##modself#" > >> cfid="#cfid#" cftoken="#session.cftoken#"> > >> > >> > >> > >> >> scope="SESSION" > >> timeout="10" > >> type="EXCLUSIVE"> > >> > >> > >> > >> > >> > >> listFirst(evaluate("client.#fusebox.thiscircuit#returnFuseaction"), > >> ".") eq "SECUREOrderApp"> > >> > >> >> cfuserid="#session.CFID#0#session.CFTOKEN#") /> > >> >> cfuserid="#session.CFID#0#session.CFTOKEN#", app_user_id = > >> "#CLIENT.USERID#") /> > >> > >> > >> > >> > >> > >> 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 : > >> 90 : *91 : * > >> 92 :"#fusebox.homeCircuit#.home"> > >> 93 :>> 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
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 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 > wrote: > >> >> >> > component="cfcs.qry-todatabase" >> method="qry_peopleCreateNewUser" >>argumentcollection="#attributes#" >> returnvariable="qry_peopleCreateNewUser"> >> >> >>> error="badPassword" >> emailaddress = "#attributes.emailAddress#" >> cfid="#cfid#" cftoken="#session.cftoken#" >> template="#fusebox.rootpath##modself#"> >> >>> fuseaction="#fusebox.thisCircuit#.startSession" >> userid="#qry_peopleCreateNewUser.returnKey#" >> template="#fusebox.rootpath##modself#" >> cfid="#cfid#" cftoken="#session.cftoken#"> >> >> >> >> > scope="SESSION" >> timeout="10" >> type="EXCLUSIVE"> >> >> >> >> >> >> > ".") eq "SECUREOrderApp"> >> >>> cfuserid="#session.CFID#0#session.CFTOKEN#") /> >>> cfuserid="#session.CFID#0#session.CFTOKEN#", app_user_id = >> "#CLIENT.USERID#") /> >> >> >> >> >> >> 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 : >> 90 : *91 : * >> 92 : >> 93 : > 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
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 wrote: > > >component="cfcs.qry-todatabase" > method="qry_peopleCreateNewUser" > argumentcollection="#attributes#" > returnvariable="qry_peopleCreateNewUser"> > > > error="badPassword" > emailaddress = "#attributes.emailAddress#" > cfid="#cfid#" cftoken="#session.cftoken#" > template="#fusebox.rootpath##modself#"> > > fuseaction="#fusebox.thisCircuit#.startSession" > userid="#qry_peopleCreateNewUser.returnKey#" > template="#fusebox.rootpath##modself#" > cfid="#cfid#" cftoken="#session.cftoken#"> > > > >scope="SESSION" > timeout="10" > type="EXCLUSIVE"> > > > > > >".") eq "SECUREOrderApp"> > > cfuserid="#session.CFID#0#session.CFTOKEN#") /> > cfuserid="#session.CFID#0#session.CFTOKEN#", app_user_id = > "#CLIENT.USERID#") /> > > > > > > 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 : > 90 : *91 : * > 92 : > 93 :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
code suddenly stops working for no apparent reason
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 : 90 : *91 : * 92 : 93 : ~| 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:359217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm