I had an old client come to me with a bug today.  The server was upgraded 
to CF5 a while ago and this bug seems to be related to that... basically I 
was using a variable called "Arguments", and it was producing an "unknown 
exception" from CF, simply changing the variable to be called "Argies" 
fixed the problem - after an hour of bug hunting of course !

So, this doesn't work...

<CFSET Arguments = 
"TotalPrice=295&HoID=#FORM.HoID#&HoName=#URLEncodedFormat(FORM.HoName)#&HoHosts=#URLEncodedFormat(FORM.HoHosts)#&HoEmail=#URLEncodedFormat(FORM.HoEmail)#">
 



while this one does...

<CFSET Argies = 
"TotalPrice=295&HoID=#FORM.HoID#&HoName=#URLEncodedFormat(FORM.HoName)#&HoHosts=#URLEncodedFormat(FORM.HoHosts)#&HoEmail=#URLEncodedFormat(FORM.HoEmail)#">
 


it's all in a standard single file template, not fusebox, nothing fancy 
happening, just a simple file.  The error message that CF produced wasn't 
helpful at all basically claiming that an unknown exception occurred but 
didn't say where. Arguments is the array used within a UDF, seems wierd 
that it shoudl cause problems OUTSIDE of CFSCRIPT let alone UDF's.



----------
James Sleeman
Innovative Media Ltd
Phone: (03) 377 6262
http://www.websolutions.co.nz/

CAUTION: The information contained in this email message is confidential 
and may be legally privileged. If the reader of this message is not the 
intended recipient you are notified that any use, dissemination, 
distribution or reproduction of this message is prohibited. If you have 
received this message in error please notify the sender immediately and 
destroy the original message and any attachments.

Views expressed in this communication may not be those of Innovative Media 
Ltd.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to