• Resolved flamingbear

    (@flamingbear)


    After reading the post @ https://www.ads-software.com/support/topic/59456? I’ve come to the conclusion that I have a different problem.

    Does anyone have any ideas?

    Firefox 1.5, WinXP, Apache 1.3, PHP 4.2.3 & MySQL 3.23.58

    Cannot redeclare class blogger_import in /home/.sites/143/site2/web/blog/wp-admin/import/blogger.php on line 3

    Okay, so what’s going on here – it’s pretty frustrating.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter flamingbear

    (@flamingbear)

    back to the top

    Thread Starter flamingbear

    (@flamingbear)

    TTT

    hurricanesfan

    (@hurricanesfan)

    Hey I have the same Problem it brings in 1 article at a time then times out it says fatal error

    Fatal error: Maximum execution time of 30 seconds exceeded

    any ideas? everytime it brings in 1 new post… could be slow going if i don’g get this fixed

    bcompton

    (@bcompton)

    flamingbear: I had the same problem. I see it popping up all over this board.

    I fixed it by hacking wp-admin/admin.php in the following way:


    @@ -83,7 +83,7 @@
    if (! file_exists(ABSPATH . "wp-admin/import/$importer.php"))
    die(__('Cannot load importer.'));

    - include(ABSPATH . "wp-admin/import/$importer.php");
    + require_once(ABSPATH . "wp-admin/import/$importer.php");

    $parent_file = 'import.php';
    $title = __('Import');

    Basically this just means change ‘include’ to ‘require_once’ on line 86 — somehow the file’s getting included multiple times and causing the class redeclaration error.

    This doesn’t address the real problem, which is why some people aren’t having this problem while others are, why some people are getting it included multiple times… so this might break at some other time down the road. But since you aren’t importing all the time it should fix things long enough to get it done.

    Thread Starter flamingbear

    (@flamingbear)

    bcompton, thanks for the reply. Sorry, I’m not quite clear on how you’re modifying admin.php. Are you adding the require statement and removing the include statement?

    Just call me a chicken, but I just want to be sure that I’m doing it the right way.

    Thanks,

    Thread Starter flamingbear

    (@flamingbear)

    bcompton – I’ve got it figured out. Thanks for your help, it’s much appreciated. Now if I could only get the RSS to work ??

    mrcrimson

    (@mrcrimson)

    I’m also experiencing this issue. Once I get home I’ll see about implementing the “hack” to resolve it, and I’ll let you all know how it works.

    Thanks for the info bcompton!

    -Crim

    mrcrimson

    (@mrcrimson)

    It worked like a charm, thank you very much bcompton!

    -Crim

    hanumann

    (@hanumann)

    Thanx very much Bcompton; you resolved my problem. You’re a true genius! I have wasted many hours on trying to reslove this issue of importing blogger posts into WP, and you’re fix worked like a charm! my blog by the way is at
    https://www.calypsoislandtours.com/blog/

    Hanu

    earll

    (@earll)

    hey i got a different problem… anybody can figure this out?

    Fatal error: Call to undefined function: register_importer() in /home/www/earlthad.awardspace.com/wp-admin/import/blogger.php on line 663

    thanks in advance…

    mrcrimson

    (@mrcrimson)

    Hmmm… sounds to me like you might be missing a plugin, but then again, I’m a bit of a n00b yet, so I could be wrong. ??

    -Crim

    earll

    (@earll)

    what would that possibly be? i thought i’ve installed everything… can anyone tell me what it is? i’m kinda noob with this too.

    phildow

    (@phildow)

    “Fatal error: Call to undefined function: register_importer() in /home/www/earlthad.awardspace.com/wp-admin/import/blogger.php on line 663”

    I was just struggling with this. If you haven’t found the solution already, DO NOT try to access the blogger import script directly. Instead, run the /wp-admin/import.php script and then choose blogger from the list.

    Before you do this, make sure you’ve followed the instructions on archiving your blogger blog to your server.

    earll

    (@earll)

    i’ve tried that one too, but unfortunately it doesn’t work for me. i dunno, perhaps i’ve done something wrong. plz help!

    I followed steps as suggested by phildow and it works.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Import Error’ is closed to new replies.