FWIW, the "complex/simple" error often occurs in the 5/MX conversion when
you're referencing a var that MX thinks is a struct.  As I recall, this
sometimes happens because CF5 will allow references to dot-notated vars as
simple string values (myVar.Var), but MX considers the "myVar" part of that
to be a struct, so you have to treat it as such when you try to reference
it.  Don't know if that will help, but it's at least a starting point . . .

REM O-

-----Original Message-----
From: Erik Voldengen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 1:13 AM
To: Fusebox
Subject: RE: FB3 on MX 6.1 Problem

Why don't you run that code on it's own and make sure.  Then you can debug
line per line until you either find the problem or rule it out.

 ___
   Erik Voldengen    2037 NW Lovejoy       503-226-7099
   Fusium, Inc.      Portland, OR 97209    www.fusium.com 

> -----Original Message-----
> From: Chris Montgomery [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 27, 2004 10:41 PM
> To: Fusebox
> Subject: FB3 on MX 6.1 Problem
> 
> Howdy,
> 
> I'm developing on CF5/WinXP but need to publish to a host running MX 6.1
> on Win2003 (and don't have MX installed on my dev box).
> 
> I have a simple calendar app that runs fine under FB3 on CF5. When I try
> running this on the hosted site (MX), I am getting an error "Complex
> object types cannot be converted to simple values.". Unfortunately, the
> error msg doesn't give enuff info to pinpoint which template is causing
> the problem. After lots of trial and error, it appears that the problem
> *might* be in the application.cfm, although I'm not certain of that. My
> application.cfm is:
> 
> /////// begin application.cfm ///////
> <cfsetting showdebugoutput="yes">
> <cfset request.self="index.cfm">
> <cfset self="index.cfm">
> <!--- add any files that can be directly accessed to this list --->
> <cfset directAccessFiles="#request.self#,#self#">
> <cfloop list="#directAccessFiles#" index="file">
>       <cfif not listFindNoCase(cgi.script_name, file, '/')>
>               <!--- Run this code, including sending to request.self, or
> logging
> potential hack attempts --->
>               <cflocation URL = "#self#/calendar.home"><cfabort>
>       </cfif>
> </cfloop>
> /////// end application.cfm ///////
> 
> FWIW, my index.cfm is:
> 
> /////// begin index.cfm ///////
> <!--- Convert url to search engine safe url --->
> <cfset SESdummyExtension = ".cfm">
> <cfset SESrBaseName = "baseHREF">
> <cfinclude template="sesConverter.cfm">
> 
> <cfinclude template="fbx_fusebox30_CF50.cfm">
> /////// end index.cfm ///////
> 
> Looking for hints on where to start troubleshooting this. Based on my
> premliminary troubleshooting, it doesn't appear that it's even getting
> to my calendar template before the error gets thrown.
> 
> Thanks for any hints/tips/pointers.
> 
> P.S. BTW, is the Topica list still alive? I haven't received anything on
> it since 10/26/04.
> 
> --
> Chris Montgomery
> Airtight Web Services   http://www.airtightweb.com
> Web Development, Web Project Management, Software Sales
> 210-490-2415 (office), 210-232-2790 (mobile)
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6594
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to