• I’m trying to import the data from my old blog to my new blog. My backup only seems to have PHP files and when I try to run my import I need WordPress WXR files. How do I fix this? TIA.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You need to export the content from your old blog using Admin/Tools/Export.

    I have a similar situation, except I exported a WordPress backup xml on an old blog for importing to a new one. I guess my situation is a bit different: had an existing /blog folder, backed up my data, then deleted the folder… Then created a new blog folder and reinstalled WordPress in that folder. So when I try to import the backup, I get this:

    Warning: gzopen(\\nawinfs05\home\users\web\b959\ipw.zioneyem\blog/wp-content/uploads/\\nawinfs05\home\users\web\b959\ipw.zioneyem\blog/wp-content/uploads/2010/04/ZEM-blog-backup.xml_2.txt) [function.gzopen]: failed to open stream: No such file or directory in \\nawinfs05\home\users\web\b959\ipw.zioneyem\blog\wp-admin\import\wordpress.php on line 74

    I made sure (or at least I hope I did) that data tables from the previous blog will not screw things up, but now it’s saying it’s not existing…

    Help!

    Thanks!

    Hi,
    I did all this, exported as WordPress to WordPress and got a 16.8mb XML file which I then tried to import, selecting it from my local Mac and clicked on upload and import button.

    Then my machine just sat here, trying to reach the remote server by the looks of it.

    And doesn’t it need an WXR file, not an XML one? Anyway, I renamed it adding the wxr tag but still no go.

    Bill

    Ok, one more try at trying to get an answer

    I’m in the process of exporting posts from one of my sites (both WordPress using the same theme) to another and because doing it in one go is impossible because of the 24mb limit on the size that can be imported, I decided to do it one category at a time, tedious though this is.

    The first four categories worked well but after that although the export seemed to work ok, creating an XML file, importing doesn’t, even though I followed the same procedure.

    No error messages and no sign of the imported posts, though each time I try, WP creates duplicate categories!

    Bill

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Assuming you read Importing Content first.

    I’m betting you’re running out of memory when you import, and your host isn’t spitting out a decent error. Any chance you could copy the database up and use that way instead?

    I don’t think so, as I imported 4 large categories, each over a couple of megs in size, with no problem. And yes, I’ve read it, that’s how I found out about importing, all I had to do was load the import plugin.

    BTW, WP gave me a ‘Done’ msg after it had allegedly imported the xml file and it definitely adds all the Categories, a duplicate one for every time I tried to add a new one.

    Moderator James Huff

    (@macmanx)

    It’s possible that you may need to increase PHP’s memory allocation, maximum file upload size, and/or maximum timeout. See this guide for details on increasing all three.

    As I pointed out above, I uploaded much larger files without a problem, in one case over 100 large posts. An XML file of around 400k failed, so surely it can’t be the size limit?

    Moderator James Huff

    (@macmanx)

    It may not be the file size limit, but as mentioned above, it could also be PHP’s memory allocation or maximum timeout.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Importing from WordPress to WordPress’ is closed to new replies.