Copy link to clipboard
Copied
Dreamweaver CS6 Crashes when I open my Index.html file, but no other file.
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
...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.
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
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.
Copy link to clipboard
Copied
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.