erm.... at a guess... >From what I can see you have created a variable named pencilorder which is assigned to a client variable. You are also redefining this variable as a normal CF array before it is WDDX'ed.
Neil -----Original Message----- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: 27 November 2002 13:46 To: CF-Talk Subject: Code messing up cferror I make use of cferror in my application.cfm to catch everthing that goes wrong with my app. If there is something wrong, it emails where it happened along with all of the variables I need. The problem is in our shopping cart this chunk of code is making cferror break. I don't know why, can anyone shed any light on it. Once I take this piece of code out cferror catches the errors, put it back in, it throws the error to the user. This is on CF5. <cftry> <!--- Create array to populate structure from client variable ---> <cfset pencilorder = ArrayNew(1)> <!--- Get struture which was encoded with WDDX ---> <cfwddx action="WDDX2CFML" input="#client.pencilorder#" output="pencilorder"> <cfcatch type="Any"> <cfset error = "true"> <cfset message = message & "<p>" & "*** Error getting your order. ***"> <cfthrow message="#cfcatch.message#<br>#cfcatch.detail#"> </cfcatch> </cftry> Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

