default userpic

Error during installation: undefined type: at lib/MT/Upgrade.pm line 1316

Vote 0 Votes

I recently built a movable type installation on Mac OS X 10.5.2, with Postgres 8.3.0, and MT 4.1 Open Source.

When I get to the point of database upgrade, I get the error: Error during installation: undefined type: at lib/MT/Upgrade.pm line 1316

7 Replies

| Add a Reply
  • You should log that as a bug. Whenever a user encounters an error like that, is almost always is a bug.

    Chris Hall, our QA lead, can tell you if he has heard of other users with this issue and what the best path forward for you should be.

    It does sound familiar to me, but it is hard to be sure.

  • I just got the same error on Win XP with Postgres 8.3 and MT 4.1, so maybe it's a problem with the Postgres support.

    Dunno about OP, but I'm a complete newb, so maybe we just both screwed up identically too ;-)

  • Me too. PG 8.3 and MT 4.1 on Linux. I'll try upgrading to MT nightly and see where that gets me.

  • Nope. Looks like I'm dead in the water until someone fixes this bug. I took a shot at it, but failed; I need to move on to other things. Too bad, MT looked like it might be cool.

  • user-pic

    What version of DBD::Pg module do you have on your server? You can check the module version in mt-check.cgi. If it is v2.0 or up, I would ask you to try downgrading the module to the latest of v1.x. V2.x seems under heavy development and may not be stable.

  • default userpic

    I had the same problem, thought I'd post here since it's the only place I found that referenced it. Edit lib/MT/ObjectDriver/DDL.pm line 410 so it goes from: } elsif ($type == SQL_BOOLEAN) { return 'boolean'; }

    to } elsif ($type == SQLBOOLEAN) { return 'boolean'; } elsif ($type == SQLFLOAT) { return 'float'; }

    I did a stacktrace and saw they were missing this, it worked for me. Good luck!

  • Re: Jayson Pifer - thanks! This solution seems to work. I wonder if one can add this change to the MT codebase without breaking it on older DBD::Pg modules.

    In any case, after I applied this change it seems that MT is working nicely.

    Thanks!

    Regards,

        Shlomi Fish
    

Add a Reply

Forum Groups

6 7

Last Topic: API password missing. by Absoblogginlutely! on Feb 26, 2008

62 142

Last Topic: Issues obtaining the Source by apidevlab on Jul 17, 2008

69 125

Last Topic: L10N by Voulf on Jul 16, 2008

24 55

Last Topic: installing allong side a vbulletin by Forgoten Dynasty on Jul 20, 2008

3 5

Last Topic: Share your success story, please. by Gianluca on Jun 20, 2008

code.sixapart.com

20 46

Last Topic: Installing in sub-folder by Lala on Jul 5, 2008