I just moved my MT blog to a new server, and found that the monthly archive page does some weird stuff. </MTMonthHeader> appearing in the rendered page's source was a sign that one of the plugins (
MTDateHeaders to be specific) is not working. Of course, no errors during rebuilding.
I rememberd a similar issue with
AWStats, where after all it turned out that one of the plugins were missing a perl module. Some
googling showed that this module uses
Date::Calc, and I didn't have it on the new box! Until now, at least...
But no help, this module still doesn't work. And - maybe it's just me, but - I cannot find the original plugin to download and check what else it misses. I gave up here yesterday night, today I might just update the whole MT package to 3.15, and find out how to do the MonthHeader thing differently.
Update: I've recently upgraded to the latest MovableType (3.17), with a clean install, but the problem was still there. OK, this time hardcore googling. Finally I've found a
forum post where the author of the MTDateHeaders explained some install issues. One thing stroke me: he was referring an MTDateHeaders.
pm file too, together with the usual pl. Sparks above head. That's going to be it!
Fortunately I still had access to the old server where everything was working ok. Did a quick'n'dirty find:
find / -name MTDateHeaders.pm
And there it was, this nasty, bad bad bad module under
/usr/local/share/perl/5.8.3! Moved to the new server, and there it goes, everything works nicely.
Before I finish, let me summarize: there's a software on the server, MovableType. There's a small plugin for it, MTDateHeaders. MT has a nice extlib directory for all the modules she and the plugins might need. Added all these together, a question rises:
How the hell dares this plugin touch the base perl library directory?! And if it's unavoidable (it is not), why cannot he complain if his vital module is missing?! Wonders of the world, I guess.