<?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>Si Dawson . Com &#187; bugs</title>
	<atom:link href="http://sidawson.com/category/bugs/feed" rel="self" type="application/rss+xml" />
	<link>http://sidawson.com</link>
	<description>Self Improving Software. Evolutionary Algorithms. Weak AI.</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:00:05 +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>Insert/Edit link button not working on WordPress (Firefox, Adblock Plus)</title>
		<link>http://sidawson.com/2011/09/insertedit-link-button-not-working-on-wordpress.html</link>
		<comments>http://sidawson.com/2011/09/insertedit-link-button-not-working-on-wordpress.html#comments</comments>
		<pubDate>Sat, 17 Sep 2011 05:48:34 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://sidawson.com/?p=50</guid>
		<description><![CDATA[Just figured out a bug/conflict that&#8217;d been niggling at me for a while. A few months back, the Insert/Edit link button (on the visual editor page of WordPress) stopped working under Firefox. I&#8217;d just done a whole bunch of site upgrades, so I figured it was just a temporary wordpress bug. However, several updates later, [...]]]></description>
			<content:encoded><![CDATA[<p>Just figured out a bug/conflict that&#8217;d been niggling at me for a while.</p>
<p>A few months back, the Insert/Edit link button (on the visual editor page of WordPress) stopped working under Firefox.</p>
<p>I&#8217;d just done a whole bunch of site upgrades, so I figured it was just a temporary wordpress bug.</p>
<p>However, several updates later, and it&#8217;s still there &#8211; and on a couple of different sites, so I thought I&#8217;d investigate a bit further.</p>
<p>After much digging around, I figured out what it was.</p>
<p>Adblock Plus blocks the javascript because it creates a popup window called &#8220;tinyMCEPopup&#8221; &#8211; and of course, the anything called &#8220;popup&#8221; is evil.</p>
<p>To fix this, ensure that Adblock Plus is set to show in the status bar. (Tools | Adblock Plus Preferences &#8211; then when the window opens, under Options, check that &#8220;show in status bar&#8221; is ticked)</p>
<p>Then you&#8217;ll get a little red ABP stop sign in your status bar, you can then right click on that, and select &#8220;Disable on [yourdomain].com.&#8221; When you do that, it&#8217;ll go grey, showing that your domain has been whitelisted, &amp; Adblock Plus will stop screwing with it.</p>
<p>Once the ABP icon is grey, you&#8217;ll need to refresh the page, but after that, everything will be hunky dory.</p>
]]></content:encoded>
			<wfw:commentRss>http://sidawson.com/2011/09/insertedit-link-button-not-working-on-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail: Storage quota exceeded. Why this happens</title>
		<link>http://sidawson.com/2011/02/gmail-storage-quota-exceeded-why-this-happens.html</link>
		<comments>http://sidawson.com/2011/02/gmail-storage-quota-exceeded-why-this-happens.html#comments</comments>
		<pubDate>Sat, 19 Feb 2011 04:29:33 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[bugs]]></category>

		<guid isPermaLink="false">http://sidawson.com/?p=30</guid>
		<description><![CDATA[I helped a friend out yesterday with her Gmail account. It was at 23% (or something) but email to her was bouncing with a &#8220;storage quota exceeded&#8221; message. I googled the hell out of this but couldn&#8217;t find the reason, so I thought I&#8217;d put it up here for the world. There are three possible [...]]]></description>
			<content:encoded><![CDATA[<p>I helped a friend out yesterday with her Gmail account. It was at 23% (or something) but email to her was bouncing with a &#8220;storage quota exceeded&#8221; message.</p>
<p>I googled the hell out of this but couldn&#8217;t find the reason, so I thought I&#8217;d put it up here for the world.</p>
<p>There are three possible reasons this happens (&#8220;storage quota exceeded&#8221; bounces when you don&#8217;t appear to have exceeded your quota):</p>
<ol>
<li>You&#8217;re forwarding email through/to another Gmail account that <strong>has</strong> exceeded its quota</li>
<li>One of your filters is redirecting your mail through a full Gmail account</li>
<li>You&#8217;re using Google Apps to manage all email for your domain, and your Google Apps domain email account is full.</li>
</ol>
<p>Taking these in turn.</p>
<p>Number 1, check in your Gmail account under &#8220;Mail settings&#8221; | &#8220;<a href="https://mail.google.com/mail/?shva=1#settings/fwdandpop">Forwarding and POP/IMAP</a>&#8221; if you have any forwarding going on. If you do (and it&#8217;s to another Gmail account), check that account hasn&#8217;t used up its quota.</p>
<p>Number 2, check in your Gmail account under &#8220;Mail settings&#8221; | &#8220;<a href="https://mail.google.com/mail/?shva=1#settings/filters">Filters</a>&#8221; if any of your filters send mail via another Gmail account. If so, check if it&#8217;s used up its quota.</p>
<p>Number 3 (this is what happened to my friend), go to <a href="http://www.google.com/apps/intl/en/business/index.html">Google apps</a> (that link will currently take you mostly there, but if you&#8217;re using the free version, click on the &#8220;Google apps (Free)&#8221; link at the bottom left, under &#8220;Solutions&#8221;. Alternatively, just google the damn site (ie, Google Google Apps. Yes, this is somewhat ridiculous). Google tends to shuffle things around pretty regularly.</p>
<p>ANYWAY.</p>
<ul>
<li>Sign in to Google Apps &#8211; remember, this will be your Google Apps login/password, not your Gmail login/password.</li>
<li>Scroll down to &#8220;Email&#8221;</li>
<li>Click on the link underneath the Icon, <strong>not</strong> the Email icon itself (this goes somewhere else)</li>
</ul>
<p>This will take you to the inbox for your domain. All email to any accounts on your domain gets copied here (I guess so system administrators can see what everybody&#8217;s been up to). What this means is &#8211; even if you&#8217;re keeping your normal Gmail account nice &amp; low, this domain-wide account will be getting filled up.</p>
<p>THIS is where the &#8220;storage quota exceeded&#8221; bounce messages are coming from.</p>
<p>Confusingly, there&#8217;s nothing in the email headers that will tell you this. You just have to magically know (Thanks Google!) No matter, I&#8217;m telling you, so now you know anyway.</p>
<p>From this domain-wide Gmail you can delete all the Spam. Do searches for things like &#8220;has:attachment&#8221;, then click &#8220;select all&#8221;, and &#8220;select all conversations that match this search&#8221;, then click Delete. Or, if you&#8217;re feeling wild &amp; crazy, just select everything &amp; delete it. Up to you.</p>
<p>Finally, remember to click on &#8220;Bin&#8221; (it&#8217;s what Trash is called in the Google Apps version of Gmail) and &#8220;Delete forever&#8221;. This&#8217;ll free up all the space, and stop your incoming emails bouncing.</p>
<p>You&#8217;re quite safe deleting anything you like from this account. It&#8217;s completely separate from your normal Gmail account.</p>
<p>Voila. You&#8217;re welcome. Be excellent to each other!</p>
]]></content:encoded>
			<wfw:commentRss>http://sidawson.com/2011/02/gmail-storage-quota-exceeded-why-this-happens.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox Redirecting Seemingly Randomly</title>
		<link>http://sidawson.com/2010/07/firefox-redirecting-seemingly-randomly.html</link>
		<comments>http://sidawson.com/2010/07/firefox-redirecting-seemingly-randomly.html#comments</comments>
		<pubDate>Thu, 15 Jul 2010 21:17:42 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://sidawson.com/?p=26</guid>
		<description><![CDATA[This is another of the &#8220;this is so obscure I couldn&#8217;t find anything on Google about it, so I&#8217;m writing the canonical post&#8221; issues. I just had an bug that drove me batty. I was trying to access a webserver on localhost, my laptop. Firefox was redirecting to my production (ie not the laptop) server, [...]]]></description>
			<content:encoded><![CDATA[<p>This is another of the &#8220;this is so obscure I couldn&#8217;t find anything on Google about it, so I&#8217;m writing the canonical post&#8221; issues.</p>
<p>I just had an bug that drove me batty. I was trying to access a webserver on localhost, my laptop. Firefox was redirecting to my production (ie not the laptop) server, but other browsers weren&#8217;t. Browsing to &#8216;localhost&#8217; or 127.0.0.1 worked perfectly, it was just using the laptop name that caused the problem.</p>
<p>Straight away this rules out: the local webserver (eg .htaccess rules), dns or hosts files screw ups. I also switched OFF the local server &amp; same issue occurred.</p>
<p>Of course, it took quite some time to nut my way through the above diagnostics.</p>
<p>Turns out it was the Firefox awesome bar being not so awesome.</p>
<p>Months ago, I&#8217;d redirected the laptop name (not &#8216;localhost&#8217; but the actual name) to the production server via the local hosts file, to assist with a debugging issue. Of course, once I finished debugging I changed the hosts file back again.</p>
<p>I only recently installed a webserver on the laptop, &amp; it seems that when I&#8217;d browsed to the laptop sufficient number of times, Firefox obviously juggled its internal preferences &amp; then started using an older, cached version of the name-&gt;ip resolution. This added to the confusion, of course. It worked perfectly, then with no relevant changes at all suddenly started redirecting.</p>
<p>The solution? View history, &amp; delete all references to the local server. Voila, incorrect ip resolution gets removed &amp; redirection stops.</p>
<p>Crazy. Hopefully this saves you some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://sidawson.com/2010/07/firefox-redirecting-seemingly-randomly.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.8.5 dashboard not working in Firefox</title>
		<link>http://sidawson.com/2009/11/wordpress-285-dashboard-not-working-in.html</link>
		<comments>http://sidawson.com/2009/11/wordpress-285-dashboard-not-working-in.html#comments</comments>
		<pubDate>Sun, 08 Nov 2009 05:58:00 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://sidawson.com/?p=17</guid>
		<description><![CDATA[I&#8217;ve been playing with an install of WordPress 2.8.5.. &#38; along with a plethora of other bugs &#38; issues, there was one in particular that stood out. I couldn&#8217;t use the dashboard under Firefox. It took a little searching, but I found the issue. Here&#8217;s how to solve it: In your [blog root]/wp-admin/load-script.php file, around [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been playing with an install of WordPress 2.8.5.. &amp; along with a plethora of other bugs &amp; issues, there was one in particular that stood out.</p>
<p>I couldn&#8217;t use the dashboard under Firefox.</p>
<p>It took a little searching, but I found the issue. Here&#8217;s how to solve it:</p>
<p>In your [blog root]/wp-admin/load-script.php file, around line 618, there is a line thus (this is all on one line, it&#8217;s just wrapping when displayed here):</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>echo &#8220;&lt;script type=&#8217;text/javascript&#8217; src=&#8217;&#8221; . <strong>esc_attr(</strong>$src<strong>)</strong> . &#8220;&#8216;&gt;&lt;/script&gt;\n&#8221;;</p></blockquote>
<p>change it to:</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>echo &#8220;&lt;script type=&#8217;text/javascript&#8217; src=&#8217;&#8221; . $src . &#8220;&#8216;&gt;&lt;/script&gt;\n&#8221;;</p></blockquote>
<p>and around line 687 there is a line:</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>echo &#8220;&lt;link rel=&#8217;stylesheet&#8217; href=&#8217;&#8221; . <strong>esc_attr(</strong>$href<strong>)</strong> . &#8220;&#8216; type=&#8217;text/css&#8217; media=&#8217;all&#8217; /&gt;\n&#8221;;</p></blockquote>
<p>change it to:</p>
<blockquote style="margin-right: 0px;" dir="ltr"><p>echo &#8220;&lt;link rel=&#8217;stylesheet&#8217; href=&#8217;&#8221; . $href . &#8220;&#8216; type=&#8217;text/css&#8217; media=&#8217;all&#8217; /&gt;\n&#8221;;</p></blockquote>
<p dir="ltr">So what&#8217;s going on here?</p>
<p dir="ltr">The lines before those two create urls for loading scripts &amp; stylesheets, respectively.</p>
<p dir="ltr">Those urls are then getting run through esc_attr, which turns characters like &amp; into strings like &amp;amp;</p>
<p dir="ltr">Often this is useful, but not here. What it means is that the html that is getting expressed in the page (you can see this if you pull up the dashboard &amp; do a view source) looks like this:</p>
<blockquote>
<p dir="ltr">&lt;script type=&#8217;text/javascript&#8217; src=&#8217;http://[site]/wp-admin/load-scripts.php?c=1<strong>&amp;amp;</strong>load=jquery,utils,quicktags<strong>&amp;amp;</strong>ver=b64ae9a301a545332f1fcd4c6c5351b4&#8242;&gt;&lt;/script&gt;</p>
</blockquote>
<p dir="ltr">and</p>
<blockquote>
<p dir="ltr">&lt;link rel=&#8217;stylesheet&#8217; href=&#8217;http://[site]/wp-admin/load-styles.php?c=1<strong>&amp;amp;</strong>dir=ltr<strong>&amp;amp;</strong>load=dashboard,plugin-install,global,wp-admin <strong>&amp;amp;</strong>ver=6403d4cb3e6353f406fd43f1b0373ec2&#8242; type=&#8217;text/css&#8217; media=&#8217;all&#8217; /&gt;</p>
</blockquote>
<p>Which basically meant that the files weren&#8217;t getting loaded at all, the dashboard was looking like complete crap, and, well, not working at all.</p>
<p dir="ltr">The slight changes above simply remove that encoding, resulting in the correct urls:</p>
<blockquote>
<p dir="ltr">&lt;script type=&#8217;text/javascript&#8217; src=&#8217;http://[site]/wp-admin/load-scripts.php?c=1<strong>&amp;</strong>load=jquery,utils,quicktags<strong>&amp;</strong>ver=b64ae9a301a545332f1fcd4c6c5351b4&#8242;&gt;&lt;/script&gt;</p>
</blockquote>
<p dir="ltr">and</p>
<blockquote>
<p dir="ltr">&lt;link rel=&#8217;stylesheet&#8217; href=&#8217;http://[site]/wp-admin/load-styles.php?c=1<strong>&amp;</strong>dir=ltr<strong>&amp;</strong>load=dashboard,plugin-install,global,wp-admin <strong>&amp;</strong>ver=6403d4cb3e6353f406fd43f1b0373ec2&#8242; type=&#8217;text/css&#8217; media=&#8217;all&#8217; /&gt;</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://sidawson.com/2009/11/wordpress-285-dashboard-not-working-in.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox 3.5.5 screwy characters appearing</title>
		<link>http://sidawson.com/2009/11/firefox-355-screwy-characters-appearing.html</link>
		<comments>http://sidawson.com/2009/11/firefox-355-screwy-characters-appearing.html#comments</comments>
		<pubDate>Sun, 08 Nov 2009 05:42:00 +0000</pubDate>
		<dc:creator>Si</dc:creator>
				<category><![CDATA[bugs]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://sidawson.com/?p=16</guid>
		<description><![CDATA[There&#8217;s something that&#8217;s bugged me ever since I upgraded to Firefox 3. Certain pages that used to work perfectly in Firefox 2 suddenly didn&#8217;t. Instead there would be a mess on the page &#8211; lots of square boxes the size of characters with text inside them. Like this or maybe this Typically this would be [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s something that&#8217;s bugged me ever since I upgraded to Firefox 3. Certain pages that used to work perfectly in Firefox 2 suddenly didn&#8217;t.</p>
<p>Instead there would be a mess on the page &#8211; lots of square boxes the size of characters with text inside them. Like this <img src="http://sidawson.com/images/2009/10/comp_1.jpg" alt="comp_1.jpg" height="33" width="64"/> or maybe this <img src="http://sidawson.com/images/2009/10/comp_2.jpg" alt="comp_2.jpg" height="18" width="62"/></p>
<p>Typically this would be some kind of character encoding issue ( the server/browser specifying/requesting UTF-8 instead of ISO-8859-1 etc), or having Auto-Detect universal set off in Firefox &#8211; and most sites around the net propose this as a solution (oh, &amp; also recommend partial reinstalls of your O/S).</p>
<p>Uhh, no.</p>
<p>It&#8217;s actually a compression issue.</p>
<p>If you&#8217;re having this problem, the resolution is this:</p>
<p>Enter into the address bar</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>about:config</p>
</blockquote>
<p>in the Filter textbox below, type</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>network.http.accept-encoding</p>
</blockquote>
<p>You can also just start typing &#8220;accept-encoding&#8221; until it appears on the screen.</p>
<p>Double click the network.http.accept-encoding entry.</p>
<p>Now, on my browser, it was set to</p>
<blockquote><p>gzip,deflate;q=0.9,compress;q=0.7</p>
</blockquote>
<p>but should have been</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>gzip,deflate</p>
</blockquote>
<p>So, type that into the box &amp; hit OK, then restart your browser (just make sure you close all your windows too)</p>
<p>Voila, you can now surf the web without having to constantly switch back to IE.</p>
]]></content:encoded>
			<wfw:commentRss>http://sidawson.com/2009/11/firefox-355-screwy-characters-appearing.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

