This is an archived version of this page. The current blog is here

August 18, 2004

The Validation Failed - Typekey problem fix

I know I'm slightly repeating myself, but I thought this was worth pulling out into a separate post as I'm sure I won't be the only person with this problem.

If you've activated Typekey for comments, and then when you try to login, you get a message saying "The validation failed", then the following fix may be for you:

There's a long thread about this at the Movable Type forums, but the short version is this:

  • edit lib/mt/Util.pm, replacing this line:
    if ($has_crypt_dsa && 0) { with this:
    if ($has_crypt_dsa) {
  • you now need the Perl module Crypt::DSA to be available. You can run mt-check.cgi to see if it is already there. If not, your admin should be able to install it for you.

At this point I should just put in a plug for my hosting provider 34sp - I reported that the module wasn't there at about 3pm, and by about 4.30pm it was sorted. I am extremely impressed.

Posted by MFreestone at August 18, 2004 08:51 PM