Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Dreamweaver CS6 Crashes when I open my Index.html file

New Here ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

Dreamweaver CS6 Crashes when I open my Index.html file, but no other file.

Views

783
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 15, 2017 Jun 15, 2017

A couple of things that can cause lag problems in DW (while still being perfectly valid code)...

1. Protocol relative links in the <head> of the page. Check for links to scripts or fonts starting with // and change them to http versions, at least during development. If you don't have any https pages, you can leave them ad http: // versions permanently.

2. @import rules in your css. Rather than @import, use <link> tags to those css files in your <head> section.

3. Certain remotely hosted javasscript

...

Votes

Translate
Community Expert ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

The file itself could be corrupt. You might be able to salvage the code from it by doing the following...

1. Open the index.html file in some other text editor, Notepad or Simple Text.
2. Copy the code
3. Open a new document in DW
4. Paste the code
5. Save over the original index.html file in your site

If the new file still crashes, it's possible there's something in it DW doesn't like. Run the code through the validator at http://validator.w3.org/nu and clean out any structural errors then do the above with the newly cleaned code and see if it helps.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

The customer service dude indeed had me do this. It did nothing.

The file DOES open after 2 minutes by the way, but before openedned instantly like all the others. I haven't changed file.

So I get the spinning disc now and "not responding" and eventually, 2-3 minutes it will open. Code is the same and it never did this for years.

Thoughts?

Brad

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

A couple of things that can cause lag problems in DW (while still being perfectly valid code)...

1. Protocol relative links in the <head> of the page. Check for links to scripts or fonts starting with // and change them to http versions, at least during development. If you don't have any https pages, you can leave them ad http: // versions permanently.

2. @import rules in your css. Rather than @import, use <link> tags to those css files in your <head> section.

3. Certain remotely hosted javasscripts can also cause problems. Try commenting out all scripts in your page with html comments...

<!-- <script> ... </script> -->

If the page opens without issue, un-comment the scripts one by one until you find the issue. Sometimes, just moving a problematic externally hosted script into the local site will stop loading problems.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 15, 2017 Jun 15, 2017

Copy link to clipboard

Copied

LATEST

I think you might be on to something. I have been suspecting, but yet to try, some Nivo slider JQuery in the page, this is the only page on my site that calls that script. Maybe that script recently became antiquated or something?

Will try.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines