Posted on Leave a comment

Interpretting ColdFusion Error Messages

Everyone knows what Apple’s "Type 1" error message means. Well, you should. It means "something went wrong and we have no clue why!" Everything computer related has something like this. Even AdoMacrollaire’s ColdFusion has some strange ones.

Invalid token ‘\n’ found on line 40 at column 0.

This error message means you forgot to close a comment somewhere. ColdFusion comments are delineated the same as HTML comments (<!– html comment here –>) but with an extra dash (<!— cfml comment here —>). So if you open a comment and forget to close it perhaps even following it with another comment you will get the reference to a linefeed (\n) being an invalid token.

<!--- this is the messed up comment
<!--- and this is a valid comment --->

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.