Skip to main content
Participant
November 14, 2016
Answered

It is an HTML document, damn it!

  • November 14, 2016
  • 2 replies
  • 266 views

I just updated my Dreamweaver (Mac) this morning to the latest version of Creative Cloud. I assigned my primary and secondary browsers (Safari and Firefox, respectively) and after previewing my HTML doc a couple of times, I start getting this error: "You cannot preview the document open in Dreamweaver. You can only preview HTML or PHP documents."

The only workaround I have found, thus far, is to quit and restart the application. Major headache in making progress.

Any suggestions welcome!

Thanks,

Mark

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer Nancy OShea

    That sort of implies there's a code problem. 

    Have you validated it to see what's causing DW to think it's NOT an HTML file?

    Go to Window > Results > Validation.

         Click big triangle > check current document.

    Nancy O.

    2 replies

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    November 14, 2016

    That sort of implies there's a code problem. 

    Have you validated it to see what's causing DW to think it's NOT an HTML file?

    Go to Window > Results > Validation.

         Click big triangle > check current document.

    Nancy O.

    Nancy O'Shea— Product User & Community Expert
    Participant
    November 14, 2016

    It hasn't happened to me since I made the post, but should it happen again, I will check the validation. Thanks for the recommendation.

    Mark