<?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>The blog of whall &#187; Wordpress 2.7</title>
	<atom:link href="http://whall.org/blog/tag/wordpress-27/feed/" rel="self" type="application/rss+xml" />
	<link>http://whall.org/blog</link>
	<description>Come on in and stay a while... laugh a little.  Maybe even think.</description>
	<lastBuildDate>Mon, 06 Feb 2012 04:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>1000th post: Convoluted wordpress upgrade log</title>
		<link>http://whall.org/blog/2009/01/04/1000th-post-convoluted-wordpress-upgrade-log/</link>
		<comments>http://whall.org/blog/2009/01/04/1000th-post-convoluted-wordpress-upgrade-log/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 20:05:48 +0000</pubDate>
		<dc:creator>whall</dc:creator>
				<category><![CDATA[About the blog]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[Wordpress 2.7]]></category>

		<guid isPermaLink="false">http://whall.org/blog/?p=2417</guid>
		<description><![CDATA[Sometimes things are more complicated than they need to be.  Like Macbook Pros running OSx Leopard.  You&#8217;d think that the &#8220;common man&#8217;s&#8221; laptop that&#8217;s supposedly for the &#8220;artist-driven&#8221; and &#8220;creative&#8221; folk would make some sense.  But everywhere I turn, things are just plain confusing.   More on that later. This post marks my 1000th post. [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes things are more complicated than they need to be.  Like Macbook Pros running OSx Leopard.  You&#8217;d think that the &#8220;common man&#8217;s&#8221; laptop that&#8217;s supposedly for the &#8220;artist-driven&#8221; and &#8220;creative&#8221; folk would make some sense.  But everywhere I turn, things are just plain confusing.  </p>
<p>More on that later.</p>
<p>This post <strong>marks my 1000th post</strong>.  I just upgraded to WordPress 2.7 a few moments ago after writing up the following.  After fixing some plugin issues (a few caused my admin page to give server errors), I came back to edit my post and noticed I had 999 posts.</p>
<p style="text-align: center;"><img class="alignnone" title="999 posts so far on whall.org" src="http://whall.org/blog/files/whall-999.jpg" alt="" width="292" height="177" /></p>
<p>1000 posts is pretty big.  I wonder if I should give something away.  Then again, I&#8217;ve given some things away on past entries that I still haven&#8217;t finished delivering (but I will, <strong>I promise</strong>!).  So maybe the upgrade to 2.7 is my own gift to myself.</p>
<p>This post is about my convoluted WordPress upgrade.  Wordpress is what I use to run my blog.  I&#8217;ve been on WordPress for a while now (3.5 years) and have been through a fair share of upgrades.  I&#8217;m also pretty geeky &#8211; I can do lots of stuff from the command line and know WordPress well enough.  I&#8217;ve upgraded other blogs to the latest WordPress 2.7 without a problem, and usually in less than 5 minutes.</p>
<p>But I have a little problem, as <a href="http://whall.org/blog/2008/12/23/i-wanna-upgrade-but/" target="_blank">I&#8217;ve mentioned before</a>.  With all these upgrades I&#8217;ve done over the years, there&#8217;s something amiss with the blog.  Specifically, the database has issues.  Anytime I try to do a backup of my blog with the tried-and-true <a href="http://wordpress.org/extend/plugins/wp-db-backup/" target="_blank">WP-DB-Backup plugin</a>, it fails (stuck at wp_options, and the page doesn&#8217;t refresh itself).  </p>
<p>Here&#8217;s how stupid it is &#8211; this backup hasn&#8217;t worked for over a year now.  So, what happens when I go and re-try it again just now, just so I can get a screenshot?</p>
<p>Go ahead, guess.  YUP.  The stupid thing actually WORKS.  So now I have a good backup.  SHEESH.</p>
<p>The other problem I constantly had was when I try to use the <a href="http://en.blog.wordpress.com/2006/06/12/xml-import-export/" target="_blank">built-in Export function</a> of WordPress, it fails as well (server error 500).  Maybe I&#8217;ll be lucky and it&#8217;ll work this time.</p>
<p style="text-align: center;"><img class="alignnone" title="wordpress 2.7 export server error 500" src="http://whall.org/blog/files/wp27-export-500.jpg" alt="" width="280" height="172" /></p>
<p>Nope.  Well at least half of my complaints are still valid.</p>
<p>Anyway.  Where was I?  Oh yeah, failures.  Ok, so now I have a backup.  I like having <strong><em>more </em></strong>than one backup, so I also want to do a MySQL backup *and* a filesystem backup.  I&#8217;m putting those in the extended entry below for those of you who&#8217;d like to know how to do that.</p>
<p>Now that those two things are done (see the extended entry for additional info), I need to download the latest 2.7 upgrade.  I keep all my plugins, themes, and code in my ~/src directory.</p>
<pre style="padding-left: 30px;">(uiserver):whall:~/src/wordpress &gt; wget http://wordpress.org/latest.zip
--14:20:41--  http://wordpress.org/latest.zip
          =&gt; `latest.zip'
Resolving wordpress.org... 72.233.56.139, 72.233.56.138
Connecting to wordpress.org|72.233.56.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
    [  &lt;=&gt;        ] 1,849,558      4.80M/s
14:20:42 (4.79 MB/s) - `latest.zip' saved [1849558]
(uiserver):whall:~/src/wordpress &gt; mv latest.zip latest-27.zip</pre>
<p>I also like having the multiple versions around, so I move latest.zip to latest-27.zip.</p>
<p>The next thing to do is double-check and triple-check the <a href="http://codex.wordpress.org/Upgrading_WordPress" target="_blank">Upgrading WordPress guide</a>.  Here&#8217;s what I did with this upgrade:</p>
<ol>
<li>Verified my backups</li>
<li>Did more backups</li>
<li>Said a little prayer for my backups</li>
<li>Downloaded the latest wordpress files (above)</li>
<li>Deactivated plugins</li>
</ol>
<div>Now I need to follow more of the directions.  I unzip the wordpress files into a separate directory (~/wordpress)</div>
<div>
<pre style="padding-left: 30px;">(uiserver):whall:~ &gt; unzip ~/src/wordpress/latest-27.zip</pre>
</div>
<div>This extracts the files into ~/wordpress for temporary use.  Note that my blog is in ~/blog, remember?  Some people put their blog into ~/wordpress, so if you actually have your blog in that directory, you&#8217;ll want to do something else.</div>
<div>The directions say to delete the wp-includes and wp-admin directories.  I know in the past when I forgot to do this step, it&#8217;s not a good thing.  So make sure you do it.</div>
<div>
<pre style="padding-left: 30px;">(uiserver):whall:~ &gt; cd blog
(uiserver):whall:~/blog &gt; \rm -rf wp-includes/ wp-admin/</pre>
</div>
<div>Notice I used backslash in front of &#8220;rm&#8221; because I didn&#8217;t want it to use an alias, if any.  I frequently alias &#8220;rm&#8221; to be &#8220;rm -i&#8221; so that it confirms deletions.  This way, with the -rf option, it recursively deletes the two directories in my blog directory.</div>
<div></div>
<div>Then I use my special tar command to take the new wordpress 2.7 files to stomp on top of my existing directory, but keeping any other files that I have.  This is important, because I don&#8217;t want to lose my plugins, themes, or uploaded files. </div>
<pre>
<div style="padding-left: 30px;">(uiserver):whall:~/blog &gt; cd ../wordpress
(uiserver):whall:~/wordpress &gt; tar cvf - . | (cd ../blog; tar xfBp -)</div>
</pre>
<div>See the extended entry for more info about this tar command.</div>
<div></div>
<div>The final step is to visit the wp-admin page of your blog to check for an upgrade and continue on.  If all goes well, the upgrade is complete and you can start turning plugins on one-by-one to make sure they work.</div>
<div></div>
<div>Now, I wrote all of this BEFORE doing my upgrade, so I&#8217;m about to do another backup and then actually perform the steps.  If it all goes well, I&#8217;ll be on WordPress 2.7 and will publish this post. </div>
<div></div>
<div>If not, well, I might still publish it just to complain.</div>
<div></div>
<div>Update: it seems to have gone well, since I&#8217;m now editing this post in all it&#8217;s WordPress 2.7 glory.  Now to publish and hope it doesn&#8217;t break, and then to maybe do some more backups now that I&#8217;m on the latest version.</div>
<p><span id="more-2417"></span></p>
<h3><strong>How to do a MySQL Backup from PHPMyAdmin at 1&amp;1</strong></h3>
<p>I use <a href="http://www.1and1.com/?k_id=6432256" target="_blank">1&amp;1 for my hosting</a>.  They provide pretty decent admin tools through their console, and one of the tools is PHPMyAdmin.</p>
<p style="text-align: center;"><img class="alignnone" title="mysql admin" src="http://whall.org/blog/files/wp27-mysql-1.jpg" alt="" width="438" height="217" /></p>
<p>I just click on phpMyadmin and it launches the console tool for managing MySql.</p>
<p>Once you get there, there&#8217;s an &#8220;export&#8221; button that really means &#8220;backup&#8221;</p>
<p style="text-align: center;"><img class="alignnone" title="mysql backup" src="http://whall.org/blog/files/wp27-mysql-2.jpg" alt="" width="450" height="253" /></p>
<p>On the next page, select the database you want to back up, leave it as &#8220;SQL&#8221; for the type of backup, and click &#8220;Go&#8221; and you&#8217;ll get a backup file.  I presonally prefer my backup files to be zipped or gzipped, which is another option given.</p>
<h3>How do to files backup of your blog directory</h3>
<p>The essential parts of your blog are stored in the database &#8211; items such as posts, users, comments, categories, tags, options, etc.  However the actual code for the blog and your images are stored on the filesystem of whatever server you&#8217;re running on.</p>
<p>Every time I do an upgrade, I make ABSOLUTELY sure I back up my blog directory.  I use SSH to gain shell access to my server and use my friend tar() to do a good backup.  It&#8217;s a lot better than copy or anything else because it preserves structure, permissions, and ownerships of all the files.</p>
<p>So, let&#8217;s say I keep my blog in ~/blog (which I do).  I create a backup directory in the parent directory of the blog directory.</p>
<pre style="padding-left: 30px;">(uiserver):whall:~ &gt; mkdir backup-of-blog</pre>
<p>then I go into the real production directory and run the following command.  Make special notes of the options given &#8211; if you mess these up, you could really screw up things on your server.  </p>
<pre style="padding-left: 30px;">(uiserver):whall:~ &gt; cd blog
(uiserver):whall:~/blog &gt; tar cvf - . | (cd ../backup-of-blog/; tar xfBp -)</pre>
<p>then it will start copying all your files and making a complete backup of the entire directory, including permissions, modes and everything.</p>
]]></content:encoded>
			<wfw:commentRss>http://whall.org/blog/2009/01/04/1000th-post-convoluted-wordpress-upgrade-log/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>I WANNA upgrade, but&#8230;</title>
		<link>http://whall.org/blog/2008/12/23/i-wanna-upgrade-but/</link>
		<comments>http://whall.org/blog/2008/12/23/i-wanna-upgrade-but/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 13:19:21 +0000</pubDate>
		<dc:creator>whall</dc:creator>
				<category><![CDATA[About the blog]]></category>
		<category><![CDATA[scrooged]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[Wordpress 2.7]]></category>

		<guid isPermaLink="false">http://whall.org/blog/?p=2395</guid>
		<description><![CDATA[Note: This blog post is also available via audio.  It is read by the author on Utterli. My blog is powered by WordPress.  You know, that open source, free-is-all-you-pay, all the OTHER kids are doing it blog software.  Me like it long time.  I host several blogs on my account since I have about as much [...]]]></description>
			<content:encoded><![CDATA[<p><em>Note: This blog post is also available via audio.  It is <a href="http://www.utterli.com/u/utt/u-ODA4OTczOQ#utt-ODA4OTczOQ" target="_blank">read by the author on Utterli</a>.</em></p>
<p>My blog is powered by <a href="http://wordpress.org" target="_blank">WordPress</a>.  You know, that open source, free-is-all-you-pay, all the OTHER kids are doing it blog software.  Me like it long time.  I host several blogs on my account since I have about as much bandwidth allowance per month as a Congressional Bailout and approximately 17 gobs of disk space available.  I have 100+ domains (some of which were just domain speculation and run nothing but domain parking) and host several blogs for other bloggers, too.</p>
<p>Recently, WordPress released 2.7 &#8211; probably the biggest, coolest, awesomest WordPress upgrade that I can remember.</p>
<p style="text-align: center;"><a href="http://wordpress.org/development/2008/12/coltrane/" target="_blank"><img class="alignnone" title="wordpress 2.7 upgrade" src="http://whall.org/blog/files/wp27-6.jpg" alt="" width="447" height="305" /></a></p>
<p>I&#8217;ve upgraded a few folks to WordPress 2.7 for them.  I&#8217;ve installed 2.7 and like it a lot.  I&#8217;ve even set up a <a title="whall together now" href="http://whall.org/27" target="_blank">fake blog</a> that anyone can <a title="Register your own account and publish a few posts" href="http://whall.org/27/wp-login.php?action=register" target="_blank">register with</a> and play with 2.7 if they want to try it out before they upgrade themselves.  Yes, that offer&#8217;s still open.  I also created a <a href="http://whall.org/mu/" target="_blank">&#8220;mu&#8221; blog</a> if anyone wants to play with the multi-user version of WordPress and actually create their own entire blog and not just blog with others.</p>
<p>But I have this problem with my blog.  <em>[insert sappy violins playing sad emotionally carrying music]</em>.  You see, it was born a long long time ago when WordPress births were still a little difficult.  <em>[pause to compose myself]</em> It&#8217;s been upgraded and upgraded and upgraded so many times I&#8217;ve lost count. <em>[sniff]</em>  And now, sadly, I can no longer do <em>[sniff]</em> an export of the data.  <em>[sob]</em> I can&#8217;t even do a <a href="http://wordpress.org/extend/plugins/wp-db-backup/" target="_blank">WP-DB-Backup</a> any more! <em>[cry]</em>.  All I can muster <em>[sniffle]</em> is a MySQL backup <em>[sob]</em> every now and again just in case something blows up! <em>[uncontrollable crying]</em>.</p>
<p><em>[re-compose myself]</em></p>
<p>So, I don&#8217;t feel adventurous enough to complete a 2.7 upgrade for myself without good backups.  I&#8217;m worried that if exports don&#8217;t work and the wp-db-backup plugin fails, that the 2.7 upgrade will also fail, and then that&#8217;ll mean doing a restore process I haven&#8217;t tested.</p>
<p>Maybe I&#8217;ll try it over this Christmas break when fewer people are reading blogs.  Maybe now that I&#8217;ve slowed down my own blogging over the last few weeks (and thusly, the commenting), I might have the respite I need because business is slow, so to speak.  </p>
<p>Maybe I should try staples like <a href="http://www.amazon.ca/Scrooged-Richard-Donner/dp/6305609756" target="_blank">Scrooge, played by Bill Murray</a>, suggests.</p>
]]></content:encoded>
			<wfw:commentRss>http://whall.org/blog/2008/12/23/i-wanna-upgrade-but/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 is pretty hawt</title>
		<link>http://whall.org/blog/2008/12/09/wordpress-27-is-pretty-hawt/</link>
		<comments>http://whall.org/blog/2008/12/09/wordpress-27-is-pretty-hawt/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 21:33:07 +0000</pubDate>
		<dc:creator>whall</dc:creator>
				<category><![CDATA[About the blog]]></category>
		<category><![CDATA[nested comments]]></category>
		<category><![CDATA[threaded comments]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Wordpress 2.7]]></category>
		<category><![CDATA[wordpress upgrade]]></category>
		<category><![CDATA[wp-surveys]]></category>

		<guid isPermaLink="false">http://whall.org/blog/?p=2378</guid>
		<description><![CDATA[I&#8217;ve mentioned a few times on twitter that I set up a playground site that anyone can register and use to see WordPress 2.7 (the release candidate version).  You get an author account by default, so you can compose blog entries, login, do comments, see the back-end, etc. Offer&#8217;s still open.   Just visit, click [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve mentioned a few times on twitter that I <a href="http://whall.org/27" target="_blank">set up a playground site</a> that anyone can register and use to see WordPress 2.7 (the release candidate version).  You get an author account by default, so you can compose blog entries, login, do comments, see the back-end, etc.</p>
<p>Offer&#8217;s still open.   Just visit, click &#8220;Register&#8221; on the right and voila! you have an account and can post.  Please be nice.  Don&#8217;t write about Catcher in the Rye from my blog please.</p>
<p>According to <a href="http://codex.wordpress.org/Version_2.7" target="_blank">WordPress.org</a>, the new and improved 2.7 should hit the public internet waves sometime this month.  I&#8217;ve actually heard it will be tomorrow, which is the same day gays don&#8217;t go to work (they supposedly are teaming up together to &#8220;<a href="http://www.daywithoutagay.org/" target="_blank">call in gay</a>&#8220;)  I <a href="http://www.utterli.com/u/utt/u-ODA3MjQyMg#utt-ODA3MjQyMg" target="_blank">did an utter on that topic</a> this morning.  Go ahead and listen to it; I&#8217;ll wait.</p>
<p>Back?  Good.</p>
<p>One of the coolest out-of-the-box features of 2.7 is threaded / nested comments:</p>
<p style="text-align: center;"><img class="alignnone" title="wordpress 2.7 threaded comments example theme" src="http://whall.org/blog/files/wp27-1.jpg" alt="" width="450" height="633" /></p>
<p>Of course, you have to have a theme that supports it, which is why I was trying out <a href="http://thebuckmaker.com/aeros-105-goes-wordpress-27-and-offers-background-image-switcher/" target="_blank">Aeros 1.0.5</a> since it&#8217;s one of the few that does.  It&#8217;s kind of a neat theme and I might switch to it.</p>
<p>The new wordpress also has a much faster, much cooler comment management system whereby you can use keyboard shortcuts like j/k and asd (like a unix text editor or some text/java games) to move up, down, approve, spam or delete.  You can also reply individually to comments right there in the admin console!  I haven&#8217;t seen email notification TO the commenter, but I&#8217;m sure some enterprising author will make one if it&#8217;s not built-in.</p>
<p style="text-align: center;"><img class="alignnone" title="wordpress 2.7 comment edit quick edit reply delete keyboard shortcut" src="http://whall.org/blog/files/wp27-4.jpg" alt="" width="487" height="117" /></p>
<p>Actually, that &#8220;quick edit&#8221; feature right there is very interesting as well, because you edit it from right there inside the page and don&#8217;t have to launch another window to edit the comment.  Pretty handy for all you losers who keep forgetting I&#8217;m a PG-13 blog! (j/k) (and that means &#8220;just kidding&#8221;, not &#8220;down/up&#8221;)</p>
<p>Not only that, you get a neat &#8220;at a glance&#8221; dashboard showing the content you&#8217;ve authored and where the comments are, pending/spam wise</p>
<p style="text-align: center;"><img class="alignnone" title="wordpress 2.7 dashboard admin example" src="http://whall.org/blog/files/wp27-2.jpg" alt="" width="401" height="342" /></p>
<p>There&#8217;s also a new thing called &#8220;QuickPress&#8221; where you can just type in a quick title, content, tags and media and publish right from the dashboard.  To me, however, this seems a step backwards unless you can auto-categorize your &#8220;quickies&#8221; differently.  It&#8217;s kind of like twitter, but on your blog.  But at a minimum, it&#8217;s easy to jot down notes to yourself since it has a &#8220;save draft&#8221; button &#8211; wanna start the idea of a new post but don&#8217;t want to actually START a post?  write it in here and save it as a draft.</p>
<p style="text-align: center;"><img class="alignnone" title="wordpress 2.7 quickpress example publish" src="http://whall.org/blog/files/wp27-3.jpg" alt="" width="402" height="240" /></p>
<p style="text-align: left;">Oooh, and on my dashboad, it listed a plugin that I wanted to try, and I could install it right from the dashboard!  OMG!  I just clicked &#8220;install&#8221; then &#8220;install now&#8221; then &#8220;activate&#8221;.  How much easier can it get than that!??</p>
<p style="text-align: center;"><img class="alignnone" title="wordpress 2.7 auto installing plugins" src="http://whall.org/blog/files/wp27-5.jpg" alt="" width="382" height="298" /></p>
<p style="text-align: left;">Those are my first impressions, and I can envision me an early adopter, if for no other reason than for the nested comments.  </p>
<p style="text-align: left;">I even set up a <a href="http://whall.org/27/?p=13" target="_blank">new survey</a> (the plugin I just installed) &#8211; have a go!  You can say how you like me. <img src='http://whall.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;">If you&#8217;ve found out other cool features of the new WordPress, leave&#8217;em here.  And don&#8217;t forget you can get your own wordpress trial account on my <a href="http://whall.org/27" target="_blank">test blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://whall.org/blog/2008/12/09/wordpress-27-is-pretty-hawt/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
