<?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>Netflow Developments &#187; Technology</title>
	<atom:link href="http://blog.netflowdevelopments.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.netflowdevelopments.com</link>
	<description>The latest and greatest happenings in the world of Science, Technology and everything else Geek</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:48:41 +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>Static discharge through earbuds into laptop = No sound</title>
		<link>http://blog.netflowdevelopments.com/2012/02/05/static-discharge-through-earbuds-into-laptop-no-sound/</link>
		<comments>http://blog.netflowdevelopments.com/2012/02/05/static-discharge-through-earbuds-into-laptop-no-sound/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 02:48:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[discharge]]></category>
		<category><![CDATA[headphones]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[no sound]]></category>
		<category><![CDATA[static electricity]]></category>
		<category><![CDATA[windows]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=841</guid>
		<description><![CDATA[Well this was a fun little problem that happened to me today.. Wearing track pants on shag carpenting means a lot of static apparently and at one point I felt a sudden jolt of electricity in my ear and then my sound card died.. Everything else was working fine, my system was playing sound according [...]]]></description>
			<content:encoded><![CDATA[<p>Well this was a fun little problem that happened to me today.. Wearing track pants on shag carpenting means a lot of static apparently and at one point I felt a sudden jolt of electricity in my ear and then my sound card died.. Everything else was working fine, my system was playing sound according to the level meters but nothing was coming out of the earbuds or my speakers when I unplugged them.</p>
<p>Of course my first thoughts were that this was a linux issue as sound cards and linux don&#8217;t play so nice to say the least so I rebooted into windows and lo and behold the problem persisted.  I could see the volume levels going u pand down with the music I played but the laptop was dead silent.</p>
<p>It took me a while of working ins ilence and just assuming that my sound card was fried to think about unplugging the whole machine, taking out the battery and then turning it back on again.. After doing so I&#8217;m happy to report that I have sound again and the laptop is back up to being it&#8217;s spiffy self!  Huzzah!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2012/02/05/static-discharge-through-earbuds-into-laptop-no-sound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Corsair Gaming Headset HS1 &#8211; Complete Garbage</title>
		<link>http://blog.netflowdevelopments.com/2012/01/09/corsair-gaming-headset-hs1-complete-garbage/</link>
		<comments>http://blog.netflowdevelopments.com/2012/01/09/corsair-gaming-headset-hs1-complete-garbage/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 07:58:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bass]]></category>
		<category><![CDATA[corsair]]></category>
		<category><![CDATA[gargage]]></category>
		<category><![CDATA[hs1]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[quality]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[sound]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=812</guid>
		<description><![CDATA[I got this headset the other month as there was a crazy deal on it that I cuoldnt&#8217; turn down and immediately I regretted spending any amount of money on these pieces of garbage.  The sound quality on these is easily the worst I have heard in my life on a USB headset and some [...]]]></description>
			<content:encoded><![CDATA[<p>I got this headset the other month as there was a crazy deal on it that I cuoldnt&#8217; turn down and immediately I regretted spending any amount of money on these pieces of garbage.  The sound quality on these is easily the worst I have heard in my life on a USB headset and some of the worst on anything short of an airplane headset.. There is virtually no bass delivered at all on these 50mm drivers which I just assumed would have a much greater range than the 40mm drivers that I had in my old creative labs arena headsetup but there isn&#8217;t, it disappointed me from day one and didn&#8217;t stop disappointing me up until this very moment when the god damn cord just snapped for no good reason.  This shocked the hell out of me as the cord itself is encased in what feels like rope so you can literally take a section of it and pull as hard as you want and it won&#8217;t break.  What the brilliant shits at corsair DIDN&#8217;T do however was to secure this roping to where it connects into the volume control meaning that it&#8217;s basically just the copper wire inside that&#8217;s holding it in place there and the sligthest tug on that and out it snaps, rendering these things useless.  They are huge and bulky, the phone on the ears is soft and thin so all of the sound escapes to piss of people around you and they aren&#8217;t any more comfortable on my head than any others I&#8217;ve owned.</p>
<p>I got these for over 50% off and even then it was the single biggest waste of money I have ever spent in my entire life and the worst part is that I knew this the moment I put these pieces of garbage on my head.  Stay FAR FAR away from any of these products, Corsair needs to stick to the ram game because they are ruining their name by producing such underperformance, low grade pieces of garbage.</p>
<h2>Overall Rating:</h2>
<p>Sound Quality: 5/10</p>
<p>Bass Quality: 2/10</p>
<p>Construction: 3/10 (not counting the cord &#8211; 8/10)</p>
<p>Mic Quality: 7/10</p>
<p>Looks: 0/10</p>
<p>Value: Any price is too high</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2012/01/09/corsair-gaming-headset-hs1-complete-garbage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting views_slideshow_galleria to work with Drupal</title>
		<link>http://blog.netflowdevelopments.com/2011/11/21/getting-views_slideshow_galleria-to-work-with-drupal/</link>
		<comments>http://blog.netflowdevelopments.com/2011/11/21/getting-views_slideshow_galleria-to-work-with-drupal/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 14:06:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux / Freebsd]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[galleria]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[not working]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[view]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=763</guid>
		<description><![CDATA[Wow, this was a 4 hour joyride today.  I wanted to setup galleria today, which is this awesome slideshow/gallery script that has a drupal module.  I got views slideshow working in a matter of minutes but as soon as I installed galleria and changed my slideshow type to that it dissapeared off the main page.. [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, this was a 4 hour joyride today.  I wanted to setup <a href="http://galleria.aino.se/">galleria</a> today, which is this awesome slideshow/gallery script that has a drupal module.  I got views slideshow working in a matter of minutes but as soon as I installed galleria and changed my slideshow type to that it dissapeared off the main page.. The thumbs were coming up fine in the preview area but on the main page where it was to be displayed nothing was showing up, no errors no nothing?  4 hours later I have the solution and the frustrating thing is that I tried it, kind of 2 hours ago but didn&#8217;t quite do it right.</p>
<p>Anyways, the main issue with this is with jquery.  You see drupal 6 ships with jquery 1.2.6 and you need 1.3 or higher.  &#8221;That&#8217;s what the jquery update module is for&#8221; you are no doubt saying to yourself, well that&#8217;s what I thought and it turns out we were both wrong on this one.. Hopefully you aren&#8217;t running nivo or anythign else that requires jquery update because you are going to have to disable and delete that module.  Secondly you need to go grab <a href="http://docs.jquery.com/Downloading_jQuery">jquery</a> 1.3.2 from here: http://jqueryjs.googlecode.com/files/jquery-1.3.2.js and you need to rename it to jquery.js and stick it in drupal&#8217;s misc directory.  <strong>To be clear: </strong>You need to unisntall the jquery update module or else this will not work.. Don&#8217;t make the mistake I did and just copy 1.3.2 over and expect something to happen because it won&#8217;t</p>
<p>So this alone gave me more results than anything else, unfortunately those results were error messages about missing height and width attributes in the classic themes .css file.  At first it was with the .galleria-stage section missing a height so I had to change it to this:</p>
<pre>.galleria-stage {
    position: absolute;
    height: 300px;
    top: 10px;
    bottom: 60px;
    left: 10px;
    right: 10px;
    overflow:hidden;
}</pre>
<pre></pre>
<pre>After that was put in then it started bitching about .galleria missing height and width variables so I changed them to this:</pre>
<pre>.galleria-container {
    position: relative;
    overflow: hidden;
    background: #000;
    width: 400px;
    height: 300px;
}</pre>
<pre></pre>
<pre>Much to my complete amazement, after this was done the bloody thing started to work.. Couldn't believe my eyes so hopefully this helps some people out</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/11/21/getting-views_slideshow_galleria-to-work-with-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lessons learned about speeding up WordPress and an apache webserver in general</title>
		<link>http://blog.netflowdevelopments.com/2011/11/08/lessons-learned-about-speeding-up-wordpress-and-an-apache-webserver-in-general/</link>
		<comments>http://blog.netflowdevelopments.com/2011/11/08/lessons-learned-about-speeding-up-wordpress-and-an-apache-webserver-in-general/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 22:00:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux / Freebsd]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[minify]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[optimize]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=739</guid>
		<description><![CDATA[Alright so I&#8217;ve been struggling with this for quite some time.  I run 60-70 wordpress blogs that make up a large network of travel websites providing information on news, restaurants, hotels, events and job postings for every major city in north america.  Chances are if you&#8217;ve searched one of those things for a particular city [...]]]></description>
			<content:encoded><![CDATA[<p>Alright so I&#8217;ve been struggling with this for quite some time.  I run 60-70 wordpress blogs that make up a large network of travel websites providing information on news, restaurants, hotels, events and job postings for every major city in north america.  Chances are if you&#8217;ve searched one of those things for a particular city you&#8217;ve hit one of my sites(or at least that&#8217;s the idea).  Now the problem is that there are a LOT of hotels, restaurants, news articles and job postings in north america, 100&#8242;s of thousands of them.  This means that my blogs have 100&#8242;s of thousands of posts on them and this number grows every day as they are updated to reflect new jobs, news and everything else going on in your city.</p>
<p>The big problem arises now because I have 60 blogs all with 10&#8242;s of thousands of posts being accessed by 100&#8242;s and 1000&#8242;s of people every day, clearly this isn&#8217;t somethign wordpress was built for but I have a flavoured history of bending software to my will.  My CPU usage was constantly at 100% and it&#8217;s only recently that I&#8217;ve gotten around to fixing this, or so the germans would have me believe <img src='http://blog.netflowdevelopments.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Here&#8217;s what you need to do</p>
<ol>
<li>Make sure eAccelerator is installed on your server</li>
<li>Tweak your apache settings.. Right now this is what I have my httpd.conf set to:</li>
<li>
<pre>MaxKeepAliveRequests 20
KeepAliveTimeout 2
Timeout 45
MaxClients 20
MinSpareServers 2
MaxSpareServers 7
StartServers  4</pre>
</li>
<li>Make sure that you have wp-super-cache installed.. I researched the crap out of caching plugins and this one consistently came out on top</li>
<ul>
<li>Now here&#8217;s the kicker..  I had a script that installs and sets up new websites for me and much to my chagrin after 6 months I <strong>just</strong> noticed that none of my blogs were caching properly.. the reason was because wordpress didn&#8217;t have write access to wp-content/cache/supercache.  Make SURE the wp-content/cache directory and ALL subdirs are writable by apache</li>
</ul>
<li>Increase your expiry time substantially.  The default is 3600 seconds(1/2 hour) but why do I want all of my sites rebuilding their cached pages every 30 minutes when I only update the sites every 4 hours?  So change the expiry time to something more in line with the frequency of your updates so you&#8217;re server isn&#8217;t constantly rebuilding pages all the time</li>
<li><strong>Preload, preload preload</strong>: This one was huge for me because of the number of posts I have.  Go into the preload section and turn on preload mode.  After you&#8217;ve updated the settings click on preload cache now.  This will systematically go through and precache your entire website..  The beauty about preload mode is that the precached posts done here never expire or are ever recached.  The preloading processes is fairly slow so you can do a few sites at a time without worrying that it&#8217;s going to melt your server into the ground</li>
<li><strong>WP-Minify: </strong>This wonderful little plugin takes your CSS and JS files and compresses the hell out of them, as much as it can without breaking them so that instead of your people having to load 10 50k CSS files it crunches it down to 1 50k  CSS file or something ridiculous like that.  Definitely some tweaking to look at with that</li>
<li><strong>Remove all unnecessary plugins:</strong> The less that loads the less your load. Figure out what you absolutely don&#8217;t need and scrap it</li>
<li><strong>Disable all Apache logging:  </strong>In total I have a few hundred websites on the server and recently I&#8217;ve turned off all domain specific apache logging.  If I need to trouble shoot a domain I&#8217;ll just re-enable it and the repeat the problem to see what&#8217;s going on but disabling this has also reduced my cpu consumption by leaps and bounds.</li>
<li><strong>Nginx: </strong>Whatever you do don&#8217;t have all of your traffic flowing solely through apache, get something like nginx on there.</li>
</ol>
<div>I&#8217;ve never seen high CPU usage from mysql with any of my blogs so I&#8217;ve given up trying to optimize that..I&#8217;ve gone through the process of trying to optimize mysql but never noticed a difference so I just leave that as stock.  Hopefully that helps you out, my server isn&#8217;t the flashiest or the beefiest of girls but she&#8217;s a well oiled and highly tuned machine.  With these tweaks I should be able to get a few more years out of the ole girl yet <img src='http://blog.netflowdevelopments.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/11/08/lessons-learned-about-speeding-up-wordpress-and-an-apache-webserver-in-general/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is your wordpress home page displaying a 404 error all of a sudden?</title>
		<link>http://blog.netflowdevelopments.com/2011/11/07/is-your-wordpress-home-page-displaying-a-404-error-all-of-a-sudden/</link>
		<comments>http://blog.netflowdevelopments.com/2011/11/07/is-your-wordpress-home-page-displaying-a-404-error-all-of-a-sudden/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 02:57:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[home page]]></category>
		<category><![CDATA[no posts]]></category>
		<category><![CDATA[reading settings]]></category>
		<category><![CDATA[static page]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=735</guid>
		<description><![CDATA[Just went through troubleshooting this for a friends site and thought I&#8217;d post teh fixes..There are two main possibilities here: You have no posts(ie: you even deleted the default post wordpress comes with In the &#8216;Reading Settings&#8217; you&#8217;ve changed the front page from &#8216;display latest posts&#8217; to &#8216;A Static Page (select below) The key with [...]]]></description>
			<content:encoded><![CDATA[<p>Just went through troubleshooting this for a friends site and thought I&#8217;d post teh fixes..There are two main possibilities here:</p>
<ol>
<li>You have no posts(ie: you even deleted the default post wordpress comes with</li>
<li>In the &#8216;Reading Settings&#8217; you&#8217;ve changed the front page from &#8216;display latest posts&#8217; to &#8216;A Static Page (select below)</li>
<ul>
<li>The key with the above problme is that you failed to read the (select below) portion and if you look at &#8216;Front Page&#8217; the drop down box probably has &#8211;Select&#8211; selected, which means nothing is selected.. Pick a god damn page and you&#8217;re off the the races!</li>
</ul>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/11/07/is-your-wordpress-home-page-displaying-a-404-error-all-of-a-sudden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samsung c6500 Not connecting wirelessly with WPA</title>
		<link>http://blog.netflowdevelopments.com/2011/11/03/samsung-c6500-not-connecting-wirelessly-with-wpa/</link>
		<comments>http://blog.netflowdevelopments.com/2011/11/03/samsung-c6500-not-connecting-wirelessly-with-wpa/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 01:06:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[c5500]]></category>
		<category><![CDATA[c6500]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=733</guid>
		<description><![CDATA[So I turned on the encryption here as it was off as that&#8217;s no good, I went into the blueray player and set the new encryption key and guess what happened next, NOTHING!  As per usual I got to spend an exorbitant amount of time fixing a problem that shouldn&#8217;t exist in the first place.  So first [...]]]></description>
			<content:encoded><![CDATA[<p>So I turned on the encryption here as it was off as that&#8217;s no good, I went into the blueray player and set the new encryption key and guess what happened next, NOTHING!  As per usual I got to spend an exorbitant amount of time fixing a problem that shouldn&#8217;t exist in the first place.  So first rule: don&#8217;t buy a Samsung blueray player!</p>
<p>But if you don&#8217;t have a choice here&#8217;s what you need to do to get it working:</p>
<p>Manually reserve IP Address for the Blu Ray Player<br />
Make sure your SSID is 8 Characters or less<br />
Make Sure your password was 8 characters or less<br />
Manually set IP address and DNS in the Blu Ray setup</p>
<ul>
<li>If your router IP is 192.168.1.1 then set your c6500 IP to 192.168.1.10 or 15 or something that isn&#8217;t taken</li>
<li>Set the gateway to 192.168.1.1(if that&#8217;s your router IP)</li>
<li>Set the netmask to 255.255.255.0</li>
<li>Set the DNS to 8.8.8.8</li>
</ul>
<p>And there ya go!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/11/03/samsung-c6500-not-connecting-wirelessly-with-wpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded Timthumbs not displaying images: Could not find the internal image you specified.</title>
		<link>http://blog.netflowdevelopments.com/2011/10/31/upgraded-timthumbs-not-displaying-images-could-not-find-the-internal-image-you-specified/</link>
		<comments>http://blog.netflowdevelopments.com/2011/10/31/upgraded-timthumbs-not-displaying-images-could-not-find-the-internal-image-you-specified/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 09:39:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux / Freebsd]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[internal image]]></category>
		<category><![CDATA[not loading]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[security block]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[upgrade]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=729</guid>
		<description><![CDATA[Alright, this was a 2 hour ride of fun and joy at 4 in the morning that I would have rather not gone through but hopefully I can offer a little help to those( and I know there are plenty out there) underground the same hell. So as you know timthumb had an awesome exploit [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, this was a 2 hour ride of fun and joy at 4 in the morning that I would have rather not gone through but hopefully I can offer a little help to those( and I know there are plenty out there) underground the same hell.</p>
<p>So as you know timthumb had an awesome exploit in it that allowed my entire server to be compromised prompting a complete upgrade server-wide which I blogged about at length(http://blog.netflowdevelopments.com/2011/10/13/timthumb-exploit-causing-plethora-of-sites-to-redirect-to-russia/).  Well almost as awesome as timthumb being full of bullshit security holes before the upgrade is it not working at all after the upgrade because of the error message mentioned in the title.</p>
<p>This was made even more awesome when I went to referenced url of the image in question and saw that it loaded fine.  Cooooollll!</p>
<p>So I went into the timthumb.php file and found this line</p>
<p>define (&#8216;DEBUG_ON&#8217;, false);</p>
<p>and turned it into this</p>
<p>define (&#8216;DEBUG_ON&#8217;, true);</p>
<p>&nbsp;</p>
<p>and then found this:</p>
<p>define (&#8216;DEBUG_LEVEL&#8217;, 1);</p>
<p>and turned it into this</p>
<p>define (&#8216;DEBUG_LEVEL&#8217;, 3);</p>
<p>&nbsp;</p>
<p>This exposed a whole new level of insanity with the following nonsensical errors</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 11px; margin-left: 0px; color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px; background-color: #ffffff; padding: 0px;">[Mon Oct 31 01:02:37 2011] [error] [client 127.0.0.1] TimThumb Debug line 1076 [0.000327 : 0.000198] Doc root is: /path/to/domain<br />
[Mon Oct 31 01:02:37 2011] [error] [client 127.0.0.1] TimThumb Debug line 1076 [0.000327 : 0.000198] Found file as /path/to/domain/wp-content/uploads/2009/11/ComfortInn1.jpg<br />
[Mon Oct 31 01:02:37 2011] [error] [client 127.0.0.1] TimThumb Debug line 1076 [0.001643 : 0.000392]: Security block: The file specified occurs outside the document root.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 11px; margin-left: 0px; color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px; background-color: #ffffff; padding: 0px;">W-T-F?!?!?! it&#8217;s telling me that a file which lies within my specific Doc root is simulataneously outside my Doc root and being blocked?!?  It was this point that I had to focus really hard against the urges of bashing my head in with the nearest blunt object I could find.</p>
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 11px; margin-left: 0px; color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px; background-color: #ffffff; padding: 0px;">
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 11px; margin-left: 0px; color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px; background-color: #ffffff; padding: 0px;">What I ended up doing was going through the script looking for that specific error message and lucky for me there are 3 of them, so I changed the wording of them so that instead of reading Security Block&#8230; they read Security Block1&#8230; and then Security Block 2&#8230; etc etc for each instance of it so I could narrow down where this madness was stemming from, which resulting in the following results:</p>
<p><span style="color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif;"><span class="Apple-style-span" style="font-size: 12px; line-height: 22px;">[Mon Oct 31 02:10:58 2011] [error] [client 127.0.0.1] TimThumb Debug line 1076 [0.000792 : 0.000643]: Is a request for an internal file: /wp-content/uploads/2009/11/ComfortInn1.jpg</span></span></p>
<p><span style="color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif;"><span class="Apple-style-span" style="font-size: 12px; line-height: 22px;">[Mon Oct 31 02:10:58 2011] [error] [client 127.0.0.1] TimThumb Debug line 1076 [0.001497 : 0.000697]: Security block1: The file specified occurs outside the document root.</span></span></p>
<p><span style="color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif;"><span class="Apple-style-span" style="font-size: 12px; line-height: 22px;">[Mon Oct 31 02:10:58 2011] [error] [client 127.0.0.1] TimThumb Debug line 1076 [0.002205 : 0.000691]: Security block3: The file specified occurs outside the document root.</span></span></p>
<p>&nbsp;</p>
<p>After that I went back to instance #1 and #3 and just removed the if statements that were clearly causing some shit to mess up and forcing them to not check what they were checking and just to do what they would do if the checks came back positive instead of the false negatives that they were receiving.</p>
<pre style="font-size: 12px; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em; line-height: normal;">    foreach ($sub_directories as $sub){
                        $base .= $sub . '/';
                        $this-&gt;debug(3, "Trying file as: " . $base . $src);
                        if(file_exists($base . $src)){
                                $this-&gt;debug(3, "Found file as: " . $base . $src);
                                $real = realpath($base . $src);
                                          return $real;</pre>
<pre style="font-size: 12px; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em; line-height: normal;">                if(file_exists ($this-&gt;docRoot . '/' . $src)) {
                        $this-&gt;debug(3, "Found file as " . $this-&gt;docRoot . '/' . $src);
                        $real = realpath($this-&gt;docRoot . '/' . $src);
                        if(stripos($real, $this-&gt;docRoot) === 1){
                                return $real;
                        } else {
                                $this-&gt;debug(1, "Security block: The file specified occurs outside the document root.");</pre>
<pre style="font-size: 12px; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em; line-height: normal;">}</pre>
<pre style="font-size: 12px; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em; line-height: normal;">to this</pre>
<pre style="white-space: pre-wrap; max-width: 80em; padding-left: 0.7em;">                if(file_exists ($this-&gt;docRoot . '/' . $src)) {
                        $this-&gt;debug(3, "Found file as " . $this-&gt;docRoot . '/' . $src);
                        $real = realpath($this-&gt;docRoot . '/' . $src);
                                return $real;</pre>
<div style="color: #333333; font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; font-size: 12px; line-height: 22px;"><strong>and then I changed this (851):</strong></div>
<div style="color: #333333; font-size: 12px; line-height: 22px;">
<pre style="font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em; color: #000000; line-height: normal;"> foreach ($sub_directories as $sub){
                        $base .= $sub . '/';
                        $this-&gt;debug(3, "Trying file as: " . $base . $src);
                        if(file_exists($base . $src)){
                                $this-&gt;debug(3, "Found file as: " . $base . $src);
                                $real = realpath($base . $src);
                                if(stripos($real, $this-&gt;docRoot) === 0){
                                        return $real;
                                } else {
                                        $this-&gt;debug(1, "Security block3: The file specified occurs outside the document root.");
                                        //And continue search
                                }</pre>
<pre style="font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em; color: #000000; line-height: normal;">to this</pre>
<pre style="font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif; white-space: pre-wrap; max-width: 80em; padding-left: 0.7em;">    foreach ($sub_directories as $sub){
                        $base .= $sub . '/';
                        $this-&gt;debug(3, "Trying file as: " . $base . $src);
                        if(file_exists($base . $src)){
                                $this-&gt;debug(3, "Found file as: " . $base . $src);
                                $real = realpath($base . $src);
                                          return $real;</pre>
<p><span style="font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif;">Much to my great shock it actually worked and the images load fine.. Now I&#8217;m sure those if statements are checking for something important so</span><strong><span style="font-family: 'Lucida Grande', Verdana, 'Bitstream Vera Sans', Arial, sans-serif;"> I CLAIM NO LIABILITY FOR ANYTHING THAT FUCKS UP BECAUSE OF THIS</span></strong> but it fixed my problem and I&#8217;m not seeing any ill effects so</p>
<h1 style="text-align: center;">!<span style="text-decoration: underline;">YAY</span>!</h1>
</div>
<p>http://blog.netflowdevelopments.com/wp-admin/post.php?post=702&#038;action=edit</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/10/31/upgraded-timthumbs-not-displaying-images-could-not-find-the-internal-image-you-specified/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>LAN gaming between an XP box and a Windows 7 Box</title>
		<link>http://blog.netflowdevelopments.com/2011/07/31/lan-gaming-between-an-xp-box-and-a-windows-7-box/</link>
		<comments>http://blog.netflowdevelopments.com/2011/07/31/lan-gaming-between-an-xp-box-and-a-windows-7-box/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 14:09:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[age of mythology]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[join]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[multiplayer]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[xp]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=693</guid>
		<description><![CDATA[Let me save you the hours of googline and hacking that I did by telling you up front that it just don&#8217;t work.  Well at least not for Age of Mythology which is what we were trying to play..  Windows 7 machines were able to see each other just fine but the XP box was [...]]]></description>
			<content:encoded><![CDATA[<p>Let me save you the hours of googline and hacking that I did by telling you up front that it just don&#8217;t work.  Well at least not for Age of Mythology which is what we were trying to play..  Windows 7 machines were able to see each other just fine but the XP box was a big no go.  Tried everything, looked everywhere and even found a thread somewhere of some guy trying to get the same game to work, claiming it did but when I ran through the exact same procedures the results were still a no-go.</p>
<p>Maybe it works with some other games but the vast majority of threads I read all ended very much unresolved giving me the distinct impression that these two beasts were never meant to play together.. So if you are looking at hooking up that old XP machine to a LAN for some oldschool FTS or FPS action, stop and see about upgrading it to 7 because it&#8217;ll save you a bundle of time in the long run.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/07/31/lan-gaming-between-an-xp-box-and-a-windows-7-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brand spanking new preview of Windows 8</title>
		<link>http://blog.netflowdevelopments.com/2011/07/20/brand-spanking-new-preview-of-windows-8/</link>
		<comments>http://blog.netflowdevelopments.com/2011/07/20/brand-spanking-new-preview-of-windows-8/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 13:08:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[windows 8]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=687</guid>
		<description><![CDATA[Windows 8 is being touted as a serious game changer and for Microsoft this definitely looks to be true.  For Microsoft.  this isn&#8217;t a game changer in terms of UI innovation it just seems to be an attempt to catch up to Steve Jobs and the innovations Apple&#8217;s made in UI, which no doubt was [...]]]></description>
			<content:encoded><![CDATA[<p>Windows 8 is being touted as a serious game changer and for Microsoft this definitely looks to be true.  For Microsoft.  this isn&#8217;t a game changer in terms of UI innovation it just seems to be an attempt to catch up to Steve Jobs and the innovations Apple&#8217;s made in UI, which no doubt was ripped off and improved from somewhere else and so on and so on.  It&#8217;s an interesting concept for sure and looks like M$ is position itself for the day when the vast majority of devices are tablet-esque in nature(be it yuor fridge, an actual tablet, your phone, etc etc).</p>
<p>e<p><a href="http://blog.netflowdevelopments.com/2011/07/20/brand-spanking-new-preview-of-windows-8/"><em>Click here to view the embedded video.</em></a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/07/20/brand-spanking-new-preview-of-windows-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openx Hell &#8211; Upgrading to 2.8.7</title>
		<link>http://blog.netflowdevelopments.com/2011/06/03/openx-hell-upgrading-to-2-8-7/</link>
		<comments>http://blog.netflowdevelopments.com/2011/06/03/openx-hell-upgrading-to-2-8-7/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 17:33:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[openx]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[redirect]]></category>
		<guid isPermaLink="false">http://blog.netflowdevelopments.com/?p=680</guid>
		<description><![CDATA[So I was finally forced to upgraded to 2.8.7 when my previous install was hacked thanks to a security vulnerability in 2.8.2.  I knew there was a reason I was holding off on this because when I cleaned out the hack and upgraded I was greeted with an infinite look between admin/index.php and admin/install.php.   Solving [...]]]></description>
			<content:encoded><![CDATA[<p>So I was finally forced to upgraded to 2.8.7 when my previous install was hacked thanks to a security vulnerability in 2.8.2.  I knew there was a reason I was holding off on this because when I cleaned out the hack and upgraded I was greeted with an infinite look between admin/index.php and admin/install.php.   Solving this was silly enough, I just went in and made sure that the permissions in the openx directory were as they were supposed to be according to the install file and then I created a directory called &#8216;UPGRADE&#8217; in openx/var then tried to log in.. No loop this time, instead I was told that my openx was already upgraded and I needed to remove the UPGRADE dir and then click continue..  I removed the dir, clicked continue and then was able to log in.. Phew.. Unfortunately after that my plugins were all messed and just when I was about to light my hair on fire I stumbled across the following tutorial here:  <a href="http://forum.openx.org/index.php?showtopic=503492171">http://forum.openx.org/index.php?showtopic=503492171</a></p>
<p>&nbsp;</p>
<p>1) Download 2.8.7 &#8211; http://www.openx.org/products/source-download</p>
<p>2) Back up your database and openx files</p>
<p>3) Copy your /var/www.example.com.conf.php and images directories over per step 5 here http://www.openx.org/docs/upgrading-openx</p>
<p>4) Disable maintenance</p>
<p>5) Remove your openx folder, and put the fresh install in its place (see notes below). You&#8217;ll have to do this anyway if you have an install in the root rather than a directory.</p>
<p>6) Go to your openx root http://www.example.com/openx and follow the upgrade instructions.</p>
<p>6.1) This point is moot for my install instructions but I&#8217;ll include it for completeness. When it asks you to enter the path for your *previous* openx installation (http://www.openx.org/files/docs_28/admin_guide/install_configuration-previous.png), ENTER THE NEW PATH. I mention this because many people (like myself) were trying (as the docs told us) to install into a openx_new folder. If you do this and enter the previous path as asked, you will *not* be able to proceed in the installation as it will throw all kinds of errors at you. The only way to proceed if you are using the openx_new method is to enter the NEW path.</p>
<p>6.2) The upgrade wizard should progress smoothly, all plugins will fail but it will let you proceed.</p>
<p>7) Go here and verify you are on 2.8.7 &#8211; /www/admin/updates-product.php</p>
<p> <img src='http://blog.netflowdevelopments.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Ignore the advice here (http://forum.openx.org/index.php?showtopic=503426422) and instead get the 2.8.7 plugins from here https://svn.openx.org/openx/tags/2.8/openx-&#8230;.7/etc/plugins/ &#8211; download all of these and save them into a folder</p>
<p>9) Now the fun begins&#8230; open two windows&#8230;.</p>
<p>First window: /www/admin/plugin-index.php<br />
Second window: /www/admin/maintenance-plugins.php?action=rep</p>
<p>9.1) Ok now go to the second window and run the plugin report. You&#8217;ll see lots of errors. Your end goal is for all these to show &#8220;No Errors&#8221;.</p>
<p>9.2) Go to the first window and click browse, and select one of the zip files. It will install, throw lots of errors. Starting at the top, work your way down through the list. You should see that at least a few of the plugs now have &#8220;Disable&#8221; next to them instead of &#8220;Install&#8221;. This is good.</p>
<p>9.3) Repeat step 9.2 over and over again until all the plugins have &#8220;Disable&#8221; next to them. I think that as you go on, you don&#8217;t need to run through the whole list each time, and can focus just on choosing plugins that haven&#8217;t installed yet. There appears to be a very complicated sequence of dependencies, I have no idea what the &#8220;shortest path&#8221; is. When all the plugins look installed, it&#8217;s time to proceed to 9.4..</p>
<p>9.4) Go to the second window and run a plugin report. You may see that some of the plugs still show they have errors. For those plugins, go back to the first window and reinstall them (even though they look like they&#8217;ve installed). There seems to be a second layer of dependencies that don&#8217;t show up on this screen and can be verified only with the second window.</p>
<p>9.5) Go back to the second window and check the status of the plugins. Repeat step 9.4 until all plugins show &#8220;No Errors&#8221;</p>
<p>10) Clean everything up by going to /www/admin/maintenance-plugins.php and running ALL the rebuild commands on the page.</p>
<p>11) You&#8217;re done! If this has helped you, I would love to hear it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.netflowdevelopments.com/2011/06/03/openx-hell-upgrading-to-2-8-7/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

