<?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>Web Development London UK &#187; bug</title>
	<atom:link href="http://hsmoore.com/blog/category/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://hsmoore.com</link>
	<description>Web Development London UK</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:10:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>IE9 adding empty table cells in large table</title>
		<link>http://hsmoore.com/blog/ie9-adding-empty-table-cells-in-large-table/</link>
		<comments>http://hsmoore.com/blog/ie9-adding-empty-table-cells-in-large-table/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 11:37:14 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[ie9]]></category>
		<category><![CDATA[whitespace]]></category>

		<guid isPermaLink="false">http://hsmoore.com/?p=1402</guid>
		<description><![CDATA[Well as usual, we are once again fighting the woes of the beloved Internet Explorer, and it appears that Microsoft&#8217;s latest greatest new and improved browser rival to the market IE9 still has a whole bunch of irritations and retardation to worry about (saw that one coming). Today I was busy loading a massive amount...]]></description>
			<content:encoded><![CDATA[<p>Well as usual, we are once again fighting the woes of the beloved Internet Explorer, and it appears that Microsoft&#8217;s latest greatest new and improved browser rival to the market IE9 still has a whole bunch of irritations and retardation to worry about (saw that one coming).</p>
<p>Today I was busy loading a massive amount of data into the body of a table using ajax and in Firefox and even Internet Explorer 8 it worked quite well, but Internet Explorer 9 decided that it would like to add some empty table cells randomly around my &#8220;massive table&#8221;, now of course I began by kicking something and cried a few times&#8230;.. but then I thought about whitespacing and the usual problems I had found with it before while using &#8220;the best browser ever known to human-kind&#8221;(&#8230;not) and I thought of removing the whitespaces between the &lt;tr&gt;&#8217;s and &lt;td&gt;&#8217;s.</p>
<p>Sample code while crying and trying to get rid of the ironious cells:</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/table.html"><span class="kw2">table</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/tbody.html"><span class="kw2">tbody</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/tr.html"><span class="kw2">tr</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 1<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 2<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 3<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 4<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/tr.html"><span class="kw2">tr</span></a>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/tbody.html"><span class="kw2">tbody</span></a>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/table.html"><span class="kw2">table</span></a>&gt;</span></div>
</div>
<p>The really dumb thing that fixed IE9&#8242;s problems:</p>
<div class="codesnip-container" >
<div class="html4strict codesnip" style="font-family:monospace;"><span class="sc2">&lt;<a href="http://december.com/html/4/element/table.html"><span class="kw2">table</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/tbody.html"><span class="kw2">tbody</span></a>&gt;</span><br />
<span class="sc2">&lt;<a href="http://december.com/html/4/element/tr.html"><span class="kw2">tr</span></a>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 1<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 2<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 3<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;</span>Some text here 4<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a>&gt;&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/tr.html"><span class="kw2">tr</span></a>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/tbody.html"><span class="kw2">tbody</span></a>&gt;</span><br />
<span class="sc2">&lt;<span class="sy0">/</span><a href="http://december.com/html/4/element/table.html"><span class="kw2">table</span></a>&gt;</span></div>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>And voila! Remove the whitespaces yourself and IE9 won&#8217;t get confused!</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/ie9-adding-empty-table-cells-in-large-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>..near &#039;option o ON (po.option_id = o.option_id) LEFT JOIN option_description od ON (o.o&#039; at line 1</title>
		<link>http://hsmoore.com/blog/near-option-o-on-po-option_id-o-option_id-left-join-option_description-od-on-o-o-at-line-1/</link>
		<comments>http://hsmoore.com/blog/near-option-o-on-po-option_id-o-option_id-left-join-option_description-od-on-o-o-at-line-1/#comments</comments>
		<pubDate>Mon, 09 May 2011 14:59:02 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[opencart]]></category>

		<guid isPermaLink="false">http://andrewodendaal.com/?p=1240</guid>
		<description><![CDATA[So you&#8217;ve just installed Opencart 1.5.0 and when attempting to edit a product or category or etc you get the following error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;option o ON (po.option_id = o.option_id) LEFT...]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve just installed Opencart 1.5.0 and when attempting to edit a product or category or etc you get the following error:</p>
<p><span style="color: #ff0000;">Error: You have an error in your SQL syntax; check the manual that  corresponds to your MySQL server version for the right syntax to use  near &#8216;option o ON (po.option_id = o.option_id) LEFT JOIN  option_description od ON (o.o&#8217; at line 1</span><br />
<span style="color: #ff0000;">Error No: 1064</span><br />
<span style="color: #ff0000;">SELECT *  FROM product_option po LEFT JOIN option o ON (po.option_id =  o.option_id) LEFT JOIN option_description od ON (o.option_id =  od.option_id) WHERE po.product_id = &#8217;42&#8242; AND od.language_id = &#8217;1&#8242;</span></p>
<p><span style="text-decoration: underline;">This is because you probably didn&#8217;t set a table prefix in the database install initially.</span></p>
<p>There is a very simple fix for this, you need RC1 which you can download here:<br />
<a href="http://forum.opencart.com/download/file.php?id=5056">http://forum.opencart.com/download/file.php?id=5056</a></p>
<p>Once this has been downloaded, just upload and replace over the root of your opencart 1.5.0 site and you&#8217;re good to go!</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/near-option-o-on-po-option_id-o-option_id-left-join-option_description-od-on-o-o-at-line-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML mail() Sending as Plain Text</title>
		<link>http://hsmoore.com/blog/html-mail-sending-as-plain-text/</link>
		<comments>http://hsmoore.com/blog/html-mail-sending-as-plain-text/#comments</comments>
		<pubDate>Tue, 11 May 2010 13:25:14 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[rn]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=804</guid>
		<description><![CDATA[$to = &#34;email@address.com&#34;; $subject = &#34;SUBJECT&#34;; $message = &#34;&#60;b&#62;MESSAGE&#60;/b&#62;&#34;; $headers = &#8216;MIME-Version: 1.0&#8242; . &#34;\r\n&#34;; $headers .= &#8216;Content-type: text/html; charset=iso-8859-1&#8242; . &#34;\r\n&#34;; $headers .= &#8216;From: Mailer &#8216; . &#34;\r\n&#34;; mail&#40;$to, $subject, $message, $headers&#41;; The above code does not always send emails in HTML as it should, it turns out there is a PHP Bug (http://bugs.php.net/15841)...]]></description>
			<content:encoded><![CDATA[<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="re0">$to</span> <span class="sy0">=</span> <span class="st0">&quot;email@address.com&quot;</span><span class="sy0">;</span><br />
<span class="re0">$subject</span> <span class="sy0">=</span> <span class="st0">&quot;SUBJECT&quot;</span><span class="sy0">;</span><br />
<span class="re0">$message</span> <span class="sy0">=</span> <span class="st0">&quot;&lt;b&gt;MESSAGE&lt;/b&gt;&quot;</span><span class="sy0">;</span><br />
<span class="re0">$headers</span> <span class="sy0">=</span> <span class="st_h">&#8216;MIME-Version: 1.0&#8242;</span> <span class="sy0">.</span> <span class="st0">&quot;<span class="es1">\r</span><span class="es1">\n</span>&quot;</span><span class="sy0">;</span><br />
<span class="re0">$headers</span> <span class="sy0">.=</span> <span class="st_h">&#8216;Content-type: text/html; charset=iso-8859-1&#8242;</span> <span class="sy0">.</span> <span class="st0">&quot;<span class="es1">\r</span><span class="es1">\n</span>&quot;</span><span class="sy0">;</span><br />
<span class="re0">$headers</span> <span class="sy0">.=</span> <span class="st_h">&#8216;From: Mailer &#8216;</span> <span class="sy0">.</span> <span class="st0">&quot;<span class="es1">\r</span><span class="es1">\n</span>&quot;</span><span class="sy0">;</span><br />
<a href="http://www.php.net/mail"><span class="kw3">mail</span></a><span class="br0">&#40;</span><span class="re0">$to</span><span class="sy0">,</span> <span class="re0">$subject</span><span class="sy0">,</span> <span class="re0">$message</span><span class="sy0">,</span> <span class="re0">$headers</span><span class="br0">&#41;</span><span class="sy0">;</span></div>
</div>
<p>The above code does not always send emails in HTML as it should, it turns out there is a PHP Bug (<a href="http://bugs.php.net/15841" target="_blank">http://bugs.php.net/15841</a>) that comes into play with QMAIL and carriage returns.<br />
If this is the case you should replace &#8220;\r\n&#8221; with a &#8220;\n&#8221; only.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/html-mail-sending-as-plain-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digsby Stuck in Local Mode</title>
		<link>http://hsmoore.com/blog/digsby-stuck-in-local-mode/</link>
		<comments>http://hsmoore.com/blog/digsby-stuck-in-local-mode/#comments</comments>
		<pubDate>Thu, 06 May 2010 09:21:04 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[bug]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[digsby]]></category>
		<category><![CDATA[local mode]]></category>
		<category><![CDATA[stuck]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=790</guid>
		<description><![CDATA[If your Digsby Client Application gets stuck in Local Mode and won&#8217;t connect no matter what&#8230; ..you may want to try fixing it by doing the following: step1: Uninstall and then reinstall. Did it work? If not then go onto step2. step2: Go to &#8220;C:\Users\[YOUR_USER_NAME]\AppData\Local\&#8221; and delete the Digsby folder. Go onto step3. step2: Go...]]></description>
			<content:encoded><![CDATA[<p><a title="Opens in new window/tab" href="http://www.digsby.com/" target="_blank"><img class="alignleft size-full wp-image-957" style="margin-right: 25px;" title="Digsby" src="http://www.andrewodendaal.com/wp-content/uploads/2010/05/ao_img_digsby.jpg" alt="" width="150" height="163" /></a>If your <a title="Opens in new window/tab" href="http://www.digsby.com/" target="_blank">Digsby Client Application</a> gets stuck in Local Mode and won&#8217;t connect no matter what&#8230; ..you may want to try fixing it by doing the following:</p>
<ul>
<li>step1: Uninstall and then reinstall. Did it work? If not then go onto step2.</li>
<li>step2: Go to &#8220;C:\Users\[YOUR_USER_NAME]\AppData\Local\&#8221; and delete the <a title="Opens in new window/tab" href="http://www.digsby.com/" target="_blank">Digsby</a> folder. Go onto step3.</li>
<li>step2: Go to &#8220;C:\Users\[YOUR_USER_NAME]\AppData\Roaming\&#8221; and delete the <a title="Opens in new window/tab" href="http://www.digsby.com/" target="_blank">Digsby</a> folder. Go onto step4.</li>
<li>step4: Install <a title="Opens in new window/tab" href="http://www.digsby.com/" target="_blank">Digsby</a> and you are now able to connect.</li>
</ul>
<p><a href="#respond">Did this work for you too?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/digsby-stuck-in-local-mode/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iTunes keeps maximizing!</title>
		<link>http://hsmoore.com/blog/itunes-keeps-maximizing/</link>
		<comments>http://hsmoore.com/blog/itunes-keeps-maximizing/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 09:58:48 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[apple]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[annoying]]></category>
		<category><![CDATA[irritating]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[maximise]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=740</guid>
		<description><![CDATA[Oh my goodness, this can be an annoying issue with iTunes. The problem is: iTunes will restore itself or maximize itself all the time every 20 or so seconds without being clicked on, it will also get main focus and whatever you were doing will have to wait! I solved this by right clicking on...]]></description>
			<content:encoded><![CDATA[<p>Oh my goodness, this can be an annoying issue with iTunes.</p>
<p>The problem is: iTunes will restore itself or maximize itself all the time every 20 or so seconds without being clicked on, it will also get main focus and whatever you were doing will have to wait!</p>
<p>I solved this by right clicking on the iTunes program icon where I launch it from and selecting Properties, then selecting &#8220;Compatibility&#8221; then making sure &#8220;Run this program as an administrator&#8221; was checked.</p>
<p>When first starting iTunes I now have to click on &#8220;Yes, I would like to start this program as an administrator&#8230;.blablabla&#8230;&#8221; but it&#8217;s a LOT less irritating than having to constantly minimise iTunes.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/itunes-keeps-maximizing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Component Inspector in Flash has ISSUES!</title>
		<link>http://hsmoore.com/blog/component-inspector-in-flash-has-issues/</link>
		<comments>http://hsmoore.com/blog/component-inspector-in-flash-has-issues/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:14:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[component inspector]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=412</guid>
		<description><![CDATA[I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times. Today it happened again and so I write this post.. While in the Flash IDE you select a component on the stage, then you click &#8220;Component Inspector&#8221;. This opens up into...]]></description>
			<content:encoded><![CDATA[<p>I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times.</p>
<p>Today it happened again and so I write this post..</p>
<p><span style="color: #000080;">While in the Flash IDE you select a component on the stage, then you click &#8220;Component Inspector&#8221;.<br />
This opens up into a modal window which is nice and everything BUT&#8230;.</span><br />
<span style="color: #ff0000;">&#8230;..if you then give focus to another program and then try click back into flash, it hides the &#8220;Component Inspector&#8221; modal window but still keeps focus on it, so basically, you can&#8217;t use the program(Flash IDE) / save your file / or even close the program!</span></p>
<p>You will then have to use the Task Manager to End Process on that instance of Flash!</p>
<p>This can be very annoying and can lose you productivity by not allowing you to save, so these are your options:</p>
<p>1.) Save before using this feature<br />
2.) Don&#8217;t EVER give focus to another application while in the &#8220;Component Inspector&#8221; modal window.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/component-inspector-in-flash-has-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

