<?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>KJBweb</title>
	<atom:link href="http://www.kjbweb.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kjbweb.net</link>
	<description>A Blog by Karl Baillie</description>
	<lastBuildDate>Fri, 20 Jan 2012 11:42:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Web Designer vs Web Developer</title>
		<link>http://www.kjbweb.net/2012/01/web-designer-vs-web-developer/</link>
		<comments>http://www.kjbweb.net/2012/01/web-designer-vs-web-developer/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 11:24:52 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Jokes]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=210</guid>
		<description><![CDATA[Truly the most accurate infographic I&#8217;ve seen in a long time, enjoy.]]></description>
			<content:encoded><![CDATA[<p>Truly the most accurate infographic I&#8217;ve seen in a long time, enjoy.</p>
<p><img title="Designers vs Developers" src="http://www.landingpages.co.il/wix/web-designers-vs-developers.png" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2012/01/web-designer-vs-web-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>POST Content-Length of &#8216;X&#8217; bytes exceeds the limit of &#8216;Y&#8217; bytes in Unknown on line 0</title>
		<link>http://www.kjbweb.net/2011/12/php-warning-post-content-length-of-x-bytes-exceeds-the-limit-of-y-bytes-in-unknown-on-line-0/</link>
		<comments>http://www.kjbweb.net/2011/12/php-warning-post-content-length-of-x-bytes-exceeds-the-limit-of-y-bytes-in-unknown-on-line-0/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 10:29:17 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=206</guid>
		<description><![CDATA[This means something is hitting the limits of the &#8220;post_max_size&#8221; directive defined within your servers php.ini file: root@server [~]# php -i &#124; grep post_max_sizepost_max_size =&#62; 16M Simply head into your php.ini file and raise this limit to something higher, or &#8230; <a href="http://www.kjbweb.net/2011/12/php-warning-post-content-length-of-x-bytes-exceeds-the-limit-of-y-bytes-in-unknown-on-line-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This means something is hitting the limits of the &#8220;post_max_size&#8221; directive defined within your servers php.ini file:</p>
<blockquote><p>root@server [~]# php -i | grep</p>
<p>post_max_sizepost_max_size =&gt; 16M</p></blockquote>
<p>Simply head into your php.ini file and raise this limit to something higher, or alternatively tweak your script to use less resources.</p>
<h4>Search Phrases:</h4><ul><li>php post content length of exceeds limit</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/12/php-warning-post-content-length-of-x-bytes-exceeds-the-limit-of-y-bytes-in-unknown-on-line-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You are *required* to use the date.timezone setting or the date_default_timezone_set() function.</title>
		<link>http://www.kjbweb.net/2011/12/you-are-required-to-use-the-date-timezone-setting-or-the-date_default_timezone_set-function/</link>
		<comments>http://www.kjbweb.net/2011/12/you-are-required-to-use-the-date-timezone-setting-or-the-date_default_timezone_set-function/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 10:25:58 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=204</guid>
		<description><![CDATA[To fix this error, place the following within your servers php.ini file: date.timezone = &#8220;Europe/London&#8221; Supported timezones can be found here. You can also place &#8220;date_default_timezone_set(&#8216;Europe/London&#8217;)&#8221; within the script being called or mentioned within the error message.]]></description>
			<content:encoded><![CDATA[<p>To fix this error, place the following within your servers php.ini file:</p>
<blockquote><p>date.timezone = &#8220;Europe/London&#8221;</p></blockquote>
<p><a title="PHP Timezones" href="http://php.net/manual/en/timezones.php">Supported timezones can be found here.</a></p>
<p>You can also place &#8220;date_default_timezone_set(&#8216;Europe/London&#8217;)&#8221; within the script being called or mentioned within the error message.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/12/you-are-required-to-use-the-date-timezone-setting-or-the-date_default_timezone_set-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference.</title>
		<link>http://www.kjbweb.net/2011/11/parameter-1-to-modmainmenuhelperbuildxml-expected-to-be-a-reference/</link>
		<comments>http://www.kjbweb.net/2011/11/parameter-1-to-modmainmenuhelperbuildxml-expected-to-be-a-reference/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 15:06:11 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=201</guid>
		<description><![CDATA[This is due to Joomla not being certified to run upon PHP v5.3.x, change some code within the file specified. Open &#8220;./modules/mod_mainmenu/helper.php&#8220; Find &#8220;function buildXML(&#38;$params)&#8221; Change to &#8220;function buildXML($params)&#8221; Save and Retry Hope that helps!]]></description>
			<content:encoded><![CDATA[<p>This is due to Joomla not being certified to run upon PHP v5.3.x, change some code within the file specified.</p>
<ul>
<li><strong>Open</strong> &#8220;<strong>./modules/mod_mainmenu/helper.php</strong>&#8220;</li>
<li><strong>Find</strong> &#8220;function buildXML(<strong>&amp;</strong>$params)&#8221;</li>
<li><strong>Change</strong> to &#8220;function buildXML($params)&#8221;</li>
<li><strong>Save</strong> and <strong>Retry</strong></li>
</ul>
<div>Hope that helps!</div>
]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/11/parameter-1-to-modmainmenuhelperbuildxml-expected-to-be-a-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross-Platform PHP IDE</title>
		<link>http://www.kjbweb.net/2011/11/cross-platform-php-ide/</link>
		<comments>http://www.kjbweb.net/2011/11/cross-platform-php-ide/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 14:17:13 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Utils]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=197</guid>
		<description><![CDATA[I cant be arsed right now to do a write up to this, though one worth checking out for those looking for an alternative to Notepad++ on OS&#8217;s other than Windows: http://www.geany.org/ Search Phrases:cross platform php idesamknows firmware]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kjbweb.net/wp-content/uploads/2011/11/screenie_2011-11-14_14-14-51.png" rel="lightbox[197]" title="screenie_2011-11-14_14-14-51"><img class="alignright size-medium wp-image-198" title="screenie_2011-11-14_14-14-51" src="http://www.kjbweb.net/wp-content/uploads/2011/11/screenie_2011-11-14_14-14-51-300x216.png" alt="" width="300" height="216" /></a>I cant be arsed right now to do a write up to this, though one worth checking out for those looking for an alternative to Notepad++ on OS&#8217;s other than Windows:</p>
<p><a href="http://www.geany.org/">http://www.geany.org/</a></p>
<h4>Search Phrases:</h4><ul><li>cross platform php ide</li><li>samknows firmware</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/11/cross-platform-php-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map Overpressure Radii Generated by a Ground-Level Detonation</title>
		<link>http://www.kjbweb.net/2011/10/map-overpressure-radii-generated-by-a-ground-level-detonation/</link>
		<comments>http://www.kjbweb.net/2011/10/map-overpressure-radii-generated-by-a-ground-level-detonation/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 13:14:20 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=189</guid>
		<description><![CDATA[This uses Ajax and Google Maps to show the destructive zones of large explosions, it also comes with a helpful key too so you can see the levels of damage that&#8217;d occur at certain pressure levels. &#160; http://meyerweb.com/eric/tools/gmap/hydesim.html]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kjbweb.net/wp-content/uploads/2011/10/screenie_2011-10-28_14-11-371.png" rel="lightbox[189]" title="screenie_2011-10-28_14-11-37"><img class="alignright size-medium wp-image-192" title="screenie_2011-10-28_14-11-37" src="http://www.kjbweb.net/wp-content/uploads/2011/10/screenie_2011-10-28_14-11-371-300x204.png" alt="" width="300" height="204" /></a>This uses Ajax and Google Maps to show the destructive zones of large explosions, it also comes with a helpful key too so you can see the levels of damage that&#8217;d occur at certain pressure levels.</p>
<p>&nbsp;</p>
<p><a href="http://meyerweb.com/eric/tools/gmap/hydesim.html">http://meyerweb.com/eric/tools/gmap/hydesim.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/10/map-overpressure-radii-generated-by-a-ground-level-detonation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract Important Information from Domain Logs and Sort Results</title>
		<link>http://www.kjbweb.net/2011/10/extract-important-information-from-domain-logs-and-sort-results/</link>
		<comments>http://www.kjbweb.net/2011/10/extract-important-information-from-domain-logs-and-sort-results/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 10:58:39 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=187</guid>
		<description><![CDATA[Quite often using this method I&#8217;ll detect bad bots, issues with robots.txt files and abuse from certain IP&#8217;s. Use this command to check which IP&#8217;s have been accesing your site the most: cat /usr/local/apache/domlogs/YOURDOMAIN.COM &#124; awk {'print $1'} &#124; sort &#8230; <a href="http://www.kjbweb.net/2011/10/extract-important-information-from-domain-logs-and-sort-results/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Quite often using this method I&#8217;ll detect bad bots, issues with robots.txt files and abuse from certain IP&#8217;s.</p>
<p>Use this command to check which IP&#8217;s have been accesing your site the most:</p>
<p><code>cat /usr/local/apache/domlogs/YOURDOMAIN.COM | awk {'print $1'} | sort | uniq -c | sort -n</code></p>
<p>And by using this command you can check which pages are being hammered the most on your site:</p>
<p><code>cat /usr/local/apache/domlogs/YOURDOMAIN.COM | awk {'print $7'} | sort | uniq -c | sort -n</code></p>
<p>The &#8220;$1&#8243; and &#8220;$7&#8243; may differ depending on the format of your domain logs, though this can be configured either by analysing your domain logs and adjusting accordingly or altering your logging format in httpd.conf.</p>
<p>This should however work with no modification on a standard cPanel server running CentOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/10/extract-important-information-from-domain-logs-and-sort-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.PPTX, .DOCX and .XLSX Files Download as .ZIP in IE</title>
		<link>http://www.kjbweb.net/2011/10/pptx-docx-and-xlsx-files-download-as-zip-in-ie/</link>
		<comments>http://www.kjbweb.net/2011/10/pptx-docx-and-xlsx-files-download-as-zip-in-ie/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 17:12:12 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=179</guid>
		<description><![CDATA[This happens due to your servers MIME types that&#8217;re currently in place and Internet Explorer not knowing what to do with the data it&#8217;s receiving. From working on cPanel servers I&#8217;ve found they by default do not have this file &#8230; <a href="http://www.kjbweb.net/2011/10/pptx-docx-and-xlsx-files-download-as-zip-in-ie/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This happens due to your servers MIME types that&#8217;re currently in place and Internet Explorer not knowing what to do with the data it&#8217;s receiving.</p>
<p>From working on cPanel servers I&#8217;ve found they by default do not have this file types handlers defined.</p>
<p>With that in mind we must state how to handle them, you can do this two ways.</p>
<p>The first (and preffered way) is to open up your sites main .htaccess file and enter the following at the very top of the file before anything else:</p>
<p><code>AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx</code></p>
<p><code>AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx</code></p>
<p><code>AddType application/vnd.openxmlformats-<br />
officedocument.spreadsheetml.sheet xlsx</code></p>
<p><code></code>Then save the file and re-upload it to your server.</p>
<p>Alternatively, if you&#8217;re on a cPanel server then you can add these MIME types via the cPanel interface of the account.</p>
<p><em>Be sure if adding via cPanel to not include &#8220;AddType&#8221; or the extension (such as &#8220;pptx&#8221;) in the &#8220;MIME Type&#8221; section and to enter the corresponding filetype in the &#8220;Extensions(s)&#8221; section.</em></p>
<p>All the cPanel interface does is edits the .htaccess file of your site, though sometimes cPanel can botch it up if code already exists within it and can cause &#8220;500 Internal Server Error&#8221; messages; if this happens then head into the .htaccess file manually with an editor and sort it out.</p>
<h4>Search Phrases:</h4><ul><li>download pptx files</li><li>href internet explorer download save as zip</li><li>ie pptx download as zip</li><li>xlsx as zip htaccess</li><li>xlsx docx pptx mime type</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/10/pptx-docx-and-xlsx-files-download-as-zip-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TP-Link TL-WN721N: Fedora 15 Update Fail</title>
		<link>http://www.kjbweb.net/2011/10/tp-link-tl-wn721n-fedora-15-update-fail/</link>
		<comments>http://www.kjbweb.net/2011/10/tp-link-tl-wn721n-fedora-15-update-fail/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 07:37:52 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[SSH]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Utils]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=171</guid>
		<description><![CDATA[I bet you&#8217;ve found like I did, that everything was fine until you updated the system (like the good citizen you are) then every trace of a wireless adapter being present vanishes; don&#8217;t worry though, its not broken and is pretty easy &#8230; <a href="http://www.kjbweb.net/2011/10/tp-link-tl-wn721n-fedora-15-update-fail/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kjbweb.net/wp-content/uploads/2011/10/screenie_2011-10-18_08-29-00.png" rel="lightbox[171]" title="screenie_2011-10-18_08-29-00"><img class="alignright size-medium wp-image-172" title="screenie_2011-10-18_08-29-00" src="http://www.kjbweb.net/wp-content/uploads/2011/10/screenie_2011-10-18_08-29-00-161x300.png" alt="" width="161" height="300" /></a>I bet you&#8217;ve found like I did, that everything was fine until you updated the system (like the good citizen you are) then every trace of a wireless adapter being present vanishes; don&#8217;t worry though, its not broken and is pretty easy to fix.</p>
<p>Gnome just fails at giving you any hint of whats wrong leaving you to to delve into the dmesg log to find the following:</p>
<p><code>ath9k_htc 1-3:1.0: ath9k_htc: Please upgrade to FW version 1.3</code></p>
<p>That&#8217;ll explain it!</p>
<p>Goto the following URL and download &#8220;htc_9271.fw&#8221;, then place it within &#8220;/lib/firmware/&#8221;:</p>
<p><a href="http://wireless.kernel.org/download/htc_fw/1.3/" target="_blank">http://wireless.kernel.org/download/htc_fw/1.3/</a></p>
<p>Job done!</p>
<h4>Search Phrases:</h4><ul><li>TL-WN721N</li><li>fedora tl wn721n</li><li>tl-wn721n linux</li><li>tp link wn721n fedora</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/10/tp-link-tl-wn721n-fedora-15-update-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selling An Image Hosting Domain</title>
		<link>http://www.kjbweb.net/2011/10/selling-an-image-hosting-domain/</link>
		<comments>http://www.kjbweb.net/2011/10/selling-an-image-hosting-domain/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 13:13:54 +0000</pubDate>
		<dc:creator>Karl</dc:creator>
				<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[DigitalPoint Sale]]></category>

		<guid isPermaLink="false">http://www.kjbweb.net/?p=163</guid>
		<description><![CDATA[Another small auction again here for an old image hosting domain name that I&#8217;ve had for a good few years now. I do in a way miss running the image hosting site, mainly as the amount of traffic it got &#8230; <a href="http://www.kjbweb.net/2011/10/selling-an-image-hosting-domain/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.kjbweb.net/wp-content/uploads/2011/10/screenie_2011-10-06_14-04-43.png" rel="lightbox[163]" title="screenie_2011-10-06_14-04-43"><img class="alignright size-medium wp-image-164" title="screenie_2011-10-06_14-04-43" src="http://www.kjbweb.net/wp-content/uploads/2011/10/screenie_2011-10-06_14-04-43-300x95.png" alt="" width="300" height="95" /></a>Another small auction again here for an old image hosting domain name that I&#8217;ve had for a good few years now.</p>
<p>I do in a way miss running the image hosting site, mainly as the amount of traffic it got when it was running and the money it made for the pretty much 0% effort I put in setting it up was great; with that said, it wasn&#8217;t something I was passionate about which is why it&#8217;s previous incarnation has been taken offline when I switched my hosting situation up a bit.</p>
<p><a href="http://forums.digitalpoint.com/showthread.php?t=2298376">http://forums.digitalpoint.com/showthread.php?t=2298376</a></p>
<p>If you&#8217;re interested to know which advertising network I used I&#8217;d be happy to disclose via email.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kjbweb.net/2011/10/selling-an-image-hosting-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

