WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wxr import locally? (6 posts)

  1. danweasel
    Member
    Posted 7 years ago #

    Would it be possible to use the new WXR importer to import server local files, rather than just remote computer files? I have a 2.3 M WXR file that wouldn't fit the 2M limit. (Yes I can change the limit in php.ini but it just times out every time.)

    Anything that will work?

  2. danweasel
    Member
    Posted 7 years ago #

    Now after some pruning I get:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1516 bytes) in /var/www/html/danweasel/wp-admin/import/wordpress.php on line 84

    Any help in future versions of that importer file?

  3. danweasel
    Member
    Posted 7 years ago #

    Resolved the situation by slicing up the xml file into 5 pieces and importing each in turn. Guess the importer just doesn't handle large files very well.

  4. Chris_K
    Member
    Posted 7 years ago #

    Sorry I missed this.

    The importer doesn't care about file size.

    PHP does though. Looks like yours is configured at the default 8MB.

  5. kendals
    Member
    Posted 7 years ago #

    Actually, the importer DOES care about the 2mb limit. I set my PHP.ini to accept 10mb files, and stupid WP still refuses to upload a 3mb file, so I have to break them up as suggested earlier...

  6. hi2005
    Member
    Posted 6 years ago #

    Kendals, how to break them up? here I have a exported file around 3.3mb. how can I break it up and import it? Thanks,Richard

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags