Skip to main content
Participant
Sep 26, 2023 5:42 PM UTC
Question

Error "Failed to initialize the editor as the document is not in standards mode

ColdFusion pre-compiles all code when cache is turned on. It also places a comment (<!--- servername/index.cfm---> ) on the first line of the page when cache is on. !DOCTYPE...> no longer works since it is now on the second line. This causes the !DOCTYPE to NOT be in Standard mode.

 

How can I remove the comment line so the !DOCTYPE is the first line?

    This topic is closed to new replies. Start a new post to keep the conversation going.