Posts Tagged ‘wordpress’

Nuking WordPress — changing the site URL

Tuesday, March 10th, 2009

I’ve been messing with my domain registration and sites on webfaction. One update nuked my wordpress install. I spotted that loading was also hitting other domains I own.

The problem was that my domain updates had somehow altered the URLs that wordpress stores in its database (hyperlinks on blog pages were wrong and the template wouldn’t load).

A quick fix was to alter the active template’s functions.php file and directly after the <?php directive insert:


next, reload the site a couple of times and when fixed remove those two lines.

This is fully documented with other options for fixing at

Upgrading wordpress 2.7 to 2.7.1

Saturday, February 21st, 2009

I was just trying to upgrade WP 2.7 to 2.7.1 and got this error:

“Downloading update from

Unpacking the core update
Fatal error: Cannot redeclare pclziputilpathreduction() (previously declared in /home/sneely/webapps/wordpress/wp-content/plugins/wordpress-automatic-upgrade/lib/pclzip.lib.php:5421)”

It turns out that the problem was from the WordPress Automatic Upgrade plugin. Ryan posts that this is because WP 2.7 has its own autoupgrade included so we no longer needed WPAU.

If you get the same error just deactivate the automatic upgrades plugin and try again.

Setting up

Tuesday, April 15th, 2008

I’m setting up a space on the web to store my research activities and general information about technology that I find interesting. It’s a kind of scratch space for me to drop things when I feel like it. This post is about how this all got here:

Taking advice from Graeme and Lorcan I registered my domain with and signed up with to host my site. If you can afford 5 years it’s a nice deal. Webfaction have given me shell access to a linux box and their support guys have been great to me so far — replied within 24 hours of my questions. They have an affiliate scheme so if you decide to use them because of me feel free to add “sneely” as your affiliate. It can’t hurt to ask…

For now I’m running WordPress 2.5 with the HijauSegar 1.0 theme by L Chandler and bib2html for my publications. It’ll probably all change next time I’m bored at home.