Archive for the ‘wordpress’ Category

Updated publications

Saturday, April 4th, 2009

I’ve finally updated my publications page. I’ve been using the bib2html plugin for wordpress. It does a rather good job but if you’ve advice on a better option I’d love it hear it.

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 www.steveneely.org 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:

update_option(’siteurl’,'http://www.steveneely.org/blog);
update_option(‘home’,'http://www.steveneely.org/blog’);

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 http://codex.wordpress.org/Changing_The_Site_URL

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 http://wordpress.org/wordpress-2.7.1.zip

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.


Twitter tweets on my wordpress blog

Monday, January 19th, 2009

Clearly travelling and updating this blog are not compatible. To increase the activity here at steveneely.org I’ve installed http://rick.jinlabs.com/code/twitter/ to display my recent tweets. It was a simple download and unzip to wp-content/themes task.

I had to update my WP theme as the old one didn’t support widgets properly, so we’ve got a new look and feel thrown in too.