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>
The error message:
Error Diagnostic Information
An error has occurred while processing the expression:
1|Appointments=CFTempOnlyForSetVariableNeverUseThisNameInYourCFMLCode122333444455555654321
Invalid token found on line 1 at position 2. ColdFusion was looking at the
following text:
|
Invalid expression element. The usual cause of this error is a misspelling
in the expression text.
The error occurred while processing an element with a general identifier of
(CFPARAM), occupying document position (32:1) to (32:58) in the template
file c:\...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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