WordPress.org

Ready to get started?Download WordPress

Forums

Blogger Import Error (6 posts)

  1. erickaakcire
    Member
    Posted 9 years ago #

    Hello, I'm running wp 1.5.1.1 & I'm trying to do an import from Blogger. I changed the settings and I have the resulting wordpress.php in my wp install's home directory, but when I go to the import-blogger.php file I get this error:

    Fatal error: Cannot redeclare upgrade_all() (previously declared in myurl/wp-admin/upgrade-functions.php:7) in myurl/wp-admin/upgrade-functions.php on line 6

    Any advice would be greatly appreciated!

  2. injinuity
    Member
    Posted 9 years ago #

    I can reproduce this error on 1.5.1.1 as well... I have posted a message on the authors blog, I am sure he will come up with a solution. I have half an inkling to delete that upgrade declaration on line 6 but prudence says NO... keeping my fingers crossed and hope that the author can find a solution.

    If not, I will install the old 1.5 version, get my comments in, then upgrade to 1.5.1.2 haha

  3. skeltoac
    Member
    Posted 9 years ago #

    The problem is that the file import-functions.php is being required twice, when it should only be required once. I have searched the 1.5.1.2 code and found no place that does this, but I don't have any copies of 1.5.1.1 to check.

    A workaround for you is to edit one line of import-blogger.php. Around line 19, change this:
    require('upgrade-functions.php');
    to this:
    require_once('upgrade-functions.php');
    and then try again.

  4. adeco2
    Member
    Posted 9 years ago #

    I can't seem to be able to publish more than 5% of my blog (or so says blogger.com). I only see the last month in my WP directory.

    Any ideas as to why this happens?

  5. injinuity
    Member
    Posted 9 years ago #

    works brilliantly skeltoac... thank you so very much....

  6. skeltoac
    Member
    Posted 9 years ago #

    adeco2: That is a separate issue that I have addressed in the very last update to this post.

Topic Closed

This topic has been closed to new replies.

About this Topic