<?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>nerd. &#187; Blogging</title>
	<atom:link href="http://nerd.steveferson.com/category/software/blogging/feed/" rel="self" type="application/rss+xml" />
	<link>http://nerd.steveferson.com</link>
	<description>One nerd's struggle against the beast that is technology</description>
	<lastBuildDate>Tue, 10 Jan 2012 13:15:45 +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>Solved: WP Recent Posts: &#8220;Post-Plugin Library missing&#8221;</title>
		<link>http://nerd.steveferson.com/2008/08/05/solved-wp-recent-posts-post-plugin-library-missing/</link>
		<comments>http://nerd.steveferson.com/2008/08/05/solved-wp-recent-posts-post-plugin-library-missing/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 09:23:13 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[recent posts]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/?p=103</guid>
		<description><![CDATA[Some of you may have noticed the above message appearing where my recent posts should have been for the last week or two.  It turns out the &#8220;Post-Plugin Library missing&#8221; message can be fixed by downloading the latest copy of the Post-Plugin Library (shocking, I know). I can&#8217;t remember if I upgraded WordPress or the [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you may have noticed the above message appearing where my recent posts should have been for the last week or two.  It turns out the &#8220;Post-Plugin Library missing&#8221; message can be fixed by downloading the latest copy of the <a title="WordPress › Post-Plugin Library" href="http://wordpress.org/extend/plugins/post-plugin-library/">Post-Plugin Library</a> (shocking, I know).</p>
<p>I can&#8217;t remember if I upgraded WordPress or the <a title="Recent Posts plugin for WordPress" href="http://rmarsh.com/plugins/recent-posts/">Recent Posts plugin</a> or both, but I&#8217;m guessing it was an upgrade to the Recent Post plugin that caused the problem. The new version requires a &#8220;Post-Plugin library&#8221; (written by the <a title="Rob Marsh" href="http://rmarsh.com/">same guy</a>).</p>
<p><span id="more-103"></span></p>
<p>I found the link on my WordPress Admin Plugins page in the description of the Recent Posts plugin as part of a message telling me the plugin:</p>
<blockquote><p>Requires the latest version of the <a href="http://wordpress.org/extend/plugins/post-plugin-library/">Post-Plugin Library</a> to be installed</p></blockquote>
<p>Oops. Apparently I didn&#8217;t have any version of the Post-Plugin library and:</p>
<blockquote><p>The Post-Plugin Library does nothing by itself but <strong>must</strong> be installed to provide shared code for the <a href="http://wordpress.org/extend/plugins/similar-posts/">Similar Posts</a>, <a href="http://wordpress.org/extend/plugins/recent-posts-plugin/">Recent Posts</a>, <a href="http://wordpress.org/extend/plugins/random-posts-plugin/">Random Posts</a>&gt; [sic], and <a href="http://wordpress.org/extend/plugins/recent-comments-plugin/">Recent Comments</a> plugins.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/08/05/solved-wp-recent-posts-post-plugin-library-missing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress / Fantastico Server Move</title>
		<link>http://nerd.steveferson.com/2008/05/07/wordpress-fantastico-server-move/</link>
		<comments>http://nerd.steveferson.com/2008/05/07/wordpress-fantastico-server-move/#comments</comments>
		<pubDate>Tue, 06 May 2008 23:57:23 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[fantastico]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/?p=74</guid>
		<description><![CDATA[I recently moved this site to a new host because of ongoing problems with my previous hosts. Thanks to some intermittent database errors I&#8217;d decided it would be prudent to do my first backup in some time at the start of last week. By the end of that week they&#8217;d deleted my account, so I [...]]]></description>
			<content:encoded><![CDATA[<p>I recently moved this site to a <a title="Web Hosting Buzz ($5/month reseller accounts)" href="http://www.webhostingbuzz.com/idev/idevaffiliate.php?id=1506">new host</a> because of ongoing problems with my <a title="United Web Hosting" href="http://unitedwebhosting.com/">previous hosts</a>. Thanks to some intermittent database errors I&#8217;d decided it would be prudent to do my first backup in some time at the start of last week. By the end of that week they&#8217;d deleted my account, so I suppose I should be grateful their database server was so f**ked. Nevertheless, the move caused a few issues when my new hosts told me the complete backup I uploaded to them was corrupt.  I can only assume (because some backups were corrupt and others weren&#8217;t) that it was due either to encrypting the archives using AES in Winzip or decrypting them in 7zip.</p>
<p>Anyway, that meant manually creating the accounts, setting up the mail accounts and subdomains in them, extracting the root folders (public_html, mail etc) individually and manually importing the SQL backup.  Everything was <em>relatively</em> painless (if dull) however Fantastico wouldn&#8217;t recognise my WordPress installations (I had two).  To persuade Fantastico that there really were a couple of WordPress blogs I had to do two things:</p>
<ol>
<li>Extract the <code>\.fantasticodata\WordPress</code> files from the zip (in this case it was called <code>nerd.steveferson.com|</code> ) and upload it to the same location in the FTP server. Of course that bar | made Windows barf, so you&#8217;d need to rename it (e.g. using an underscore instead) and replace the bar after uploading it via the FTP client (FileZilla didn&#8217;t seem to have a problem doing this).</li>
<li>I think this is might be because the blog&#8217;s in the root of a subdomain, but I also had to upload a file called <code>installed_in_root.php</code> from <code>\.fantasticodata</code> to <em>that</em> location on the server.</li>
</ol>
<p>Once I did this, Fantastico picked up the blog and allowed me to upgrade WordPress to 2.5.1 &#8211; no hassle.</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/05/07/wordpress-fantastico-server-move/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: WordPress Admin Images Missing</title>
		<link>http://nerd.steveferson.com/2008/04/11/solved-wordpress-admin-images-missing/</link>
		<comments>http://nerd.steveferson.com/2008/04/11/solved-wordpress-admin-images-missing/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 13:02:31 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[tinymce]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/?p=63</guid>
		<description><![CDATA[I upgraded this blog to WordPress 2.5 today, and installed a new copy of WordPress on a subdomain too. Both these actions were carried out using cPanel &#38; Fantastico. When I logged into the backend of the new subdomain there were no images &#8211; including no buttons on the rich-text editor (TinyMCE) and no WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded this blog to <a title="Wordpress &gt; Blog Tool and Weblog Platform" href="http://wordpress.org/">WordPress 2.5</a> today, and installed a new copy of WordPress on a subdomain too. Both these actions were carried out using cPanel &amp; Fantastico.</p>
<p>When I logged into the backend of the new subdomain there were no images &#8211; including no buttons on the rich-text editor (<a title="TinyMCE Javascript Content Editor - example" href="http://http//tinymce.moxiecode.com/example_full.php?example=true">TinyMCE</a>) and no WordPress logo on the login screen.Â  I later noticed there were also background images missing on the public part of the new blog.Â  When I right clicked &#8220;View background image&#8221; on the missing image, it took me to an <a title="HTTP 403 entry at Wikipedia" href="http://http//en.wikipedia.org/wiki/HTTP_403">HTTP 403</a> (Forbidden) meaning there was a permissions problem. The strange thing was the problem didn&#8217;t occur in the nerd. backend.</p>
<p>And <a title="Wordpress &gt; Support &gt;  Admin log in screen missing images, visual editor missing buttons " href="http://http//wordpress.org/support/topic/154212?replies=3">the solution</a>&#8230;? In this instance it was because I&#8217;d enabled hotlink protection in my server to stop other people using images stored at steveferson.com on their sites, because this eats up precious bandwidth.Â  When I created this new subdomain, I had forgotten about the hotlink protection and so hadn&#8217;t added it to the list of sites allowed to link to images at SteveFerson.com.Â  When I added it everything went back to working as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/04/11/solved-wordpress-admin-images-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: Blog XMLRPC 403 Error</title>
		<link>http://nerd.steveferson.com/2008/03/23/solved-blog-xmlrpc-403-error/</link>
		<comments>http://nerd.steveferson.com/2008/03/23/solved-blog-xmlrpc-403-error/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 02:43:50 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[403]]></category>
		<category><![CDATA[b2evo]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[windows live writer]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[writer]]></category>
		<category><![CDATA[xml-rpc]]></category>
		<category><![CDATA[xmlrpc]]></category>
		<category><![CDATA[xmlrpc.php]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/2008/03/23/solved-blog-xmlrpc-403-error/</guid>
		<description><![CDATA[I was getting the above error message when I recently tried to set up and try out Windows Live Writer to let me publish to a blog from my desktop without logging into the Admin section of the site. I was felled at the first hurdle when, after entering my b2evolution blog&#8217;s details, I was [...]]]></description>
			<content:encoded><![CDATA[<p>I was getting the above error message when I recently tried to set up and try out Windows Live Writer to let me publish to a blog from my desktop without logging into the Admin section of the site. I was felled at the first hurdle when, after entering my <a title="b2evolution blog tool / weblog software" href="http://www.b2evolution.net">b2evolution</a> blog&#8217;s details, I was presented with a message informing me that:</p>
<blockquote><p>The server reported an error with the following URL:</p>
<p><a href="http://www.blog-domain.com/b2evo-path/xmlsrv/xmlrpc.php">http://www.blog-domain.com/b2evo-path/xmlsrv/xmlrpc.php</a></p>
<p>403 Forbidden</p>
</blockquote>
<p>Thinking it might be a problem with b2evolution, I tried with a <a title="WordPress &#8250; Blog Tool and Weblog Platform" href="http://www.wordpress.org/">WordPress</a> blog. A different message appeared, both on this blog and another:</p>
<p><span id="more-62"></span></p>
<blockquote><p>The server has reported that the following URL could bot be found</p>
<p><a title="nerd. XMLRPC URL" href="http://nerd.steveferson.com/xmlrpc.php">http://nerd.steveferson.com/xmlrpc.php</a></p>
<p>please ensure that you have specified a valid and reachable URL</p>
</blockquote>
<p>I discovered help was at hand after searching for <a title="WordPress &#8250; Support &#187; xmlrpc.php 403 Forbidden error" href="http://wordpress.org/support/topic/157608">help with the WordPress problem</a>. According to <a title="Windows Live Writer - Can&#39;t use on my wordpress blog" href="http://groups.msn.com/windowslivewriter/generaltopics.msnw?action=get_message&amp;mview=0&amp;ID_Message=786&amp;LastModified=4675590334488039596">posters at the Windows Live forum</a>, some hosts block access to any files called xmlrpc.php because of a security vulnerability in an early version of WordPress. This <a title="b2evolution forum: Live Writer, xmlrpc 403 error" href="http://forums.b2evolution.net/viewtopic.php?p=71599#71599">same problem (and same solution) seemed to apply to b2evolution</a> too (though I don&#8217;t understand why there are 2 different error messages). To get round this you need to add the following to a .htaccess file in the same directory as your xmlrpc.php file (or create a .htaccess file containing this if you don&#8217;t already have one):</p>
<blockquote><p>&lt;Files xmlrpc.php&gt;     <br />SecFilterInheritance Off      <br />&lt;/Files&gt;</p>
</blockquote>
<p>Simple really, no? Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/03/23/solved-blog-xmlrpc-403-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: Override Default HTML Title in b2Evolution 2.x</title>
		<link>http://nerd.steveferson.com/2008/02/22/override-default-html-title-in-b2evolution-2x/</link>
		<comments>http://nerd.steveferson.com/2008/02/22/override-default-html-title-in-b2evolution-2x/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 12:18:41 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[b2evo]]></category>
		<category><![CDATA[b2evolution]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/2008/02/22/override-default-html-title-in-b2evolution-2x/</guid>
		<description><![CDATA[I&#8217;d set up my 1.x installation of b2Evolution to use a custom HTML title in the format: &#60;title&#62;[Post/Page name - ] Blog name&#60;/title&#62; On installing 2.4, however, I noticed that the default title is just the post/page name if it exists and the blog name if it doesn&#8217;t (i.e. for the posts list). This was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d set up my 1.x installation of b2Evolution to use a custom HTML title in the format:</p>
<blockquote><p>&lt;title&gt;[Post/Page name - ] Blog name&lt;/title&gt;</p></blockquote>
<p>On installing 2.4, however, I noticed that the default title is just the post/page name if it exists and the blog name if it doesn&#8217;t (i.e. for the posts list). This was based on a function call to a function called request_title. Google didn&#8217;t tell me much about this function (not the 2.x version anyway) so I went hunting and found the function in the file: <strong>\inc\_core\_template.funcs.php</strong></p>
<p><span id="more-53"></span></p>
<p>It&#8217;s one of the new 2.x style functions that takes a single associative array as its parameter instead of taking a list of parameters in a specific order. From the definition the parameters it can take are:</p>
<ul>
<li><code style="font-weight: bold">auto_pilot</code> &#8211; default: &#8216;none&#8217;. If this is set to &#8216;seo_title&#8217; (which it is in any skins that don&#8217;t override the default _html_header.inc.php) default values override some of the parameters (see below).</li>
<li><code style="font-weight: bold">title_before</code> &#8211; default: &#8221;.</li>
<li><code style="font-weight: bold">title_after</code> &#8211; default: &#8221;.</li>
<li><code style="font-weight: bold">title_none</code> &#8211; default: &#8221;.</li>
<li><code style="font-weight: bold">title_single_disp</code> &#8211; default: true.</li>
<li><code style="font-weight: bold">title_single_before</code> &#8211; default: &#8216;#&#8217;.</li>
<li><code style="font-weight: bold">title_single_after</code> &#8211; default: &#8216;#&#8217;.</li>
<li><code style="font-weight: bold">title_page_disp</code> &#8211; default: true.</li>
<li><code style="font-weight: bold">title_page_before</code> &#8211; default: &#8216;#&#8217;.</li>
<li><code style="font-weight: bold">title_page_after</code> &#8211; default: &#8216;#&#8217;.</li>
<li><code style="font-weight: bold">glue</code> &#8211; default: &#8216; &#8211; &#8216;.</li>
<li><code style="font-weight: bold">format</code> &#8211; default: &#8216;htmlbody&#8217;.</li>
<li><code style="font-weight: bold">arcdir_text</code> &#8211; default: T_(&#8216;Archive directory&#8217;).</li>
<li><code style="font-weight: bold">catdir_text</code> &#8211; default: T_(&#8216;Category directory&#8217;)</li>
</ul>
<p>The &#8216;autopilot&#8217; parameter is set to &#8216;seo_default&#8217; by the default _html_header.inc.php file (which is used by any skin that doesn&#8217;t supply its own _html_header.inc.php file). This has the effect of overriding the values of the following parameters:</p>
<ul>
<li><code style="font-weight: bold">format</code> = &#8216;htmlhead&#8217;</li>
<li><code style="font-weight: bold">title_after</code> = $params['glue'].$Blog-&gt;get(&#8216;name&#8217;)</li>
<li><code style="font-weight: bold">title_single_after</code> = &#8221;</li>
<li><code style="font-weight: bold">title_page_after</code> = &#8221;</li>
<li><code style="font-weight: bold">title_none</code> = $Blog-&gt;dget(&#8216;name&#8217;,'htmlhead&#8217;)</li>
</ul>
<p>It looks to me like to truly customise the HTML title tag value you need to delete the line:</p>
<blockquote><p><code>'auto_pilot' =&gt; 'seo_title',</code></p></blockquote>
<p>from the _html_header.inc.php or create a copy of this file in your specific skin&#8217;s directory and delete that line from the copy (if you put this file in your skin&#8217;s own directory, your skin should use this &#8216;custom&#8217; version instead of the backup in the &#8216;skins&#8217; directory). I took the latter option and created a copy of \skins\_html_header.inc.php in the subdirectory for my skin. To get the effect described above (i.e. <code>&lt;title&gt;[Page/post name - ]Blog name&lt;/title&gt;</code>), I amended the PHP code between the title tags to the following:</p>
<blockquote><p><code style="white-space: pre">request_title( array(<br />
'format' =&gt; 'htmlhead',<br />
'title_after' =&gt; ' - ' . $Blog-&gt;dget('name','htmlhead'),<br />
'title_none' =&gt; $Blog-&gt;dget('name','htmlhead'),<br />
) );</code></p></blockquote>
<p>I also added two more elements to the array to change the headings when looking at the archives and categories from &#8220;Archive directory&#8221; and &#8220;Category directory&#8221; to &#8220;Archives&#8221; and &#8220;Categories&#8221;. This was fairly simple &#8211; just adding:</p>
<blockquote><p><code><br />
'arcdir_text' =&gt; T_('Archives'),<br />
'catdir_text' =&gt; T_('List of Categories'),<br />
</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/02/22/override-default-html-title-in-b2evolution-2x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: b2Evolution &#8211; Sidebar 2 [NOT INCLUDED IN SELECTED SKIN!]</title>
		<link>http://nerd.steveferson.com/2008/02/19/solved-b2evolution-sidebar-2-not-included-in-selected-skin/</link>
		<comments>http://nerd.steveferson.com/2008/02/19/solved-b2evolution-sidebar-2-not-included-in-selected-skin/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 17:23:49 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/2008/02/19/solved-b2evolution-sidebar-2-not-included-in-selected-skin/</guid>
		<description><![CDATA[I&#8217;ve just upgraded another blog from b2Evolution 1.10 to 2.4, which means reworking the skin I developed to work with the new &#8220;Skins 2.0&#8243; framework. It also means that instead of hacking html into my _main.php file, I&#8217;m going to use the customisable &#8216;widgets&#8217; to create my sidebars. This is in the Blog Settings -&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just upgraded another blog from <a href="http://b2evolution.net/" title="b2evolution blog software">b2Evolution</a> 1.10 to 2.4, which means reworking the skin I developed to work with the new &#8220;Skins 2.0&#8243; framework.   It also means that instead of hacking html into my _main.php file, I&#8217;m going to use the customisable &#8216;widgets&#8217; to create my sidebars.  This is in the Blog Settings -&gt; Widgets panel.</p>
<p>It seems to work pretty well. I copied a default skin (the asevo one) to a directory called proto, installed the copied skin and began changing it.  I decided I wanted to keep the 3-column layout from my old 1.10 skin and luckily there is already a default container called Sidebar and another called Sidebar 2.  The problem was my skin didn&#8217;t use Sidebar 2.</p>
<p>It was easily fixed, I created a new &lt;div&gt; and used the same skin_container function which the skin used to call the Sidebar widget. I just replaced skin_container( NT_(&#8216;Sidebar&#8217;) with skin_container( NT_(&#8216;Sidebar 2&#8242;) and it fitted in.  Despite the fact the skin now used Sidebar 2, the admin interface kept telling me it didn&#8217;t. The container in the admin site said Sidebar 2 [NOT INCLUDED IN SELECTED SKIN!] and every time I tried to add a new widget I got a message saying &#8220;WARNING: you are adding to a container that does not seem to be part of the current skin&#8221;  (I Googled the former error message and, to my shock, got zero results. Hopefully this post will fix that).</p>
<p><strong>Solution </strong></p>
<p>It still worked ok, but I don&#8217;t like things that are out of place. To solve this, it turns out all you have to do is go to Global Settings -&gt; Skins install panel and there&#8217;s an icon beside each skin to &#8220;Reload containers&#8221;. Do that and it&#8217;ll pick up your call to Sidebar 2 and rid you of that irksome error message.</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/02/19/solved-b2evolution-sidebar-2-not-included-in-selected-skin/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Solved: Comments Disappeared / Error after WordPress Upgrade</title>
		<link>http://nerd.steveferson.com/2008/01/22/solved-comments-disappeared-error-after-wordpress-upgrade/</link>
		<comments>http://nerd.steveferson.com/2008/01/22/solved-comments-disappeared-error-after-wordpress-upgrade/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 13:12:22 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[403]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/2008/01/22/solved-comments-disappeared-error-after-wordpress-upgrade/</guid>
		<description><![CDATA[I&#8217;ve just upgraded a WordPress blog to the latest version 2.3.2 and when I went to write a new post I realised all my categories had disappeared. They were still in the database but the list to the right of where you type your posts was empty. As well as this, I noticed that adding [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just upgraded a WordPress blog to the latest version 2.3.2 and when I went to write a new post I realised all my categories had disappeared.  They were still in the database but the list to the right of where you type your posts was empty. As well as this, I noticed that adding new comments was giving a 404 error in the middle of the page.  This second issue was reminiscent of <a href="http://nerd.steveferson.com/2007/07/12/dashboard-404s-after-wordpress-22-upgrade/" title="Solved: Dashboard 404s After WordPress 2.2 Upgrade">another one I had</a> (and solved) upgrading to 2.2 &#8211; the errors were actually 403 errors, but redirecting to 404 error pages because there was no 403 error page defined (i.e. the 404 was happening when the server looked for the 403 page).</p>
<p>I noticed a file called error_log (no extension) in the wp-admin directory and had a look. Apparently some database tables (&#8216;wp_term_taxonomy&#8217;  and &#8216;.wp_terms&#8217;) were missing. After reading <a href="http://wordpress.org/support/topic/137181" title="categories disappeared from 2.2.1 to 2.3">this support thread</a> I investigated the possibility that my database was out of date.  I followed MichaelH&#8217;s suggestion of navigating to /wp-admin/upgrade.php, which informed me that my database was up to date.  I didn&#8217;t believe this to be true though; certainly not after learning that tables were missing. At a hunch, I guessed that when I&#8217;d been upgrading through Fantastico, I must have run out of space (a semi-regular occurrence) so the database upgrade was probably left half finished. Assuming that WordPress would determine whether or not I needed to upgrade based on a single configuration or database field I soon found  the wp_option.db_version field, which was set 6124.</p>
<p><strong>The Solution</strong></p>
<p>As I suspected, <a href="http://codex.wordpress.org/Version_2.3" title="Version 2.3 - WordPress Codex">6124 is the db_version value for WordPress 2.3</a>. I changed this field&#8217;s value back from 6124 to 5183 (the <a href="http://codex.wordpress.org/Version_2.2" title="Version 2.2 - WordPress Codex">db_version value in WordPress 2.2</a>) and hit the upgrade.php page again.  This time it told me to upgrade, I did, and the categories are back.Â  Adding new categories still caused 403 and 404 errors, but that was because I&#8217;d deleted <a href="http://nerd.steveferson.com/2007/07/12/dashboard-404s-after-wordpress-22-upgrade/" title="Solved: Dashboard 404s After WordPress 2.2 Upgrade @ nerd.">the .htaccess file created previously</a> when trying to fix the first problem! Recreate that and we&#8217;re cooking with gas again.</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2008/01/22/solved-comments-disappeared-error-after-wordpress-upgrade/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Solved: Dashboard 404s After WordPress 2.2 Upgrade</title>
		<link>http://nerd.steveferson.com/2007/07/12/dashboard-404s-after-wordpress-22-upgrade/</link>
		<comments>http://nerd.steveferson.com/2007/07/12/dashboard-404s-after-wordpress-22-upgrade/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 01:32:45 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/2007/07/12/dashboard-404s-after-wordpress-22-upgrade/</guid>
		<description><![CDATA[Immediately after I upgraded (using Fantastico) from WordPress 2.1.x to 2.2.1 I noticed the Dashboard in the admin was giving me problems. I was getting 404 pages displaying in the middle of the page (even though the source code was fine and there actually aren&#8217;t any iframes there). I&#8217;ll get to the solution in a [...]]]></description>
			<content:encoded><![CDATA[<p>Immediately after I upgraded (using Fantastico) from <a href="http://wordpress.org/" title="Wordpress &gt; Blog Tool and Weblog platform">WordPress</a> 2.1.x to 2.2.1 I noticed the Dashboard in the admin was giving me problems.  I was getting 404 pages displaying in the middle of the page (even though the source code was fine and there actually aren&#8217;t any iframes there). I&#8217;ll get to the solution in a minute (so read on) but first I want to tell my story (just because I can).</p>
<p>Initially I thought this was because there had been a problem writing some of the files so I downloaded a clean copy of wordpress and uploaded the files manually over FTP.  This didn&#8217;t help.  Having eliminated browser problems by testing in IE as well as FireFox, I noticed that the page seemed to be loading fine and these 404s were appearing after the page loaded.  Guessing Javascript I disabled this feature and tried again. It worked!</p>
<p>It was about this time that I stumbled across some <a href="http://wordpress.org/support/topic/117993?replies=2" title="WordPress â€º Support Â» Upgrade to 2.2 - Dashboard not working:">information in the WordPress support forums</a> pointing to a <a href="http://en.wikipedia.org/wiki/Ajax_%28programming%29" title="Ajax (programming) entry at Wikipedia">AJAX</a> issue.  It seems to be something to do with displaying the dynamic information like notices from WordPress (and incoming links?) and, more specifically, with the Content-type HTTP header being returned having a newly-added character encoding field.</p>
<p><span id="more-24"></span></p>
<p>Anyway, for the important bit, here&#8217;s <a href="http://wordpress.org/support/topic/117993?replies=2#post-564480" title="Comment by macbrink on: WordPress â€º Support Â» Upgrade to 2.2 - Dashboard not working:">the fix</a>:</p>
<ol>
<li>FTP to your wp-admin directory</li>
<li>If there is a <a href="http://httpd.apache.org/docs/2.2/howto/htaccess.html" title="Apache Tutorial: .htaccess files">.htaccess file</a> there, append the following lines.  If there is no .htaccess file, create a file called .htaccess and put these lines in it.<code><br />
&lt;IfModule mod_security.c&gt;<br />
SecFilterInheritance Off<br />
&lt;/IfModule&gt;</code></li>
<li>Save the file in your wp-admin directory and the rule you&#8217;ve just added will be applied to all files in that directory (and thus in your admin interface). Done!</li>
</ol>
<p>Why does the fix have anything to do with Apache&#8217;s security? As it turns out the errors were actually 403 (forbidden) errors caused by a badly-configured mod-security module.Â Â  mod_security didn&#8217;t like WordPress sending character encoding in the Content-type header. Unfortunately I didn&#8217;t have custom 403 pages set up, so I only got the 404s telling me that the 403 page the server was looking for couldn&#8217;t be found! That&#8217;ll teach me to be half-assed with my error pages (maybe).</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2007/07/12/dashboard-404s-after-wordpress-22-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Problems Updating Settings</title>
		<link>http://nerd.steveferson.com/2007/03/16/wordpress-problems-updating-settings/</link>
		<comments>http://nerd.steveferson.com/2007/03/16/wordpress-problems-updating-settings/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 02:10:25 +0000</pubDate>
		<dc:creator>nerd.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://nerd.steveferson.com/2007/03/16/wordpress-problems-updating-settings/</guid>
		<description><![CDATA[I&#8217;ve just spent the guts of an hour fannying about no various websites trying to figure out why I was getting an HTTP 404 (File not found) error when trying to update the settings on WordPress to make it ping different services. I hunted through the file being called, ie options.php, to no avail. I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent the guts of an hour fannying about no various websites trying to figure out why I was getting an HTTP 404 (File not found) error when trying to update the settings on <a href="http://wordpress.org/" title="WordPress Blog Tool and Weblog Platform">WordPress</a> to make it ping different services.  I hunted through the file being called, ie options.php, to no avail. I <a href="http://www.google.co.uk/search?hl=en&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-GB%3Aofficial&amp;hs=Gi0&amp;q=wordpress+404+options.php&amp;btnG=Search&amp;meta=" title="wordpress 404 options.php @ Google Search">Googled</a> the problem and found <a href="http://wordpress.org/support/topic/75064" title="WordPress Forums - 404 Not found when updating options">this</a>. The guy who zipped a new options.php file had taken it offline (more 404!!) and the other solution posted there didn&#8217;t work. Still a 404. Then I read it <a href="http://www.murderthoughts.com/2006/06/10/wordpress-and-mod_security/" title="WordPress and mod_security">might be something to do with Apache and mod_security</a>, so spent a minute or two pondering contacting my web hosts.</p>
<p>Then it came: my Eureka moment.  After some messing about I noticed it didn&#8217;t happen on the &#8220;General Options&#8221; page (options-general.php), only on the &#8220;Writing Options&#8221; page (options-writing.php).  I then tried updating the settings without changing any of them and &#8230; it worked!! Crazy!</p>
<p>It didn&#8217;t take long from then to figure out that the problem wasn&#8217;t with the WordPress setup, but with one of the URLs I was trying to get it to ping. Apparently WordPress doesn&#8217;t like Pinging the services at <a href="http://NorthernIrishBlogs.com" title="Northern Irish Blogs aggregator">NorthernIrishBlogs.com</a>, <a href="http://BritishBlogs.co.uk" title="British Blogs aggregator">BritishBlogs.co.uk</a> or <a href="http://www.IrishBlogs.ie" title="Irish Blogs aggregator">IrishBlogs.ie</a></p>
<p>WordPress doesn&#8217;t seem to want to work with any URI that has a &#8220;.&#8221; in it, so that rules out any that point to files (with extensions) rather than directories (in fact, I just tried to save this post after inserting an example URL and was given a similar 404. I then went into panic when I hit &#8216;back&#8217; on the browser to see an empty text area where my post used to be! Thank goodness for auto save). Presumably WP is trying to pingback the URL because it was in my post, and is having problems but I don&#8217;t know, but it doesn&#8217;t seem to have a problem with normal URLs, extension or not.  Bizarre!</p>
<p>To be continued&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://nerd.steveferson.com/2007/03/16/wordpress-problems-updating-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

