WordPress 2.7 SVN headaches

December 19th, 2008 by Sjan Evardsson

When upgrading my blog to WordPress 2.7 using my favorite method (svn sw) I ran into the same problem plenty others were seeing from standard ftp upgrades. Namely: Fatal error: Call to undefined function: wp_remote_request() in /… path to blog …/blog/wp-includes/update.php on line 58. (See more about it here: http://wordpress.org/support/topic/224102?replies=36) I tried all sorts of craziness, including deleting everything but my uploads, my images and my custom theme, and then doing an svn up. Still no good. So finally, I got desparate. I did a fresh svn checkout of the 2.7 tag, copied my config, themes, uploads, images and plugins from the old version over, and all was good.

You can imagine, I am sure, that I was not really happy about the thought of going through the whole ordeal again for my wife’s blog. As fate would have it, svn sw worked like a charm on hers. Go figure.

Time for a new look

April 19th, 2008 by Sjan Evardsson

After looking at the same design since January of 2007, I felt it was time for a new look. So, a little tweaking to the theme Hope by Fatma Hassan and here it is, Evardsson 2.0. I love the look of the theme as it is, but I have to have my reindeer or I feel like it isn’t my site.

I like having a fluid layout, and this one seems to work reliably well while still looking good. I now return you to your regularly scheduled browsing …

Wordpress as a psuedo-CMS

April 12th, 2008 by Sjan Evardsson

I just finished moving my wife’s art site completely to WordPress. She recently asked if I could add a blog to her site, and since I knew that she also wanted the ability to modify someof her content from time to time, I decided to completely move her site to WordPress. It is not as full-featured as a full Content Management System (CMS), but it is also much more light-weight and supports all the things she wants to do (with a few plugins, of course).

The plugins I chose to meet her needs are:

  • Akismet (of course): Spam Filter (now a default with WP installs)
  • Flexible Upload: Picture Uploader which auto-creates thumbnails and supports Light-box like plugins.
  • Google XML Sitemaps: if you don’t know what that is check out Google’s Web Master tools.
  • WP-PostViews Plus: Not the most straight-forward plugin, but she did want some counter tracking.
  • Lightbox 2: Provides Lightbox functionality for WordPress. And with the Flexible Upload plugin she doesn’t have to hand code any of it or write any image links with rel tags.

Technorati Tags:

WordPress Update headaches - resolved???

October 25th, 2007 by Sjan Evardsson

I had a few headaches updating to WordPress 2.3. Not surprising since the category related tables were removed to make room for native tagging, and I have been relying on the Category Tagging plug-in. Ah well, after some hand sql work I was able to populate the tags to match the categories.

Now it can only get better, right? I have moved to using subversion to pull the latest stable release, so that takes a big chunk of time out of the equation, and now my tagging will happen at the time of posting, rather than being a pseudo-tag solution pulled from post categories. Or will it? I wonder if the tags tab in ScribeFire will do the trick?

We shall see.

The 3.0 version of the Google Sitemap generator seems to not be working, however, but I may have b0rked something there myself, and I will try again later.

Oh, and those sql statements?

If I remember correctly (I didn’t keep notes like I should have):

INSERT INTO wp_term_taxonomy (term_id, taxonomy, count) SELECT term_id, ‘post_tag’, count FROM wp_term_taxonomy WHERE taxonomy=’category’;

INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) SELECT rel.object_id, tax.term_taxonomy_id FROM wp_term_relationships AS rel, wp_term_taxonomy AS tax, wp_term_taxonomy AS ttx WHERE rel.term_taxonomy_id=ttx.term_taxonomy_id AND ttx.term_id = tax.term_id AND tax.taxonomy=’post_tag’;

I could have brought the descriptions across from the categories, too, but I didn’t think about it until just now.

Edit: I found the issue with the site-map generator. It required a tweak to the memory limits in my php.ini :/