Mar 30 2008

WordPress 2.5 Early Reactions – Sticky Post + WordPress Automatic Upgrade Plugins

Category: Personal,WordPressChrisM @ 3:49 pm

[UPDATE AT END OF POST]

OK, I have upgraded my test blog site to WordPress 2.5, to see if any problems occur with my current plugins etc., before committing myself to upgrading my 19 other blogs.
It would appear that a couple of things may be of interest to others…

1) Using the WordPress Automatic Upgrade plugin, the process bombed out at the ‘cleanup stage’. To clarify, the upgrade proceeded as normal, but the procedure halted when the process attempted to delete its temporary files. I was able to continue (WordPress had me login in again), click on the Manage link, go to Automatic Upgrade, and finish off the process successfully (AFAI can tell). Go here for the general plugin page, and here for the latest update info.

2) The Sticky Post plugin (previously found at http://blog.vishalon.net/Post/88.aspx, though that page is now removed or perhaps the permalink structure over there changed?), that enables you to keep a specific post on the front page for as long as you want, without constantly fiddling the time stamp, appears to be temporarily broken by WordPress 2.5 . I suspect this was due to code changes within WordPress that deal with handling which posts should be displayed. If you have the plug in installed, upgrade to WordPress 2.5, and find that none of your posts appear, along with an error of WordPress database error: [Table 'wp_posts' from one of the SELECTs cannot be used in global ORDER clause]
( SELECT SQL_CALC_FOUND_ROWS wp_posts.*, 2 AS N FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') ) UNION ALL ( SELECT wp_posts.*, 1 AS N FROM wp_posts INNER JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE wp_posts.post_status = 'publish' AND wp_posts.post_type = 'post' AND wp_postmeta.meta_key = 'STICKY' AND wp_postmeta.meta_value = '1' ORDER BY wp_posts.post_date_gmt DESC LIMIT 1) ORDER BY N, wp_posts.post_date DESC LIMIT 0,10
at the top of your page, login as normal, and deactivate the Sticky Post plugin.

I still want to carry out further testing before upgrading my other blogs, but I’m reasonably happy, so far at least.

For further info on the final release of WordPress 2.5, see here, here, here, here, here, here and here.

[UPDATE]
See this post for further details on plugin compatibility testing with WordPress 2.5

Tags: , , , , , , ,


Oct 28 2006

Fixed Issue With IE6 Users Viewing This Site

Category: PersonalChrisM @ 5:11 pm

I’ve previously mentioned that if people use Internet Explorer 6 (rather than FireFox, or IE7) to view this site, they will not see what is intended. I’ve now discovered what caused the 2nd sidebar column to ‘slip’ down the page, below the bottom of the 1st sidebar. It was when a site with a long URL was listed in the ‘We’re Linked From…’ section on the right.
I’ve now removed the original widget, found the JavaScript code to use from www.wholinked.com , and inserted it in a King Text widget. Problem solved.
One day I’ll move onto why the default FireFox extension for viewing online videos (WMVs in this case) results in a loss of audio/video sync, whereas WMP or off-line viewing displays no such errors.
Also created a proper 404 page this week, as I noticed some sites were using incorrect URLs to link to entries on this site, and the original error page wasn’t very useful. To check it out, enter in this site’s name, then invent a page, for example, you could try www.chrismerriman.com/THISpageDOESnotEXIST.htm or www.chrismerriman.com/ABCDEFGH.php etc. etc.

[EDIT] And, thanks, but there is no need to leave a comment that the links don’t work, as requested in the error page – save it for links that are SUPPOSED to open real pages ;>

Tags: , , , , , , , , ,


Oct 17 2006

West Wing Video Clip

Category: Kazakhstan,Personal,VideosChrisM @ 12:19 am

This is Martin Sheen, playing the president of USA, explaining why he wants to make sure their troops have proper coats, before sending them in to repel invasions by Russia and China.

Made me giggle. (It is a tad inaccurate…)

PS If anyone from Text Link Ads reads this, I’ve tried to remove this page from your listings, without much success – I can’t insert the code into this post manually, and your plugin will only go site wide or on the home page. As this post doesn’t have its own template to edit, I can’t add adverts here, and you did not accept my blog as a whole to your program, so I can’t put adverts everywhere…

Tags: , , , , , , ,