Maybe it relates to the File scope which is deprecated in favour of the
cffile scope...
In the second case, #URL# might be the prime suspect for the same
reason. 



> -----Original Message-----
> From: James Sleeman [mailto:[EMAIL PROTECTED]]
> Sent: jeudi 4 juillet 2002 18:59
> To: CF-Talk
> Subject: Re: CFMX bug ??
> 
> 
> ----- Original Message -----
> From: "James Sleeman" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, July 04, 2002 6:34 PM
> Subject: CFMX bug ??
> 
> 
> 
> > <CFLOOP LIST="#ValueList(Q_Changers.Name)#" INDEX="file">
> >    <CFFILE ACTION="COPY" SOURCE="#REQUEST.RootPath##file#"
> > DESTINATION="#REQUEST.MirrorDir#\#file#" >
> > </CFLOOP>
> >
> > fails with...
> >
> > Complex object types cannot be converted to simple values.
> >
> 
> Replying to myself...
> 
> I have narrowed it down somewhat, it seems that there is 
> something funky
> about calling a variable "file" (not case sensitive), no 
> matter what I set
> "file" to (either there as the loop index, or manually as 
> <CFSET File =
> "heyNonnyNonny">) it always remains an empty struct (at least 
> thats what
> CFDUMP tells me it is).  So i renamed the variable file to 
> xfile and this
> section of code works now.
> 
> But after waiting around for aaaaaages while it compiled 
> code, lo and behold
> a very similar error occurs here...
> 
> 
> Complex object types cannot be converted to simple values.
> 
>       The Error Occurred in 
> J:\InnovativeMedia\StaffAdmin\qry_husk.cfm: line
> 71
>       Called from J:\InnovativeMedia\StaffAdmin\dsp_husk.cfm: line 6
>       Called from J:\InnovativeMedia\StaffAdmin\index.cfm: line 126
> 
> 69 :                                  <CFOUTPUT>
> 70 :                                  <tr>
> 71 :                                   <td nowrap 
> ID="#menuName##menuX#" STYLE="#Insert#"><a
> href="#URL#" class="OLmenuLink"
> onMouseOver="highlightMenuItem('#menuName##menuX#')"
> onMouseOut="unhighlightMenuItem('#menuName##menuX#')">#Name#</a></td>
> 72 :                                  <CFSET Insert="">
> 73 :                                  </tr>
> 
> 
> 
> here I'm guessing it's either #Insert#, #URL# or #Name# that 
> is the problem.
> How many of these am I going to find around the place ?!?!?!?!?!
> 
> ---
> James Sleeman
> 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.373 / Virus Database: 208 - Release Date: 7/2/2002
> 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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