• nickaster

    (@nickaster)


    So I’m working on a migration of a pretty big blog to WordPress. I’ve run one test import and it worked beautifully including tags and categories – impressive. However, the authors are completely screwed up. I have over 50 authors and none of the migrated posts are showing the correct author – it seems as if authors have been randomly assigned to the posts, I can’t find any pattern. Anyone have any thoughts on this? Right now, wordpress hasn’t been modified at all, just a totally vanilla template set, no plugins. I have re-run the import script and it still randomly assigns authors to posts….

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nickaster

    (@nickaster)

    Responding to myself as I’d like to try this again.

    Any advice for a massive migration like this? 3500+ posts, 6000+ comments, 60+ authors?

    Should I do this in batches somehow?

    Thanks!

    Thread Starter nickaster

    (@nickaster)

    okay, bam, failure due to some kind of memory overload. And once again the authors are randomly assigned to posts. any ideas how to set php to handle more?

    The error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /usr/www/users/…path…./wordpress/wp-includes/plugin.php on line 302

    I was having the same problem with a large WPMU import. I muddled about a bit and seemingly found a solution.

    The only caveat is that I am not creating new users with the script, and I haven’t tested to see how this alters that function.

    I changed a line in /wp-admin/import/mt.php

    Line 106 changed from:

    $key = array_search($author, $this->mtnames); //find the array key for $author in the $mtnames array

    Line 106 changed to:

    $key = array_search($author, $this->get_mt_authors()); //find the array key for $author in the $mtnames array

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Movable Type Import Problem’ is closed to new replies.