WordPress Upgrades

Wordpress IconWhen dealing with website upgrades, one of the main concerns is trying to make the upgrades go as smooth as possible, but the other concern is that upgrades need to be executed as fast as possible to minimize down time. When it comes to the web, it is a 24 hour cycle, and even 15 minutes of down time can cost web site owners money. Given this, I have come up with the following upgrade process for minor WordPress upgrades, that minimizes down time for web site users, and makes the process a little easier on me.

Verify Backup

Never perform any kind of upgrade without a backup! In the case of WordPress, make sure you have a current database backup and a backup of your wp-config.php file. Now on with the upgrade process…

Prepare Your WordPress Upgrade Files

1. The first thing I do is delete any unnecessary files from the new WordPress release. I do not use the classic theme at all, so I usually delete that theme.

  • wp-config-sample.php
  • license.txt
  • readme.html
  • wp-admin\install.php
  • wp-content\themes\classic
  • wp-content\plugins\hello.php

2. Rename the following folders:

  • wp-admin to wp-admin-new
  • wp-include to wp-include-new

Uploading Files

3. Upload the two folders that you renamed to your WordPress root directory. Note that this will not overwrite the current folders, since they are named differently. This results in not interrupting the up-time of your site until the next step.

4. Upload all the root files to your site, overwriting the current files already there. Sometimes, it is best to delete the root files first instead of overwriting them, so choose whatever method you prefer. Note that you should keep the wp-config.php file; do not delete this file ever or it will cause problems.

5. Upload the contents of the wp-content folder, meaning you now have to upload the contents of the wp-content/themes and wp-content/plug-ins directories.

Finish Upgrade

6. Most WordPress upgrades want you to confirm the upgrade.php file. This usually runs database changes and such, but for minor builds, it is a good way of confirming the upgrade process worked.

  • Run domain_name/wp-admin/upgrade.php

7. Lastly if all went well, you just need to delete upgrade.php and you are done!

Some Notes

Make sure you are familiar with the upgrade process for WordPress and note that some major upgrades may require changes to theme files and such. You may need to modify this upgrade process for a particular WordPress release.

iPhone Review II

Apple iPhone 1.1Three months ago I posted my Apple iPhone Review and detailed my initial thoughts of Apple’s entry into the cell phone market; now with a few months of usage I thought it would be a good time to write down some afterthoughts on what the iPhone experience is all about. First let me state that I have only personally used only three cellphones in my entire life: a Blackberry, a Samsung Blackjack, and an old style cell phone, none of which I personally owned. The irony of course is that back in college I worked at a major electronics chain store and sold cell phones as part of my job. Back then I use to sign up people for Motorola phones all the time. Somehow though I never really thought I would ever need a cell phone until now!

Most Used Features

Without a doubt, the feature that I use the most is Safari. I love being able to read my favorite tech news sites and blogs anywhere I go. Everyone is talking about how some day eBooks will become popular, but in reality the real medium is the news site and blogs that get updated daily and which are read more often than most newspaper columns. The iPhone allows you to do what you have always wanted to do, which is catch up on your favorite sites when you are away from your computer. In many ways it reduces the need for people to use their work computer for idle web browsing and lets people be informed anywhere they go.

I personally hate talking to people on the phone, so I prefer SMS texting to actually calling anyone. Sometimes SMS seems more fun than actually talking. I much more prefer to send coworkers a quick message than to actually bother them during a meeting or worse at home in their private time. The iPhone’s keyboard takes a little getting use to, but it soon becomes second nature and you find yourself quickly adopting to its limitations.

As a manager, you often need to catch up on email or learn more management skills, but lets face it there is never enough time in the day to do this. One trick that I use is to email myself anything I don’t have time to read to my GMail account and then later when I get stuck waiting somewhere with nothing to do, I pull out my iPhone and check my email. This way I catch up on everything I wanted to read eventually without interfering with my regular work routine.

Probably the feature I use the most that is not work related happens to be the camera. Like most people I have a digital camera and it is stuck in a drawer somewhere. The iPhone camera is nothing to rave about, but it allows you the freedom to take a few pictures of the family, especially when they least expect it. For the first time I actually I am using iPhoto weekly.

The Annoyances

The biggest annoyance is the battery life, until you discover to live within the limitations of the iPhone battery. If you find your battery draining like mine, try the following tips:

  • Turn Wi-Fi off when you know there are no access points
  • Lower your screen Brightness
  • Turn Bluetooth off if not needed
  • Do not setup Mail to Auto-Check
  • iPod: Turn off Sound Check
  • iPod: Turn off EQ
  • iPod: Turn off Volume Limit
  • If you do not need to take any calls, enable Airplane Mode

The other problem that I use to run into is with Safari. At times Safari would just quit without warning trying to load a webpage. I think this is more of a problem with Safari 3 then the actual iPhone. Safari 3 in Mac OS X is still a work in progress and you will find that while Safari 3 improves on the previous version’s speed, it seems to be a lot more prone to long freezes and random quits. A good cure for this on the iPhone is to clear your cache and shutdown your iPhone completely. Once your power it back up, Safari seems to work just fine for a couple a days at least. The problem only gets worse if you switch constantly from Wi-Fi and AT&T.

Don’t Use It

Other than my kids who seem to think it is hilarious to watch SouthPark cartoons with Pokemon character voices, I really don’t use the YouTube feature much. The iPod part of the iPhone plays better video and unless you are connected to Wi-Fi, YouTube does not work very well at all through AT&T.

iMac RAM

Transcend 2GB 200-Pin DDR2 SO-DIMM DDR2 667 (PC2 5300) Notebook MemoryI recently got a new 2007 Intel Mac, which I have yet to review, but which I already updated. Apple has a reputation for gouging customers on extra memory configurations, (much like every other computer maker), and even though Apple now sells their computers with at least 1GB of RAM, this proves to be insufficient for Mac OS X 10.5 at least. However with today’s memory prices, you can easily find a good deal on DDR2 667MHz SO-DIMMS. The best deal I found was from NewEgg: 2GB Transcend DDR2 667MHz SO-DIMM for $36.99. When purchased there was also a $10 Mail-In Rebate that cut the price to $26.99, (with $4.99 extra for shipping). The aluminum Intel iMacs can handle up to 4GB of RAM, so if you do not mind throwing away the original 1GB DIMM, you can max out your iMac for less than $80.