<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MikePadgett.com &#187; dreamweaver</title>
	<atom:link href="http://www.mikepadgett.com/tag/dreamweaver/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikepadgett.com</link>
	<description>Articles, reviews, travel, design, literature and more written by Mike Padgett, an Information Designer in Brussels</description>
	<lastBuildDate>Thu, 02 Feb 2012 09:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dreamweaver CS3 crashes and won&#8217;t start up again</title>
		<link>http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/</link>
		<comments>http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 01:17:06 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[dreamweaver cs3]]></category>

		<guid isPermaLink="false">http://localhost/?p=7</guid>
		<description><![CDATA[The world famous 8,192kb bug that crashed a million Dreamweavers. Probably.]]></description>
			<content:encoded><![CDATA[<p>Hey kids, this is definitely one of the weirdest bugs I have ever clapped eyes on.</p>
<p>Not for the first time, I was happily authoring <acronym title="Cascading Style Sheets">CSS</acronym> and Dreamweaver CS3 crashed. Turns out, it doesn&#8217;t have to be specifically CSS, but that was my situation anyway.</p>
<h3>The crash</h3>
<p>It&#8217;s all too familiar: this is DW after all, and those of us who have used it from the start will know the pedigree. But I try to restart the program anyway: it&#8217;s 1am and I don&#8217;t need this. Nope, fail. Dreamweaver CS3 won&#8217;t start on Windows XP. In these times of quad processors and 32-bit colour, has the long-exorcised ghost of DW&#8217;s buggy past returned to haunt us?</p>
<p>The following options were available:</p>
<ul>
<li>Abuse someone at Adobe</li>
<li>Reinstall Dreamweaver</li>
<li>Try to clean out the config files so that Dreamweaver has to create new ones on restart (an old and occasionally successful solution)</li>
</ul>
<p>And the answer? None of the above.</p>
<p>The fix turned out to be simple, though somewhat obscure. I shall elaborate in a moment, but first I must attribute my source. In August 2007, Adobe Community Expert and author <a href="http://groups.google.com/group/macromedia.dreamweaver/msg/4f6b8d6385dc3466" title="Links to an external website">David Powers sussed out this profoundly ugly problem</a> in the Macromedia.Dreamweaver Google Group. At the time, it was  undocumented elsewhere and not particularly easy to find with bland keywords in search engines.</p>
<h3>The cause of the crash</h3>
<p>Apparently, an install of Dreamweaver CS3 (mine is currently v9.0 Build 3481) crashes if you edit a file to <em>exactly</em> a multiple of 8,192 bytes. Not a byte more, not a byte less. The chances of this happening are probably fairly small: to edit a file to the exact size at the same moment that DW does some processing and gets upset.<em></em></p>
<p>Don&#8217;t believe me? I wouldn&#8217;t have either in your position. But here&#8217;s what happened: I&#8217;m editing a document of any supported format, I&#8217;m just about to change a particular value and suddenly it crashes. So I checked out David&#8217;s comment above and, lo and behold:</p>
<p class="centeralign"><img src="http://www.mikepadgett.com/legacy/userfiles/image/images_2008/8192.gif" alt="Dreamweaver CS3 crashes and won't restart" width="367" height="509" /></p>
<h3>So now what?</h3>
<p>If you have this bug, from here it&#8217;s quick and easy to escape. Don&#8217;t bother trying to do anything with Dreamweaver CS3 because as long as your file is a multiple of 8,192 bytes, you ain&#8217;t going nowhere.</p>
<h4>Step 1. If you were working within a Site, you can test if this bug was behind the crash</h4>
<p>If you were editing your file within a defined Site, read on. Otherwise, you can skip to 2.</p>
<p>In Windows Explorer, temporarily rename the folder that contains your Site, so that Dreamweaver CS3 starts successfully, asking you to <em>Manage Sites&#8230;</em> because of course it can&#8217;t find your original folder.</p>
<p>If you were to point <em>Manage Sites&#8230;</em> to the new folder name, Dreamweaver CS3 would crash again, so just exit the app for now. You can now be pretty sure you&#8217;ve encountered this filesize bug.</p>
<p>If DW <em>doesn&#8217;t</em> start properly after this step, then you have some other problem and I&#8217;m sorry your visit here didn&#8217;t help.</p>
<h4>Step 2. Edit the file that caused the crash outside of Dreamweaver CS3</h4>
<p>Next, in a different text editor such as Notepad, increase the filesize of the file that you were editing when DW crashed &#8211; just by adding a bit of whitespace, for example &#8211; and then resave it. You could also decrease the file size by deleting whitespace, but of course you risk repeating the bug when you work on the file again later or indeed, you might not have anything to safely delete, so I&#8217;d recommend increasing instead.</p>
<p>Now, having altered the file, be sure to check that your filesize is indeed no longer a multiple of 8,192kb.</p>
<p>If you were working within a Site as described in Step 1, you can now rename the folder of your Site back to its original name in Windows Explorer.</p>
<p>Restart Dreamweaver CS3 and you should be back in action. I hope it worked for you too!</p>
<h3>Afterthought</h3>
<p>As you can probably see, there are quite a few satisfied customers in the Responses below, from Denmark to Chile. So why not let me know if you had this problem too and if your situation was a little different, please add to the knowledge.</p>
<p>And finally, this incident jogged my memory of another oddball software behaviour I encountered once in the early days of Office 2007 for Windows, because it too was about processing bytes and coming out with the wrong result. Check out this anomaly with <a href="http://groups.google.com/group/microsoft.public.excel/browse_thread/thread/2bcad1a1a4861879/2f8806d5400dfe22">Excel 2007</a>: if you multiply 850 by 77.1 you get 100,000. The real answer? <a href="http://en.wikipedia.org/wiki/65535">65,535</a> of course, a juicy, meaningful number for <em>aficionados</em> of binary computing! <em>[15 April 2008: I tested this again recently and it appears to have been patched - Mike]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/technical/dreamweaver-cs3-crashes-and-wont-start-up-again/feed/</wfw:commentRss>
		<slash:comments>416</slash:comments>
		</item>
		<item>
		<title>Macromedia releases Studio 8</title>
		<link>http://www.mikepadgett.com/technology/macromedia-releases-studio-8/</link>
		<comments>http://www.mikepadgett.com/technology/macromedia-releases-studio-8/#comments</comments>
		<pubDate>Wed, 10 Aug 2005 09:02:18 +0000</pubDate>
		<dc:creator>Mike Padgett</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://localhost/?p=201</guid>
		<description><![CDATA[A new version of my bread and butter software is out. Let's hope it's got more than just GUI improvements this time.]]></description>
			<content:encoded><![CDATA[<div class="imgleft"><img src="http://www.mikepadgett.com/wp-content/uploads/2005/08/macromedia_studio_8-250x300.jpg" alt="Studio 8" /></div>
<p>Studio 8 is here, announced Macromedia <a href="http://www.macromedia.com/macromedia/proom/pr/2005/announcing_studio8.html">on Monday</a>.</p>
<p>I&#8217;ve taken a look at the demos. A lot of the focus seems to have been on GUI improvements and extended support for technologies.</p>
<p>There haven&#8217;t been too many changes in Flash 8 &#8211; better video support, some more development for non-coders, improved GUIs and so on.</p>
<p>Dreamweaver 8 is gearing up for better CSS support, but it actually looked a bit confusing from the demo.</p>
<p>Fireworks 8 introduces more filters to bring it closer to Photoshop and some interesting CSS support for menus. Freehand remains unchanged (again).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikepadgett.com/technology/macromedia-releases-studio-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

