<?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>Joseph Burford Photography &#187; Tech Bits</title>
	<atom:link href="http://www.josephburford.com/category/techbits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.josephburford.com</link>
	<description>Adelaide, South Australia</description>
	<lastBuildDate>Sat, 29 Aug 2009 05:46:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TwitterFox &#8211; an awesome Twitter client</title>
		<link>http://www.josephburford.com/2009/01/twitterfox/</link>
		<comments>http://www.josephburford.com/2009/01/twitterfox/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 13:26:30 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=224</guid>
		<description><![CDATA[TwitterFox is a Firefox extension that allows you to interact with Twitter from within the browser. Get your tweets, replies and messages without having to go to the Twitter website or have another application running.
My free tip of the week  

]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitterfox.net">TwitterFox</a> is a Firefox extension that allows you to interact with Twitter from within the browser. Get your tweets, replies and messages without having to go to the <a href="http://twitter.com/josephb" target="_blank">Twitter</a> website or have another application running.</p>
<p>My free tip of the week <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><img class="alignnone size-full wp-image-226" title="twitterfox" src="http://www.josephburford.com/uploads/2009/01/twitterfox.png" alt="twitterfox" width="336" height="411" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2009/01/twitterfox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chumby SSH Login</title>
		<link>http://www.josephburford.com/2008/12/chumby-ssh-login/</link>
		<comments>http://www.josephburford.com/2008/12/chumby-ssh-login/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 18:30:43 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=197</guid>
		<description><![CDATA[Here&#8217;s the ASCII art logo you get when you SSH to a Chumby.

Have been playing with some CGI scripts, to make it a more useful alarm clock  
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the ASCII art logo you get when you SSH to a <a href="http://www.chumby.com" target="_blank">Chumby</a>.</p>
<p><a href="http://www.josephburford.com/uploads/2008/12/chumby-ssh-login.png"><img class="alignnone size-medium wp-image-198" title="chumby-ssh-login" src="http://www.josephburford.com/uploads/2008/12/chumby-ssh-login-379x450.png" alt="" width="379" height="450" /></a></p>
<p>Have been playing with some CGI scripts, to make it a more useful alarm clock <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2008/12/chumby-ssh-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook photo comments timewarp</title>
		<link>http://www.josephburford.com/2008/12/facebook-photo-comments-timewarp/</link>
		<comments>http://www.josephburford.com/2008/12/facebook-photo-comments-timewarp/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 13:04:43 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=194</guid>
		<description><![CDATA[I notice recently that coments on some photos appear to be timewarping into the future. Looks weird  

]]></description>
			<content:encoded><![CDATA[<p>I notice recently that coments on some photos appear to be timewarping into the future. Looks weird <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.josephburford.com/uploads/2008/12/facebook-timewarp.jpg"><img class="alignnone size-medium wp-image-195" title="facebook-timewarp" src="http://www.josephburford.com/uploads/2008/12/facebook-timewarp-450x449.jpg" alt="" width="450" height="449" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2008/12/facebook-photo-comments-timewarp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dell Mini9</title>
		<link>http://www.josephburford.com/2008/10/dell-mini9/</link>
		<comments>http://www.josephburford.com/2008/10/dell-mini9/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 13:32:22 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=164</guid>
		<description><![CDATA[So last week my Dell Mini9 arrived, thanks Michael!! It took long enough to arrive, we ordered 3 of them a day before they were removed from the Dell website. They&#8217;ve returned now, a hundred dollars more expensive though&#8230; and in white, gah!
Anyway mine arrived safely about 3 weeks after the original order, and it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>So last week my Dell Mini9 arrived, thanks Michael!! It took long enough to arrive, we ordered 3 of them a day before they were removed from the Dell website. They&#8217;ve returned now, a hundred dollars more expensive though&#8230; and in white, gah!</p>
<p>Anyway mine arrived safely about 3 weeks after the original order, and it&#8217;s an awesome bit of gear.</p>
<p><span id="more-164"></span></p>
<p>The mini9 does a great job as a netbook, which is what it&#8217;s designed to be funny enough <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>it&#8217;s far more useful than trying to view web sites on a Nokia smart phone where the browser crashes constantly after loading a few sites and the screen res is so low.</p>
<p>First thing I did was put a 2gb stick of RAM in and at this stage I&#8217;ve left XP Home installed. Pretty much the main thing I need is a browser and occasionally  few other tools. If I did change the OS I&#8217;d probably try the latest Ubuntu on it, apparently it works well.</p>
<p>I also bought a <a href="http://catalog.belkin.com/IWCatProductPage.process?Product_Id=460075" target="_blank">Belkin sleeve</a> for some protection, as I&#8217;ve already had the mini9 out and about all over the place <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Things I like.</p>
<ol>
<li>It&#8217;s super portable, I just grab it off the desk when I leave home.</li>
<li>It&#8217;s quiet, no hard drive or fan noise!</li>
<li>Decent battery life for what I do.</li>
<li>Good construction and feel.</li>
</ol>
<p>Things that could be improved.</p>
<ol>
<li>3G card inbuilt, saves having to bluetooth pair with my phone or use the 3G dongle.</li>
<li>Get rid of the glossy LCD, it can be pretty annoying.</li>
<li>On screen feedback when changing brightness / volume etc via the function keys.</li>
<li>Maybe a better keyboard layout, it&#8217;s a bit squished <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p><a href="http://photos.josephburford.com/gallery/6122287_pc7Y2#400642236"><img class="alignnone" src="http://photos.josephburford.com/photos/400642236_4xKV2-S.jpg" alt="" width="400" height="267" /></a></p>
<p>In my in-laws back yard, keeping an eye on Luca running riot!</p>
<p><a href="http://photos.josephburford.com/gallery/6122287_pc7Y2#405272626"><img class="alignnone" src="http://photos.josephburford.com/photos/405272626_9S8BQ-S.jpg" alt="" width="400" height="267" /></a></p>
<p>Out taking night photos, sitting in the car waiting for a rain shower to pass.</p>
<p><a href="http://photos.josephburford.com/gallery/6122287_pc7Y2#405917049"><img class="alignnone" src="http://photos.josephburford.com/photos/405917049_ubKnx-S.jpg" alt="" width="400" height="267" /></a></p>
<p>At the park with the kids, had to quickly do some work <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2008/10/dell-mini9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 on Cisco 877w</title>
		<link>http://www.josephburford.com/2008/09/ipv6-on-cisco-877w/</link>
		<comments>http://www.josephburford.com/2008/09/ipv6-on-cisco-877w/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 12:49:28 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=143</guid>
		<description><![CDATA[IPv6 on a Cisco 877w doesn&#8217;t work&#8230; well it does&#8230; providing you don&#8217;t want to use the wireless bit.
rtr1(config)#int dot11radio0
rtr1(config-if)#ipv6 ?
% Unrecognized command
rtr1(config-if)#
Despite what you might read on the interwebs, you can&#8217;t actually apply an IPv6 address to either the dot11radio interface or sub interfaces.

In my current config I use a single vlan for ethernet [...]]]></description>
			<content:encoded><![CDATA[<p>IPv6 on a Cisco 877w doesn&#8217;t work&#8230; well it does&#8230; providing you don&#8217;t want to use the wireless bit.</p>
<blockquote><p>rtr1(config)#int dot11radio0<br />
rtr1(config-if)#ipv6 ?<br />
% Unrecognized command<br />
rtr1(config-if)#</p></blockquote>
<p>Despite what you might read on the interwebs, you can&#8217;t actually apply an IPv6 address to either the dot11radio interface or sub interfaces.</p>
<p><span id="more-143"></span></p>
<p>In my current config I use a single vlan for ethernet &amp; wireless, IPv6 works perfectly on the LAN but not on the wireless side.</p>
<blockquote><p>rtr1#p ipv6.google.com so vl1</p>
<p>Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 2001:4860:0:2001::68, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), round-trip min/avg/max = 408/411/424 ms<br />
rtr1#</p></blockquote>
<p>On the LAN side hosts get an address and have full connectivity, however epic fail awaits if you try when connected to the wireless. According to what I&#8217;ve <a href="http://www.tunnelbroker.net/forums/index.php?topic=169.msg819#msg819" target="_blank">read</a> Cisco TAC say &#8220;Integrated Routing and Bridging (IRB) does not support IPV6 at all.&#8221;</p>
<p>Bah, so now I&#8217;ll have to be tethered to the desk to use IPv6 or maybe I should get that Airport Extreme fired up and doing something useful instead of collecting dust <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2008/09/ipv6-on-cisco-877w/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Permission denied: /.htaccess pcfg_openfile: unable to check htaccess file</title>
		<link>http://www.josephburford.com/2008/08/permission-denied-htaccess-pcfg_openfile-unable-to-check-htaccess-file/</link>
		<comments>http://www.josephburford.com/2008/08/permission-denied-htaccess-pcfg_openfile-unable-to-check-htaccess-file/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 13:21:45 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=131</guid>
		<description><![CDATA[If you ever see this in your Apache logs:
Permission denied: /path/to/web/data/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
Think permissions, permissions, permissions. If you have chmod&#8217;ed your .htaccess 644 or even 777 and it&#8217;s still not working, start traversing up your directory tree and make sure apache can access everything at each level.
Permissions [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever see this in your Apache logs:</p>
<blockquote><p>Permission denied: /path/to/web/data/html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable</p></blockquote>
<p>Think permissions, permissions, permissions. If you have chmod&#8217;ed your .htaccess 644 or even 777 and it&#8217;s still not working, start traversing up your directory tree and make sure apache can access everything at each level.</p>
<p>Permissions required will depend on the exact server and software setup, but generally something like 755 (drwxr-xr-x) is probably a good start.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2008/08/permission-denied-htaccess-pcfg_openfile-unable-to-check-htaccess-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Joomla error number 2006 MySQL server has gone away</title>
		<link>http://www.josephburford.com/2008/06/joomla-error-number-2006-mysql-server-has-gone-away/</link>
		<comments>http://www.josephburford.com/2008/06/joomla-error-number-2006-mysql-server-has-gone-away/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 14:57:29 +0000</pubDate>
		<dc:creator>Joseph</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Tech Bits]]></category>

		<guid isPermaLink="false">http://www.josephburford.com/?p=112</guid>
		<description><![CDATA[I look after a number of servers in my spare time   One of the guys who I help out contacted me recently with a weird Joomla issue when trying to install a particular component.
* JInstaller::install: SQL Error. DB function failed with error
number 2006
MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS
`jos_comprofiler` ( [...]]]></description>
			<content:encoded><![CDATA[<p>I look after a number of servers in my spare time <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  One of the guys who I help out contacted me recently with a weird <a href="http://www.joomla.org/" target="_blank">Joomla</a> issue when trying to install a particular component.</p>
<blockquote><p>* JInstaller::install: SQL Error. DB function failed with error<br />
number 2006<br />
MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS<br />
`jos_comprofiler` ( `id` int(11) NOT NULL default &#8216;0&#8242;, `user_id` int(11) NOT</p></blockquote>
<p>Other modules and components would install fine, the only one failing to install was comprofiler, part of the <a href="http://www.joomlapolis.com/" target="_blank">Community Builder</a> module for Joomla/Mambo. Other parts of the same module were also installing fine.<br />
<span id="more-112"></span><br />
The full error was a bunch of MySQL inserts headed by the message above.</p>
<p>I had a bit of a look around and couldn&#8217;t locate any particular permission or other issues, the server was running fine with just this single module being a pain.</p>
<p>The Apache error log was showing line after line of errors when you tried to install the module.</p>
<blockquote><p>PHP Notice: Only variable references should be returned by reference in /***.com/html/libraries/joomla/application/module/helper.php on line 288, referer: http://***.com/administrator/index.php</p>
<p>PHP Notice: Trying to get property of non-object in /***.com/html/libraries/joomla/application/module/helper.php on line 93, referer: http://***.com/administrator/index.php</p></blockquote>
<p>Having a look through the referenced code didn&#8217;t point out anything at all and Google wasn&#8217;t much help either <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So I started having a look elsewhere.</p>
<p>When I set the php debug errors for this domain to go to syslog I noticed in the logs that just before the error showed up each time in the logs, there was an FTP connection from 127.0.0.1</p>
<p>I looked into this a bit further and discovered hundreds of lines in the FTP log containing the name of the module/component that was being installed.</p>
<p>Breaking this down it seems to go like this, using the Joomla admin interface you select to install a module, choose a zip file from you local disk and hit install, this is uploaded to the server in the browser, straight after this we see:</p>
<blockquote><p>Fri Jun  6 06:26:03 2008 0 127.0.0.1 563483 /***.com/html/tmp/com_comprofiler.zip b _ i r username ftp 0 * c</p></blockquote>
<p>The web server connects to itself via FTP and uploads the zip file to a tmp folder, this is the file that you just uploaded via the web browser, huh? Next we see:</p>
<blockquote><p>Fri Jun 6 06:26:04 2008 0 127.0.0.1 133024 /***.com/html/tmp/install_4848d87b323b5/com_comprofiler/admin.comprofiler.controller.php b _ i r username ftp 0 * c</p></blockquote>
<p>It looks like the files have now been expanded from the zip and are being uploaded to a randomly named install directory under tmp. Next up we see more FTP action:</p>
<blockquote><p>Fri Jun 6 06:26:19 2008 0 127.0.0.1 133024 /***.com/html/administrator/components/com_comprofiler/admin.comprofiler.controller.php b _ i r username ftp 0 * c</p></blockquote>
<p>The exact same files that were ftp&#8217;ed into the tmp/random install directory are coming in again, this time being uploaded into the components folder.</p>
<p>Mean time back at the ranch, PHP has given up waiting. In /etc/php.ini this particular web server has max_execution_time = 30, so after 30 seconds of the script running it dies with an error. I assume this feeds back into the main install script which doesn&#8217;t do a great job of catching it and triggers the random errors noted above, error messages that don&#8217;t exactly lead you to the right thing <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Working around this was simple enough, I uploaded the zip file to the server, unzipped it to a location inside the customer folder and pointed the Joomla admin install module at the location on disk.</p>
<p>The module installed successfully with no issues, but interestingly enough the admin script grabbed it from the disk location on the drive and uploaded it via FTP to the components folder.</p>
<p>So how many files came in over FTP in 30 seconds before the PHP execution limit was reached?</p>
<blockquote><p>[root@server ~]# grep &#8220;06:26&#8243; /var/log/xferlog | grep -c 127.0.0.1<br />
821<br />
[root@server ~]#</p></blockquote>
<p> <img src='http://www.josephburford.com/wp-includes/images/smilies/icon_neutral.gif' alt=':-|' class='wp-smiley' />  Not nice.</p>
<p>And how many files were FTP&#8217;ed from the server to itself when doing the install from a directory location on disk, inside the same webspace even.</p>
<blockquote><p>[root@server ~]# grep &#8220;06:37&#8243; /var/log/xferlog | grep -c 127.0.0.1<br />
206<br />
[root@server ~]#</p></blockquote>
<p>It still took 8 seconds or so to do this, but at least it was inside the PHP execution limit.</p>
<p>I&#8217;m no Joomla guru, today was the first time I&#8217;ve even looked at it, however it seems rather a broken and inefficient way to go about trying to get module or component files into the right spot.</p>
<p>You could also increase the PHP max execution time to work around this problem, I didn&#8217;t bother trying but somewhere around 60 seconds might work.</p>
<p>So if your Joomla module/component installs are randomly failing with error messages that are clearly wrong, you might be hitting this issue, especially for a larger module or component with a lot of files.</p>
<blockquote><p>UPDATE: 30/06/2008</p></blockquote>
<p>The other reason you will get this error is if your MYSQL timeout limit is too low. I&#8217;ve been using the following settings and haven&#8217;t run into any more problems installing Joomla modules.</p>
<p><strong>php.ini</strong></p>
<p><em>max_execution_time = 60</em></p>
<p><em>max_input_time = 60</em></p>
<p><strong>my.cnf</strong></p>
<p><em>wait_timeout = 60</em></p>
<p><em>connect_timeout = 60</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.josephburford.com/2008/06/joomla-error-number-2006-mysql-server-has-gone-away/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->