« Another photo post | Main | Building restoration. »

Movable Type

December 15, 2005

Moveable type, typekey and comments

IMAGinES, a fellow MT-er chanced upon this place in a google query for a MT problem. (I think). The disclaimer: I am not an MT guru. MT is something I have had the occasion poke at once or twice. I take no responsibility for bad stuff that may happen following these steps (conversely, credit is always good).

Unfortunately, my blog is on 3.16, not 3.2, which gives slightly different error messages, so I can't recreate it (I'm also lazy and don't want to set up a 3.2 test box). It seems like the message is given when the signature can't be validated. The code tries to validate the typekey token and timestamp (and a few other things which would seem ok).

Things to check:
Weblog config/Preferences: Triple check the TypeKey Token. Make sure it is correct and that there are no whitespace characters at the end of the line.
mtconfig.cgi (was mt.cfg prior to 3.2): Make sure you're using the setting "TypeKeyVersion 1.1" (I think this will be the case if its a clean install, it may not be if its an upgrade).

If its neither of these, then the most likely cause is a bad timestamp on your host. Time in unix (linux, etc) should always be set to GMT. If you have shell access, the following commands should output GMT identically (if you type fast enough so the seconds don't tick over)

date -u
perl -e 'use POSIX; print strftime("%a %h %d %H:%M:%S UTC %Y\n", gmtime(time))'

If you don't have shell access, you'll need your host to verify this.

Good luck.

Scrawled illegibly by Meathe at December 15, 2005 10:54 AM

Comments

Hi, Meathe,

Thank you very much for the suggestions. I have the feeling it's the host's timestamp - I'm in Australia, but the host is in the US - but as I'm using a friend's web space (he pays for the hosting), I'll run this by him. We'll see what he reckons!

Cheers,

Rob

Posted by: IMAGinES at December 16, 2005 03:34 AM



And yes, it was indeed a Google query that brought me to your blog!

Posted by: IMAGinES at December 16, 2005 03:34 AM