<?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>giblitz</title>
	<atom:link href="http://giblitz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://giblitz.com</link>
	<description>little nuggets of insider knowledge from Fusion Powered</description>
	<lastBuildDate>Sat, 28 Nov 2009 01:17:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>service-specific error 10049</title>
		<link>http://giblitz.com/2009/11/28/service-specific-error-10049/</link>
		<comments>http://giblitz.com/2009/11/28/service-specific-error-10049/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 01:17:48 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Sys Admin]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=132</guid>
		<description><![CDATA[When working with sql server recently, I changed the initial configuration so that I could use it via a VPN IP address that was used and I also told sql server NOT to listen on all IP addresses also. I found that a website I was working on had stopped working, turns out that the [...]]]></description>
			<content:encoded><![CDATA[<p>When working with sql server recently, I changed the initial configuration so that I could use it via a VPN IP address that was used and I also told sql server NOT to listen on all IP addresses also.  I found that a website I was working on had stopped working, turns out that the sql server process had restarted and failed to start!<span id="more-132"></span></p>
<p>I checked the event log and found an event with this string inside &#8220;<strong>service-specific error 10049</strong>&#8220;, it&#8217;s a little bit cryptic but the error stopped sql server 2008 from starting up properly.  </p>
<p>I found that the problems were firstly, I told the sql server to <strong>NOT</strong> bind on all available IP addresses, so changed that back, and that secondly, one of the IP addresses I did tell it to bind to, wasn&#8217;t available when sql server restarted (a server vpn ip address &#8211; connection hadn&#8217;t been established).  Binding to all IP address and removing the VPN address entry seemed to do the trick!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/11/28/service-specific-error-10049/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to show grandchildren in wordpress navigation</title>
		<link>http://giblitz.com/2009/10/10/how-to-show-grandchildren-in-wordpress-navigation/</link>
		<comments>http://giblitz.com/2009/10/10/how-to-show-grandchildren-in-wordpress-navigation/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 18:41:16 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[grandchildren]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=113</guid>
		<description><![CDATA[So you think you&#8217;ve got navigation covered in wordpress, a dash of wp_list_pages here and there and everything is covered.  You start to work on a theme that has 3 sets of navigation in different areas and you think it&#8217;s simple!  Ever tried showing grandchildren in wordpress? Not entirely sure what the problem is as [...]]]></description>
			<content:encoded><![CDATA[<p>So you think you&#8217;ve got navigation covered in wordpress, a dash of wp_list_pages here and there and everything is covered.  You start to work on a theme that has 3 sets of navigation in different areas and you think it&#8217;s simple!  Ever tried showing grandchildren in wordpress?</p>
<p><span id="more-113"></span></p>
<p>Not entirely sure what the problem is as I&#8217;ve not had time to investigate fully, but here is the scenario:</p>
<ul>
<li>Have a theme that has a top layer of navigation, easily sorted with wp_list_pages.</li>
<li>On entering sub pages, siblings are shown on a second layer of navigation underneath the first one, again, quite straightforward.</li>
<li>On drill down to grandchil page, another navigation panel is revealed to show other grandchildren siblings, should be simple enough to work, but doesn&#8217;t, the &#8216;child_of&#8217; argument on wp_list_pages produces no output.</li>
</ul>
<p>After trying so may different methods suggested on so many websites (in an attempt to get a quick solution), found I had to resort to a custom query to get it sorted:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$page</span> <span style="color: #339933;">=</span> get_second_topmost_parent<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>ID<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$querystr</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT wposts.* FROM <span style="color: #006699; font-weight: bold;">$wpdb</span>-&amp;gt;posts wposts WHERE wposts.post_status = 'publish' AND wposts.post_type = 'page' AND wposts.post_parent = <span style="color: #006699; font-weight: bold;">$page</span> ORDER BY wposts.post_date DESC&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$pageposts</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$wpdb</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>get_results<span style="color: #009900;">&#40;</span><span style="color: #000088;">$querystr</span><span style="color: #339933;">,</span> OBJECT<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pageposts</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$pageposts</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		setup_postdata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;li&gt;&quot;</span> <span style="color: #339933;">.</span> get_the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&lt;/li&gt;&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Excuse the mess, but it will show 3rd level siblings (grandchildren) on an unordered list, should be simple enough to implement on your own website.  This solution makes use of a custom function that find the id of the parent page and shows its children:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> get_second_topmost_parent<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post_id</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000088;">$post</span> <span style="color: #339933;">=</span> get_post<span style="color: #009900;">&#40;</span><span style="color: #000088;">$post_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// get post data</span>
	<span style="color: #000088;">$parent_post_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>post_parent<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// get posts parent</span>
	<span style="color: #000088;">$second_post</span> <span style="color: #339933;">=</span> get_post<span style="color: #009900;">&#40;</span><span style="color: #000088;">$parent_post_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> get post data of parent
	<span style="color: #000088;">$second_parent_post_id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$second_post</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>post_parent<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// get parent of parent</span>
&nbsp;
	<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$second_parent_post_id</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// if parent of parent has root id of 0, current page is a grandchild, return id</span>
		<span style="color: #b1b100;">return</span> <span style="color: #000088;">$post_id</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">return</span> get_second_topmost_parent<span style="color: #009900;">&#40;</span><span style="color: #000088;">$second_parent_post_id</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/10/10/how-to-show-grandchildren-in-wordpress-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup FTP on Windows Server 2008</title>
		<link>http://giblitz.com/2009/09/19/setup-ftp-on-windows-server-2008/</link>
		<comments>http://giblitz.com/2009/09/19/setup-ftp-on-windows-server-2008/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 14:28:00 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[windows server 2008]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=107</guid>
		<description><![CDATA[If you&#8217;ve upgraded to Windows Server 2008, you&#8217;ll have noticed that it comes with a much better firewall compared to previous versions. It&#8217;s also a little more complicated to configure too. Out of the box, FTP is disabled., you need to enable it, in addition, you&#8217;ll also need to upgrade the FTP software to v7.5, [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve upgraded to Windows Server 2008, you&#8217;ll have noticed that it comes with a much better firewall compared to previous versions. It&#8217;s also a little more complicated to configure too.<span id="more-107"></span></p>
<p>Out of the box, FTP is disabled., you need to enable it, in addition, you&#8217;ll also need to upgrade the FTP software to v7.5, as the version that is bundled isn&#8217;t up to scratch (typical), though <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=B7F5B652-8C5C-447A-88B8-8CFC5C13F571&amp;displaylang=en">v7.5 is available as a free download</a> from Microsoft.  The installation process is simple, though do uninstall the current ftp server software first (v7.0).</p>
<p>Once it&#8217;s all setup, configuration is simple via the management console, though FTP firewall rules will need to be added to your server, this is slightly complicated for Passive FTP, as it means opening more ports than perhaps you first think, to do this, you have to resort to the cmd line:</p>
<p>To configure Windows Firewall to allow non-secure FTP traffic, use the following steps:</p>
<ol>
<li>Open a command prompt: click <strong>Start</strong>, then <strong>All Programs</strong>, then <strong>Accessories</strong>, then <strong>Command Prompt</strong>.</li>
<li>To open port 21 on the firewall, type the following then hit enter:<br />
<blockquote><p><tt>netsh advfirewall firewall add rule name="FTP (non-SSL)" action=allow protocol=TCP dir=in localport=21</tt></p></blockquote>
</li>
<li>To enable stateful FTP filtering that will dynamically open ports for data connections, type the following syntax then hit enter:<br />
<blockquote><p><tt>netsh advfirewall set global StatefulFtp enable</tt></p></blockquote>
</li>
</ol>
<p>Now you need to go back into the FTP Firewall support option in the management console and setup a port range (something high like 50000-55000).</p>
<p><strong>Additional Information:</strong></p>
<p>More indepth information is available on the IIS site: <a href="http://learn.iis.net/page.aspx/309/configuring-ftp-firewall-settings/">Configuring Firewall FTP Settings</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/09/19/setup-ftp-on-windows-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>asdm is unable to read the configuration from the asa</title>
		<link>http://giblitz.com/2009/08/17/asdm-is-unable-to-read-the-configuration-from-the-asa/</link>
		<comments>http://giblitz.com/2009/08/17/asdm-is-unable-to-read-the-configuration-from-the-asa/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 22:59:18 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[asa]]></category>
		<category><![CDATA[asdm]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[firewall]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=105</guid>
		<description><![CDATA[Ever get that message?  It stumped me for a while, but then I found the solution.  The problem is that the cached software is just out of sync with the version on the appliance itself, you just need to clear it:Log into the ASDM software, then: click on the file menu, clear your cache! click [...]]]></description>
			<content:encoded><![CDATA[<p>Ever get that message?  It stumped me for a while, but then I found the solution.  The problem is that the cached software is just out of sync with the version on the appliance itself, you just need to clear it:<span id="more-105"></span>Log into the ASDM software, then:</p>
<ol>
<li>click on the file menu, clear your cache!</li>
<li>click on the file menu again, clear the internal log buffer!</li>
<li>click on the refresh button on the toolbar!</li>
</ol>
<p>That should get you in!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/08/17/asdm-is-unable-to-read-the-configuration-from-the-asa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send emails from your own email address for free with google mail</title>
		<link>http://giblitz.com/2009/08/15/send-emails-from-your-own-email-address-for-free-with-google-mail/</link>
		<comments>http://giblitz.com/2009/08/15/send-emails-from-your-own-email-address-for-free-with-google-mail/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 15:35:13 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[google email]]></category>
		<category><![CDATA[pop3]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=101</guid>
		<description><![CDATA[It’s quite useful to be able to send and receive emails from your own email address (e.g. sales@yourbusiness.com), trouble is, this normally attracts a charge from your email provider.  In addition getting access to your emails while on the road could also prove to be difficult.Using Google Mail you can set it up so that [...]]]></description>
			<content:encoded><![CDATA[<p>It’s quite useful to be able to send and receive emails from your own email address (e.g. sales@yourbusiness.com), trouble is, this normally attracts a charge from your email provider.  In addition getting access to your emails while on the road could also prove to be difficult.<span id="more-101"></span>Using Google Mail you can set it up so that your emails are picked up by Google Mail and you can send your business emails from Google Mail also, there are a number of steps in setting it up, but they’re quite straightforward:</p>
<ol>
<li> Sign up for a Google Account, this gives you access to Google Mail, then log in.</li>
<li> Click on the ‘Settings’ button on the top right of the screen.</li>
<li> Click on ‘Accounts’.</li>
<li> Click on ‘Add another email address you own’, a window will open, enter your details for the business email address.</li>
<li> You’ll be asked to verify this email address by having an email with a special link send to the business email address, log into your business email via the usual methods and click on the link, your email address will then be verified.</li>
<li> Now you should be back the the Accounts screen in Google Mail, click on ‘Add a mail account you own’ in the ‘Get mail from other accounts‘ section underneath, enter your business email address.</li>
<li> Now you’ll be asked for details about your email address, such as the username and the password, etc, remember that in a lot of cases, your username is your whole email address (e.g. sales@yourbusiness.com), you should be supplied any details that are required for this step.  Click on ‘ Label incoming messages’, this will allow you to easily distinguish personal emails from business ones, etc. Click on ‘Add Account’ when you’re done.</li>
</ol>
<p>Now, any email that gets sent to your business email address (e.g. sales@yourbusiness.com) will get pulled into your Google Mail account (yourbusiness@googlemail.com), allowing you to send and receive emails from your own branded email address, while retaining all the functionality if the Google Mail service, magic!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/08/15/send-emails-from-your-own-email-address-for-free-with-google-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send html emails using outlook</title>
		<link>http://giblitz.com/2009/08/10/send-html-emails-using-outlook/</link>
		<comments>http://giblitz.com/2009/08/10/send-html-emails-using-outlook/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 15:32:46 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[bcc]]></category>
		<category><![CDATA[html emails]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[rich text]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=98</guid>
		<description><![CDATA[Some people often ask me how to send emails with html (and associated images) with outlook.  There is a simple way to achieve this, but first requires that you have created a html page and uploaded it to a web server, with your images set with absolute paths. To Send the email, you need to [...]]]></description>
			<content:encoded><![CDATA[<p>Some people often ask me how to send emails with html (and associated images) with outlook.  There is a simple way to achieve this, but first requires that you have created a html page and uploaded it to a web server, with your images set with absolute paths.<span id="more-98"></span><br />
To Send the email, you need to open it using outlook instead of a web browser:</p>
<ol>
<li> Open Outlook</li>
<li> Make sure the ‘Web’ toolbar is visible, if it isn’t, right click anywhere on the main toolbar, and select ‘Web’, this should make a small toolbar appear with a small address bar on it, it might have the text ‘outlook:Inbox’ in it already.</li>
<li> Change this text to url of the html email you wish to send out, now the mailshot should appear in the panel below the toolbar (where emails might normally appear).</li>
<li> Go to the ‘Actions’ menu, you’ll see a ‘Send web page by email’ option at the bottom, this will create a new email with the mailshot as the main body content, all that’s left to do is to BCC all the recipients.</li>
</ol>
<p>If you are having problems, it’s most likely that your outlook settings need changed to view email messages as html, rather than plain text:</p>
<ol>
<li> go to tools &gt; options &gt; mail format</li>
<li> Compose in this message format: select HTML</li>
<li> UNCHECK Use Microsoft Word to edit email messages</li>
<li> UNCHECK Use Microsoft Word to read Rich Text email messages</li>
</ol>
<p>Hopefully by now, you&#8217;ll be able to see the email in all it&#8217;s glory, all you have to do now is send it by BCC&#8217;ing everyone!</p>
<p>Let me know how you get on!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/08/10/send-html-emails-using-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iframe hacks</title>
		<link>http://giblitz.com/2009/07/30/iframe-hacks/</link>
		<comments>http://giblitz.com/2009/07/30/iframe-hacks/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 21:31:22 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[avg]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[rogue]]></category>
		<category><![CDATA[spybot]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=92</guid>
		<description><![CDATA[There has been a lot of activity recently with websites displaying malicious code (iframes), in many cases, every default document in all folders across a website may have been corrupted.  The are a few things you can do to mitigate any future damage, here are some steps you can take: Firstly, you should change your [...]]]></description>
			<content:encoded><![CDATA[<p>There has been a lot of activity recently with websites displaying malicious code (iframes), in many cases, every default document in all folders across a website may have been corrupted.  The are a few things you can do to mitigate any future damage, here are some steps you can take:</p>
<p><span id="more-92"></span></p>
<p>Firstly, you should <strong>change your FTP password</strong>, the code is being placed onto websites via hacked ftp passwords, then it injects malicious code into default documents in all folders across your entire ftp site.</p>
<p>In the cases that I have seen, they are using java to install even more malicious code onto your computer, you <strong>disable java support </strong>completely in firefox.  I would recommend that you do the same in Internet Explorer too.</p>
<p><strong>Run some decent antivirus software and spyware removal tools</strong>, I use AVG and Spybot S+D, but they didn&#8217;t catch any of the more recent variants, use of AVAST with it&#8217;s resident shield helped, plus the great tools from SysInternals (RootKitRevealer, ProcessExplorer, etc) to identify rogue programs.</p>
<p>One last thing you could do is <strong>change your default document </strong>to something else, this will redirect users away from the infected server files if they get infected again, which they will do if you don&#8217;t change your FTP password. This is easy on linux as you just have to add another line into your htaccess file, there are no other configuration changes required.</p>
<p>I&#8217;ve also got a list of dodgy ip addresses that tried to connect to my ftp servers (but failed), I can only assume that these are infected computers, the list details computers located in <strong>29 different countries</strong>, making it a widespread infection if you ask me!  In this case, <strong>set an ip filter</strong> on your ftp server to allow connections only from trusted ip sources, alternatively, you could also start to <strong>implement SFTP</strong> (or FTPS),  which is basically SSL over FTP, encrypting your data before it gets transmitted, making it impossible to decrypt (or at least take a very long time).</p>
<p>Let me know how you get on!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/07/30/iframe-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>error ultimate_ga.php on line 203</title>
		<link>http://giblitz.com/2009/07/20/error-ultimate_ga-php-on-line-203/</link>
		<comments>http://giblitz.com/2009/07/20/error-ultimate_ga-php-on-line-203/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 10:29:34 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[uga]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=89</guid>
		<description><![CDATA[I first got this error when I was migrating a wpmu site to a different set of servers, at the same time, the domain was changed to reflect a new brand.  Consequently, a lot of the references in the old database had to be changed by hand (a simple search and replace done the trick), [...]]]></description>
			<content:encoded><![CDATA[<p>I first got this error when I was migrating a wpmu site to a different set of servers, at the same time, the domain was changed to reflect a new brand.  Consequently, a lot of the references in the old database had to be changed by hand (a simple search and replace done the trick), it did leave a few broken things, one of them being that on every blog that had the UGA plugin enabled displayed error messages at the top and bottom of every page, the error messages was similar to &#8216;error ultimate_ga.php on line 203&#8242;.<span id="more-89"></span></p>
<p>Turns out that when the UGA plugin (an excellent pluging by the way) is installed, it creates an options row called &#8216;ultimate_ga_options&#8217; in the wp_options table (the table name might vary with your installation of wordpress/wpmu), the data stored in this row is stored in JSON format, difficult for normal people to decipher, but it&#8217;s just a collection (like xml), if you know how to read it, you can easily change it by hand.</p>
<p>My problem was that the previous domain name had 10 characters whereas the new domain name had much more.  When I done the simple search and replace, it replaced the previous domain with the new domain.  If you know JSON, there are two elements to every item, the length and the actual data itself.  The real problem was that the length did not match the data, the length was too short.</p>
<p>To sort the problem out, the fastest way is to deactivate the pugin, remove the whole row manually and re-activiate the plugin, all should be working fine after that!</p>
<p>Let me know how you get on.</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/07/20/error-ultimate_ga-php-on-line-203/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no asp.net tab iis</title>
		<link>http://giblitz.com/2009/07/14/no-aspnet-tab-iis/</link>
		<comments>http://giblitz.com/2009/07/14/no-aspnet-tab-iis/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 17:08:01 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[asp.net tab]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=88</guid>
		<description><![CDATA[I&#8217;ve been working with IIS and needed to change a website from v1 asp.net to v2, you can normally do this easily via the IIS console. Once when I tried to make this change for myself, I noticed that there was no asp.net tab, even though I was sure that it was there before, I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with IIS and needed to change a website from v1 asp.net  to v2, you can normally do this easily via the IIS console.  Once when I tried to make this change for myself, I noticed that there was no asp.net tab, even though I was sure that it was there before, I couldn&#8217;t figure out what the problem was, but after a little investigation, I found that because I had VMWare installed on the machine that it conflicted with IIS a little, though it is fixable.<span id="more-88"></span><br />
When VM Ware is installed, it modifies IIS settings as it&#8217;s configuration program is powered by an IIS virtual server, when making this change the VM Ware software disabled the asp.net tab, here is how to get it back:</p>
<ul>
<li>Stop IIS</li>
<li>Open the IIS Metabase file (search for &#8216;MetaBase.xml&#8217;) in notepad or your favorite XML Editor</li>
<li><strong>DELETE</strong> the line that reads &#8216;Enable32BitAppOnWin64=&#8221;TRUE&#8221;&#8216;</li>
<li>Restart IIS</li>
</ul>
<p>Now your asp.net tab should now be back!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/07/14/no-aspnet-tab-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress no posts / pages found</title>
		<link>http://giblitz.com/2009/07/13/wordpress-no-posts-pages-found/</link>
		<comments>http://giblitz.com/2009/07/13/wordpress-no-posts-pages-found/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 12:34:30 +0000</pubDate>
		<dc:creator>Terry</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[not found]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://giblitz.com/?p=82</guid>
		<description><![CDATA[Having developed a custom theme for a website I was working on recently, I got introduced to widgets (they&#8217;re great, see my other widgets posts). Only trouble was that when I tried to use code from another developer to make widget placement easier, it broke my website, making posts and pages invisible, both on the [...]]]></description>
			<content:encoded><![CDATA[<p>Having developed a custom theme for a website I was working on recently, I got introduced to widgets (they&#8217;re great, see my <a href="/2009/07/04/wordpress-widgets-disappear/">other widgets posts</a>).  Only trouble was that when I tried to use code from <a href="http://wpengineer.com/wordpress-and-register_sidebar/">another developer</a> to make widget placement easier, it broke my website, making posts and pages invisible, both on the front and on the back end, even though I knew everything was fine.<span id="more-82"></span>I&#8217;d looked in places like the mysql tables to make sure that everything was stored correctly and was formatted properly, it was. It turns out that if you use the code on Michael&#8217;s website unmodified (he tells me it&#8217;s from a premium theme), you won&#8217;t be able to see or edit any of your posts and pages, you need to make a change to the code, change it to:</p>
<p>$sidebars = array(&#8216;page_top&#8217;, &#8216;right_col&#8217;, &#8216;bottom_left&#8217;, &#8216;bottom_right&#8217;);<br />
foreach($sidebars as $sidebar) {<br />
register_sidebar(array(&#8216;name&#8217;=&gt; $sidebar,<br />
&#8216;before_widget&#8217; =&gt; &#8221;,<br />
&#8216;after_widget&#8217; =&gt; &#8221;,<br />
&#8216;before_title&#8217; =&gt; &#8216;&lt;h3&gt;&#8217;,<br />
&#8216;after_title&#8217; =&gt; &#8216;&lt;/h3&gt;&#8217;,<br />
));<br />
}</p>
<p>Let me know if you have any problems!</p>
]]></content:encoded>
			<wfw:commentRss>http://giblitz.com/2009/07/13/wordpress-no-posts-pages-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

