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
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
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.
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.
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,