As far as I can tell file doesn't work, but cffile does.
Cheers
>From: "James Sleeman" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: CFMX bug ??
>Date: Thu, 4 Jul 2002 19:15:39 +1200
>
> > 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>
>
>
>Replying to myself again :-)
>
>of course URL is a give away there, naming a variable the same as a scope
>is
>bad in any case, but used to work in CF5... the release notes have this to
>say.
>
>-------
>Currently in ColdFusion MX, you can create a variable with the same name as
>a scope (Application, CGI, Client, Cookie, Form, Request, Server, Session,
>URL, or Variables). The created variable is only visible if the Variables
>scope prefix is explicitly used; otherwise, an error results. However,
>scope
>names are reserved in ColdFusion MX and might be enforced in a later
>version. Therefore, Macromedia strongly recommends that you do not use
>scope
>names as variable names.
>-------
>
>This doesn't explain "file" though.
>
>---
>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
>
>
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.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