I lost all of yesterday to a mysterious problem with Dreamweaver CS3, the software I use to manage the www.slowtrav.com site. I am posting this because this will happen to everyone using Dreamweaver 9 (CS3) with PHP or ASP code.
I was going crazy trying to figure out what might be wrong. It took me hours to even figure out which pages crashed and why. When I determined what was happening, I posted on the Dreamweaver Support Forums and got my answer.
There is a known bug that happened with Dreamweaver CS3 after we switched off Daylight Savings Time. Read the TechNote Dreamweaver CS3 crashes after Daylight Savings Time ends.
I was working on the website and everything was fine. Then I opened up a page that I have worked on many times before and that had not changed recently. This page contained regular HTML and some ASP includes. Whenever I selected text or clicked and dragged the mouse to select text, Dreamweaver crashed with the error: Adobe Dreamweaver CS3 has encountered a problem and needs to close. We are sorry for the inconvenience.
Other pages, with only ASP SSI includes did not crash. Other pages where I call ASP scripts with variables did not crash. I took the page apart and rebuilt it piece by piece until I found the part that made Dreamweaver crash. It was a call to one specific script in the format:
🙂 Removing the code example, it made my blog crash!!
This script had not changed. The page had not changed. How on earth could this piece of code that had been there for years be the problem? The page on the website worked fine – it was only when I looked at this page in Dreamweaver, that made Dreamweaver crash.
I found the answer on the Dreamweaver Support Forums. I would have gone there sooner, but I did not even know what question to ask! I am posting this here in case someone else is running into this.