Skip to main content
Participant
September 26, 2023
Question

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

  • September 26, 2023
  • 0 replies
  • 185 views

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 has been closed for replies.