do a <cfdump var="#url#"> and you'll see why you can't use it as a form 
action.  As somebody else pointed out, cf stores 'url' as a structure. 

On a side note, now that you're off of 4.5, <cfdump> can be your best friend 
:) 

charlie 

Dustin Snell [Unisyn Software, LLC] writes: 

> Hi again... trying to port from 4.5 to MX and I get this error.  Anyone have
> any idea? 
> 
> -Dustin Snell
> Unisyn Software, LLC 
> 
> Error Occurred While Processing Request
> Complex object types cannot be converted to simple values.
> The expression has requested a variable or an intermediate expression result
> as a simple value, however, the result cannot be converted to a simple
> value. Simple values are strings, numbers, boolean values, and date/time
> values. Queries, arrays, and COM objects are examples of complex values.
> The most likely cause of the error is that you are trying to use a complex
> value as a simple one. For example, you might be trying to use a query
> variable in a <CFIF> tag. This was possible in ColdFusion 2.0 but creates an
> error in later versions. 
> 
> The Error Occurred in
> C:\Inetpub\wwwroot\unisyn\administration\Application.cfm: line 223 
> 
> 221 :    <CFOUTPUT>
> 222 :
> 223 :        <FORM ACTION="#url#" METHOD="Post" NAME="frmLogin"
> ID="frmLogin">
> 224 :
> 225 :     <INPUT TYPE="hidden" NAME="origURL" VALUE="#cgi.HTTP_REFERER#"> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to