> Hello, i moved a template from a 4.0 server to a 4.5 server
> and now i get a very strange error message. Can anyone tell me
> why i'm getting this error? Thanks for the help.
>
> the code that generates an error:
>
> <cfoutput query="categories">
>
> <cfset tempCategoryName = Replace(TRIM(category_nm), " ", "^", "ALL")>
> <cfparam name="#category_id#|#tempCategoryName#" default="">
> </cfoutput>
You can't use a pipe (|) in a variable name. The only characters you can use
in CF variable names are letters, numbers and underscores, and the first
character must be a letter (or can't be a number, I forget which).
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists