• Hi everyone,
    I am trying to support an user (with administration rights in her own blogs) using the import function in WordPress to import an .xml file that was previously exported in the same multisite installation from another blog, and she keeps receiving the same message each time she tries to import it in a new blog: it says that the file does not exist. I have also tried to do it as administrator of the system and does not work either. However, when I try to import the same file in another blog in which that user is not a member, that works.
    Someone has some idea of how I can solve that?
    I do not have permissions to the hosting.

    Thank you very much.
    Best regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello, do you see a message like:

    “The link you followed has expired.

    Please try again.”

    And after you click on the try again link, do you see this message in the following page?

    “Import WordPress
    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.”

    @befiveinfo That’s the error I’ve been getting, and my host can’t seem to figure out why either. Sounds like you know the solution?

    Sorry but I cannot remember which site it was and why I was having the problem.

    Just out of curiosity, what theme are you using?

    What I can suggest you is to deactivate all the theme and plugin, and try again.

    I think that there was once a case when check_admin_referer causes a clash at wp_update_nav_menu_item hook in the course of wordpress-importer trying to import contents. The action hook function needs to do “return” immediately if the hook was called during ajax.

    @befiveinfo It’s the Authentic them by Code Supply.

    I tried using a fresh WP install and couldn’t get it to work either. Guess I’ll have to manually copy and paste each post over. /:

    @zaea
    It might be solved by configuration, e.g. changing amount of allocated memory etc.

    Please have a look:
    https://jp.godaddy.com/community/Using-WordPress/Wordpress-theme-upload-error-quot-The-link-you-followed-has/td-p/101292

    If it does not work, please let me know. I might be able to help you.
    twitter @befiveinfo

    • This reply was modified 5 years, 10 months ago by befiveinfo.

    I just exported my xml file and tried to import it in a fresh “local” installation. the php.ini was modified due to other problem-solving suggestions.

    (1) the import needs quite a long time (for just 4,4mb)
    (2) the display keeps empty and suddenly – following errors occur

    – failed to import post tags
    – some media files already were imported
    – The Link expired

    Following the Link all suggested solving are already done.
    Any advice?

    I also upgraded the PHP memory_limit to 128mb

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error when importing WP .xml file’ is closed to new replies.