Help - Search - Members - Calendar
Full Version: Converting Db To Mysql - Process Stalls
Movable Type Community Forum > Installing and Upgrading > Databases
bhikku
My host just upgraded their servers and now I have the chance to put my blogs into MySQL.

I called the mt-db2sql.cgi script and it buzzed along for a bit until it stalled with this message:

QUOTE
**** WARNING: Use of uninitialized value in print at mt-db2sql.cgi line 83.

**** WARNING: Use of uninitialized value in numeric gt (>) at mt-db2sql.cgi line 84.

**** WARNING: Use of uninitialized value in join or string at (eval 67) line 2.

An error occurred while loading data:

Can't call method "basename_limit" on an undefined value at lib/MT/Util.pm line 815.


This is the dreaded basename_limit error which points to a line in Util.pm which reads:

QUOTE
my $limit = $blog->basename_limit || 30; # FIXME


I don't like the look of that FIXME at all . . . I wish someone had fixedme in the upgrade to 3.34 but I guess they didn't.

This problem has been resolved on this forum in the past by making sure there are no entries in the db leftover from deleted blogs - but I've checked, and all entries are from my two blogs, which are numbered 2 and 4.
Looking at the MySQL using phpadmin, there are just two lines in the mt_permission table, for blogs 2 and 4.

Any ideas what's going wrong?
davidswelt
QUOTE (bhikku @ Feb 22 2007, 09:14 AM) *
An error occurred while loading data:

Any ideas what's going wrong?


Does it say which table it is working on when the error occurs?

chances are you need to prevent people (or spammers) from posting comments and trackbacks while converting. That's what I had to do - I simply renamed the mt_comment.cgi and mt_tb.cgi scripts for the time being.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.