WordPress.org

Ready to get started?Download WordPress

Forums

Import from Blogger (52 posts)

  1. zeebie
    Member
    Posted 6 years ago #

    Hi, I just installed wp 2.2 and as instructed went to manage and began importing my blog. I ran into a block though when I I was directed to google to authorize access. I clicked on grant access on the google webpage and when I was directed back to wordpress I got a message saying:

    Trouble signing in

    We were not able to gain access to your account. Try starting over.

    Restart

    We have saved some information about your Blogger account in your WordPress database. Clearing this information will allow you to start over. Restarting will not affect any posts you have already imported. If you attempt to re-import a blog, duplicate posts and comments will be skipped.

    Any ideas? Thanks,
    Z.

  2. Andy Skelton
    Member
    Posted 6 years ago #

    Google recently changed their API. To fix the WordPress 2.2 Blogger Importer, search wp-admin/import/blogger.php for

    www2.blogger.com

    around line 84 and replace it with

    www.blogger.com

    A patch has been uploaded for WordPress 2.3:
    http://trac.wordpress.org/ticket/4847

  3. zeebie
    Member
    Posted 6 years ago #

    I requested how to accomplish your comments at bluehost, here's their response:

    Tom [17:12]: We don't support that, you'll just have to find the patch and upload. You need to also retrieve the installation instructions.

    So I'll need a patch and instructions on uploading it. I had them install word press 2.2 and I don't see an option to install 2.3

    Thanks,
    Z.

  4. Chris_K
    Member
    Posted 6 years ago #

    Why don't you just edit blogger.php and make the 1 character edit? Andy told you where the file is and what to change...

  5. zeebie
    Member
    Posted 6 years ago #

    Sorry, I am new to this. Can you give me some detailed instructions please. Do I access this through the c-panel for bluehost? I did not perform the install, they did so I don't have the wordpress files on my computer.
    Thanks,
    Z.

  6. zeebie
    Member
    Posted 6 years ago #

    k- wait I'm accessing the blogger.php file with ftp and will edit. I'll post how it goes,
    Thanks,
    Z.

  7. Chris_K
    Member
    Posted 6 years ago #

    k- wait I'm accessing the blogger.php file with ftp and will edit

    :-) There ya go.

  8. siggia
    Member
    Posted 6 years ago #

    I tried the method Andy mentioned, about changing the line, but to no avail. I noticed another line with 'ww2' and changed that as well, just for the hell of it, but now I get a new error message:

    There was a problem opening a connection to Blogger. This is what went wrong:

    (536903679)

    I'm using WP 2.2.1

    Any new magic tricks I might try?

  9. ucla74
    Member
    Posted 6 years ago #

    This is now working, but only if you import to a wordpress.com blog. To get your posts & comments to a self-hosted blog, you need to then export to an XML file, then re-import from your self-hosted blog. A bit of a kludgy workaround, but it worked great for me.

    See http://wordpress.org/support/topic/131523#post-608520

  10. ucla74
    Member
    Posted 6 years ago #


  11. ucla74
    Member
    Posted 6 years ago #

    *sigh* I suck at teh intraweb. I looked for and couldn't see the "Edit Post>>" button. :(

  12. Ravi
    Member
    Posted 6 years ago #

    siggia - i just changed one line like andy told and it worked.

    ucla74 - it worked for me in self-hosted blog

  13. zeebie
    Member
    Posted 6 years ago #

    Works!

    I edited this file wp-admin/import/blogger.php

    as noted above.
    Thanks,
    Z.

  14. katiemarie
    Member
    Posted 6 years ago #

    Thank you Andy! It worked for me also!

  15. dirtbikemom2007
    Member
    Posted 6 years ago #

    Awesome! I've been trying to do this since yesterday. I edited wp-admin/import/blogger.php changing www2.blogger to http://www.blogger and I just got everything to import.

    And I'm using self-hosted WordPress

    Thanks SO much!

  16. chrisjacobson
    Member
    Posted 6 years ago #

    Editing blogger.php worked! Thanks a lot!!

  17. ThePopulist
    Member
    Posted 6 years ago #

    I tried it. didn't work for me. :(

  18. ThePopulist
    Member
    Posted 6 years ago #

    I even downloaded a free PhP editor and it's line 87 andy.... didn't help... :( crap....

    Blogger must not want ppl to export their blogs...

    jerks...

    -Chuck

  19. mictlan
    Member
    Posted 6 years ago #

    I was able to get it on my second try. It worked thanks guys!

    I've outlined how I did it here if your interested.

  20. kwsanders
    Member
    Posted 6 years ago #

    The change to blogger.php worked perfectly. Now if I could just get the import from Blogware working.

  21. anakbrunei
    Member
    Posted 6 years ago #

    I just tried it and it works beautifully! Tks andy!!

  22. ipub
    Member
    Posted 6 years ago #

    WP2.2.3
    the wp-admin/import/blogger.php file is already well set with
    www2.blogger.com

    but I still have the same error message :

    We were not able to gain access to your account. Try starting over.

    any suggestion ?
    please help !

  23. Zhuli
    Member
    Posted 6 years ago #

    I have the same problem, can't import to a self hosted blog...

    I'm pretty new at everything : could someone detail a bit more this method :

    Google recently changed their API. To fix the WordPress 2.2 Blogger Importer, search wp-admin/import/blogger.php for

    www2.blogger.com

    around line 84 and replace it with

    http://www.blogger.com

    A patch has been uploaded for WordPress 2.3:
    http://trac.wordpress.org/ticket/4847

    Thanks in advance - this is greek to me !

  24. Zhuli
    Member
    Posted 6 years ago #

    Alright, I figured out how to edit the php... but it didn't work for me. Any other solution ? I'm quite desperate to finally finish with blogger and move to WordPress for good !

  25. ThePopulist
    Member
    Posted 6 years ago #

    Okay, get this editor

    Go to where your wordpress is uploaded, look under /wp-admin/import/ and download blogger.php

    open blogger.php in editor

    scroll down to line 87

    change text on that line to http://www.blogger.com

    save blogger.php

    ftp file back to wp-admin/import

    if your ftp program asks you if you want to overwrite it, select yes.

    be sure you are logged into Blogger... This sometimes causes issues... as I found out. If you ran firefox and haven't emptied your cache, you should remain logged in.

    Import your blog and be happy. It works, I've done it twice, so far.

    -Chuck
    Blogger Importerer Extraordinaire

  26. ThePopulist
    Member
    Posted 6 years ago #

    Another thing I should report, because it's pretty important. If you didn't use the labeling system on Blogger, your posts will NOT be imported to WordPress. When I first started blogging over at Blogger, I used a blogging client that didn't support the labels on the New Blogger, and many of my posts didn't use the labeling system. so, some were not imported.

    keep this in mind, when you import from blogger.

  27. Zhuli
    Member
    Posted 6 years ago #

    This way still doesn't work for me, but thanks for replying and detailing anyway !

    However, I found a (weird) way around. I created a blog on WordPress.com, imported my blogger post from there (and it worked fine...don't know why !) and then imported from WP.com to WP.org.

    I appreciate your reply - I have so many little questions and no replies so far !

  28. adventurebear
    Member
    Posted 6 years ago #

    Worked for my, thanks andy! Now to figure out how to get the haloscan comments and blogger hosted photos..

  29. b3nghan
    Member
    Posted 6 years ago #

    I am using WP 2.3 beta, the line 87 is already with http://www.blogger.com and I can't import.

    "We were not able to gain access to your account. Try starting over."

  30. hypobaric5000
    Member
    Posted 6 years ago #

    I try to import my blog from Blogger and I got this...

    CAfile: /usr/local/share/curl/curl-ca-bundle.crt CApath: none

    I need to know how to resolve this becuase I would like to import this to my website instead of starting over.

Topic Closed

This topic has been closed to new replies.

About this Topic