• Hi,

    I’m trying to export a blog from WordPress.com to a self-hosted WP installation. I had to do this for two different blogs. First one was easy. But with the second one, the import process at the new self-hosted WP installation keeps failing.

    At first I thought it has something to do with the fact that this second blog uses “Portfolio Projects” over at wordpress.com and that somehow it was not compatible with a www.ads-software.com installation. I disabled it and tried again (after having completely re-install WP at the blog, and created a brand new MySQL database). But it didn’t fix the problem. Now I’m wondering if it has something to do with the theme, the categories, or something else.

    When the problem occurs, the import process hangs forever and when I finally try to refresh the page it’s telling me “Failed to create new user” etc (the blog has many authors, one administrator). Basically, it will import posts and media successfully, but everything gets attributed to the administrator.

    The XML file is quite small, 455KB and shouldn’t be a problem.

    Any idea how to troubleshoot this would be appreciated. Thanks!

    P.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    But with the second one, the import process at the new self-hosted WP installation keeps failing.

    Are you getting any error messages when it fails? Aside from “Failed to create new user”.

    Thread Starter Prx

    (@parneix)

    Hi,

    So what I get when I try to import is either a hang (it will freeze or hang for ever) and an “Internal Server Error”.

    I have activated the “debug” mode in the importer. After a hang, if a refresh the page, here is what I get:
    Failed to create new user for nameofuser. Their posts will be attributed to the current user. Sorry, that username already exists!
    Page “NameofPage01” already exists.
    Media “imagefile.jpg” already exists.
    Media “NameofMedia01” already exists.
    Media “NameofMedia02” already exists.
    Page “NameofPage02” already exists.
    Page “NameofPage03” already exists.
    Etc.

    And indeed everything was imported, except every single post has lost its original author and has instead been attributed to the administrator in the process.

    P.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    So what I get when I try to import is either a hang (it will freeze or hang for ever) and an “Internal Server Error”.

    That’s not good. Does your web server’s error_log file tell you what’s crashing?

    Failed to create new user for nameofuser. Their posts will be attributed to the current user. Sorry, that username already exists!

    That happens when you re-run the import and is normal.

    And indeed everything was imported, except every single post has lost its original author and has instead been attributed to the administrator in the process.

    How many posts? That count I mean? You could always wipe out the WordPress and try again. But first find out about those internal errors.

    Thread Starter Prx

    (@parneix)

    Hi,

    Thanks a lot for the quick reply!

    1) I’ve already wiped out WordPress and tried again 4 times. Each time I do a clean install, deleting all WP files and re-installing from scratch. I also delete the MySQL database and create a brand new one.

    2) 93 posts.

    3) Error logs display the following errors (I have anonymized the URLs):

    [Sat Mar 21 09:10:59 2015] [emerg] [client 00.00.00.00] (22)Invalid argument: mod_fcgid: can't lock process table in pid 30445, referer: https://mywebsite.org/wp-admin/
    [Sat Mar 21 09:11:02 2015] [emerg] [client 00.00.00.00] (43)Identifier removed: mod_fcgid: can't lock process table in pid 10277, referer: https://mywebsite.org/wp-admin/
    [Sat Mar 21 09:17:28 2015] [error] [client 00.00.00.00] File does not exist: /home/adminname/mywebsite.org/internal_error.html, referer: https://mywebsite.org/wp-admin/admin.php?import=wordpress&step=1&_wpnonce=3c32d54962
    [Sat Mar 21 09:21:07 2015] [error] [client 00.00.00.00] File does not exist: /home/adminname/mywebsite.org/favicon.ico
    [Sat Mar 21 09:21:07 2015] [error] [client 00.00.00.00] File does not exist: /home/adminname/mywebsite.org/missing.html
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Import XML from wordpress.com fails to import authors’ is closed to new replies.