WordPress.org

Forums

WordPress Importer
Not working (7 posts)

  1. JasminTM
    Member
    Posted 2 years ago #

    I'm trying to upload an xml file and it's doesn't import anything. I keep getting a long list of "failure to import..." errors.

    http://wordpress.org/extend/plugins/wordpress-importer/

  2. mehdiba
    Member
    Posted 2 years ago #

    Hello after installing the plug-in I get a white screen and dont get a field to import data.

    Can anybody help is it the problem that I have WP 3.5.1 ?

    THX

  3. jholder83864
    Member
    Posted 2 years ago #

    There are probably 2 different problems here:
    Jasim, did you export your file using wordpress?

    mehdiba, a white screen usually indicates a PHP fatal error, where it simply couldn't recover. This can be caused by misconfiguration, and probably isn't just the plugin.

    Try looking at your PHP error log for the error. If you don't have access to it, try using the wordpress plugin editor to edit the plugin php file and add:
    ini_set('display_errors', 1);

    and perform the steps again to cause the white screen. It should print out what happened.

    Be sure to take that line out when you're done.

    best of luck!

  4. bendrexl
    Member
    Posted 2 years ago #

    Yo jholder, how's it going? :D

    Here's the error I'm getting on import from a wordpress.com-hosted site into a self-hosted site:
    Fatal error: Class 'DOMDocument' not found in /var/www/html/wp-content/plugins/wordpress-importer/parsers.php on line 61

  5. jholder83864
    Member
    Posted 2 years ago #

    Heyya Ben!

    Looks like it can't create the DOM because you don't have libxml installed in your PHP instance.

    If you have shell access, then you can run
    yum install php-xml
    on centos/rhel systems
    and
    sudo apt-get install php5-dom
    on Ubuntu.

    Best of luck!

    john

  6. bendrexl
    Member
    Posted 2 years ago #

    Bingo - thanks John, that did the trick!

  7. dansilber
    Member
    Posted 2 years ago #

    I also thought I would note I needed to restart apache to get John's fix to work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.