• Hi there. I have two wordpress blogs which I need to merge. I went gone to the old one and exported it as an xml file. Then I went to the new blog (which already had posts on it) and imported the file. I chose to map the posts to the existing users (because they’re all the same anyway) and selected to upload all links/ files etc. Then it appeared to import successfully; the list of imports appeared and my browser said ‘Done’. But when I viewed the blog and looked in the Posts, nothing had changed. The posts from the old blog have not been added to the new one. Am I missing a stage or does this sound like a bug?
    Thanks.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter flourishrob

    (@flourishrob)

    Hi Jon. Thanks for the response. I’ve actually upgraded both blogs to 3.0.5 and tried again just now. Same deal. What’s weird is that each time I try, the list of stuff importing is of a different length. Yesterday it got to 69 before saying ‘Done’ in my browser window. Today it got to 79. I would expect some sort of,’you’ve updated, click here to continue’ or something, but it just… stops.
    Could it be something to do with the fact I increased the upload limit from 2mb to 10mb?

    You mention posting the export file… where would I do that?
    I am somewhat of a technophobe. ??

    Could it be something to do with the fact I increased the upload limit from 2mb to 10mb?

    Doesn’t sound likely

    You mention posting the export file… where would I do that?

    You could email me with an attachment or a link to the file hosted somewhere. My email: wp {AT} lionsgoroar.co.uk

    If I am able to reproduce this then it will really help track down what’s going wrong. Thanks.

    For those following along there was nothing wrong with flourishrob’s export file. Then I re-read this:

    Yesterday it got to 69 before saying ‘Done’ in my browser window. Today it got to 79. I would expect some sort of,’you’ve updated, click here to continue’ or something, but it just… stops.

    This definitely sounds like the PHP script is hitting the max_execution_time set in the server’s php.ini. If I am correct this probably means that the host is running PHP in safe mode (deprecated PHP 5.3, but that’s another story) since the importer tries to bump the execution time using set_time_limit.

    Replying to fpol:

    If I open the XML file with an editor, I see the tags but no post content(should I even see the content here?) I have tried the WP exporter, but I don’t have an export button on the page. I used the Advanced Export plugin to even get this far. Everything else sounds exactly like what’s happening to flourishrob. Hope it’s ok to join on this post for help since it sounds almost the same. If not I can start a new one for myself.

    This isn’t the same problem and you should start yourself a new thread probably in another forum section since you seem to be having trouble generating a useful export file. Yes you should be able to see post content in the XML file (all posts are held in <item> tags). I have no idea why the built-in WordPress export page isn’t showing you the “Download Export File” button. Assuming you’re using WordPress 3.0.5 (and you should be!) the functionality of the built-in WordPress export is the same as that of the Advanced Export plugin.

    sjalle

    (@sjalle)

    I’ve exported my old WP blog and installed the WP import plugin on my new site. When I use this plugin to import to my new blog then this is what I get (the import XML file is 14.6 mB in size, and it is not empty):

    Sorry, there has been an error.
    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.

    My php.ini file looks like this:

    memory_limit = 32M;
    upload_max_filesize = 20M;
    post_max_size = 100M;

    Hi sjalle.

    What about file_uploads in php.ini?

    If this doesn’t help could you please open a new thread instead of continuing this one.

    Thanks.

    P.S. it sounds like you are exporting a lot of data, I would actually recommend database dumps (e.g. mysqldump or via phpmyadmin) for such large backups and imports if possible.

    sjalle

    (@sjalle)

    As with flourishrob, the import feature is not working for me either. Assistance is requested. (I’m writing mostly to be included in the automated follow ups as it appears nobody knows how to fix this bug just yet.)

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Blog import not working’ is closed to new replies.