What is before this code? you get this somtimes if you've forgotten to put a '>' after a CF tag, or somtimes if you forget a closing double quote on a parameter...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Seona Bellamy Sent: Friday, 7 February 2003 9:45 AM To: CFAussie Mailing List Subject: [cfaussie] what on earth is wrong with this? Morning, all! OK, this is just plain weird. I have some code. It's all typed correctly (and has been several times). I've cleared my browser's cache and refreshed the page. I've deleted the whole line and retyped it, and I know for a fact that it doesn't have the problem that I'm being told it has. Here's the code: <td colspan="2"> <p><i>Class:</i> #q_CharacterDetails.CharClass1# <cfif q_CharacterDetails.CharClass2 IS NOT "">/ #q_CharacterDetails.CharClass2</cfif> <cfif q_CharacterDetails.CharClass3 IS NOT ""> / #q_CharacterDetails.CharClass3 </cfif></p> </td> The line in question is the third one down (the first if statement). Now, here's the error: Error Diagnostic Information Just in time compilation error Invalid token found on line 26 at position 82. ColdFusion was looking at the following text: </cfi Invalid expression element. The usual cause of this error is a misspelling in the expression text. The last successfully parsed CFML construct was static text occupying document position (26:50) to (26:51). As far as I can tell, the problem is that it simply doesn't want to read the last two characters on the line. It has the same problem when I combine the whole lot into one line - it stops reading at this point and tells me I'm giving it an invalid command. :( How do you tell CF that it ought to read a little further??? Thanks, Seona. Email: [EMAIL PROTECTED] Mobile: 0414 842 795 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
