Go to content Go to navigation Go to search

Tread lightly on the things of earth

Mike’s weblog about computing, politics, and faith (a progressive view)

MT v2.21 upgrade boo-boo? FIXED!

FIXED: I misunderstood the v2.21 upgrade instructions—first upgrade to v2.21, then run mt-upgrade221.cgi. That works. Woo-hoo!

Oops, after running mt-upgrade221.cgi, I’m getting this pair of errors repeated on my MT maintenance page:

MT::App::CMS=HASH(0x8d69fe4) Argument “6-” isn’t numeric in addition (+) at /usr/pkg/lib/perl5/siteperl/5.6.1/MT/Util.pm line 37.
MT::App::CMS=HASH(0x8d69fe4) Argument “6-” isn’t numeric in addition (+) at /usr/pkg/lib/perl5/site
perl/5.6.1/MT/Util.pm line 44.

and the “Authored on” date on each existing entry’s edit page is of the following form
2002—0-6- 27: 0:0:

Q: Do new entries, like this one, show the same problem date format? Yes. Drat.

A few minutes later …

I observe that the problem is the same even when I drop all the way back to v2.11 state and then do a complete upgrade using MT-2.21-upgrade.tar.gz.

As I don’t have time right now to investigate the cause of this problem, I’m dropping back to v2.11 state then reupgrading to MT-2.2-upgrade.tar.gz (not v2.21), which appears to work beautifully (except, of course, for the 06.28.2002 announced “created_on columns were timestamp fields” bug that prompted the v2.21 release in the first place—but I don’t think that’s a problem for me).

Life on the cutting edge, baby!