Dreamweaver CS5 crashes when opening certain files

I have been using CS4 for over a year now without any problems. Today I installed Dreamweaver CS5 and, well ... I could not do my job because it continues to crash. When I try to open certain files (in this case: index.php), it will work.

I also had a problem with the "download on save" option until I checked the "Use alternate FTP navigation method" checkbox in the server settings.

I tried searching for this problem with no luck. Does anyone know a solution for this?

UPDATE:

After testing each line of code in index.php, I finally found the source of the problem. If I add this line to the file:

<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Reenie+Beanie"> 

Dreamweaver CS5 stops working. Can anyone with CS5 install it?

+4
source share
6 answers

These are definitely the external links that are the problem. In my case, the font file, also downloaded from Google, was the culprit.

Problem:

 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Reenie+Beanie"> 

Commenting or deleting this line really works, but the problem is that I need this font to check the website as it develops. What I did instead (since I use PHP) caused an echo link so that DW would not try to bypass it.

Decision:

 <link rel="stylesheet" type="text/css" href="<?php echo "http://fonts.googleapis.com/css?family=Reenie+Beanie"; ?>"> 

This is meaningless code, but it works - DW will stop hanging, and the font will work when testing in a live environment.

+4
source

Dreamweaver CS5 definitely has issues with external sources. I just got the same type of crash when trying to enable jquery from googleapi:

 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script> 

Deleting a line or commenting on it allows Dreamweaver to open and work with the file.

+3
source

There is a problem with files reaching exactly a file size of about 8 KB, and then Dreamweaver will crash until you log in and add or remove a character from the file using another text editor. Manual encoding and saving files happened to me several times.

You can also try saving this font as reenie-beanie.css locally to the site to get something like:

 <link rel="stylesheet" type="text/css" href="media/styles/reenieBeanie.css" /> 

It is possible that a firewall or something scares the DW when it reaches this file in preview or split screen mode.

0
source

Great, this post helped me solve my problems with a breakdown by a specific file in Dreamweaver CS5. This is truly an external font that splits DW.

I found an easy fix, omitted part of the protocol, and it works:

 <link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"> 

and NOT

 <link href="http//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css"> 
0
source

FIX FOR ME IN A LOCAL CSS FILE: I needed to right-click on each file and try "Edit using Dreamweaver" until I find the one that was really driving when I started it. I got crashed by index and ccccccc file (local).

I; m using Bootstrap 3. Works well on my laptop running Wamp, but not on my main PC using IIS7. I tried all other methods of cleaning the registry and cleaning the cache, but did not leave until I removed this piece of code from the local css file.

Hope this helps someone else.

This I deleted this section of the css file:

 @media (min-width: @screen-sm-min) { .featured-box{ margin-top:5px; } } 
0
source

First I put a comment tag around the jQuery link to see that it was as suggested above, and no, it is not.

The problem started after I started the media query in CSS. I left it fragmented [I have not finished yet]

Here is a snippet with comment tags around it to disable it.

  /* @media screen and (max-width: */ 

Comment tags for html are different from css tags, which look like this: <!-- [line of html code] -->

To use css: /* [line of CSS code] */

Using comment tags to disable suspicious code is more convenient than simply deleting it.

Hope somone / -mack318 helps

-1
source

Source: https://habr.com/ru/post/1340332/


All Articles