boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

blogger-2-b2.php - OBSLETE for the "new" Blogger (

 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
cowboy



Joined: 01 Aug 2003
Posts: 4

PostPosted: Sat Aug 02, 2003 2:49 am    Post subject: blogger-2-b2.php - OBSLETE for the "new" Blogger ( Reply with quote

blogger-2-b2.php, the *wonderful* script that is supposed to take blogger archives, published to its desires, and smooch them into b2, is not compatible with the new version of blogger, aka "Dano". Some users may be able to import the first month's archive with only posted date errors.

Michel! Guys! You've got to help this community! In Aide en français someone else posted about this, "Importation de Archives du nouveau blogger", but it went unnoticed!

I've just put out 80$+20$ for two years of dedicated hosting, solely for my *nouveau* b2 blog... but being unable to transfer posts is interrupting my life style....

please help!

adam
Back to top
View user's profile Send private message
initself



Joined: 09 Apr 2003
Posts: 12

PostPosted: Wed Aug 20, 2003 9:30 am    Post subject: blogger-2-b2 - Success is Near? Reply with quote

blogger-2-b2
blogger-2-b2.php

I was able to get the archive created at least; 2003_08_01_cafelog.php was created in my b2 directory but it looks like the problem is a mysql 'id' issue, because i get the following error message when I run the import program ('Go'):

The importer is running...

importing posts and users

2003/08 Duplicate entry '4294967295' for key 1

This adds one record to my blog with a key of 4294967295 in the database table b2 posts. After it posts, it looks like it gets hung.

I think I am just one step away from soving this, however I can't tell what program is being run to submit this archive to mysql. Pulling up the source of the webpage tells me some kind of form is running but I do not know what the form is doing.

If anyone can lend a hand here, I'd appreciate it.

mb
Back to top
View user's profile Send private message Visit poster's website
Aza



Joined: 18 Sep 2003
Posts: 7

PostPosted: Thu Sep 18, 2003 5:32 pm    Post subject: Reply with quote

Same problem, with SAME key !!!

This happens for posts written in February 2002.
I've tried to delete or change this "key" with PhpMyAdmin, but it's all the same Sad

I'm desperate...
450+ posts left to import, I can't do that by hand !!!

Any help, someone ? Michel ? please ?
Back to top
View user's profile Send private message
moose



Joined: 04 May 2003
Posts: 196
Location: Winnipeg Canada

PostPosted: Thu Sep 18, 2003 10:17 pm    Post subject: Reply with quote

the new version of blogger will probably never be compatable with b2, as it stopped developping.
Back to top
View user's profile Send private message Visit poster's website
Aza



Joined: 18 Sep 2003
Posts: 7

PostPosted: Fri Sep 19, 2003 9:51 am    Post subject: Reply with quote

Yeah, I know, but can't any phpGuru have a look at this ?
I am desperate !
There are so many people in need of this feature Smile

I'm already back to blogger... I'm not good enough at PHP to try something... Anyway, I will try to work with the generated archive files in order to make a .sql file with them and inject them in my DB.

By the way, do you think I should delete my b2 installation and work with WordPress Question
Back to top
View user's profile Send private message
jadeddaisy



Joined: 24 Nov 2002
Posts: 116

PostPosted: Fri Sep 19, 2003 9:01 pm    Post subject: Reply with quote

If you're a new user, and you need something that isn't available with the current release and aren't able to write or fix it yourself, then yes, switching to wordpress would be your best option. B2 is no longer being developed, and while that's not meant to prevent you from using the program if you really want to, it does mean that you're not going to get alot of support in writing new features or updating the old ones..
_________________
~^Rickie Beth^~
jadeDblog
Back to top
View user's profile Send private message Visit poster's website AIM Address
Aza



Joined: 18 Sep 2003
Posts: 7

PostPosted: Sun Sep 21, 2003 11:44 am    Post subject: Reply with quote

Thanks,

I tried WordPress, but with the same but for importing / converting posts and archives from Blogger with Blogger-2-b2

I *finally* found a working solution.
One has to change the posts ID from INT(10) to BIGINT(20) in the b2posts and b2comments table, using phpMyAdmin.

Then one need to find the following line in blog.header.php :
(this is line 98 with WordPress, havn't tried it on b2 yet)

Code:
$p= intval($p);


and comment it with a double slash :

Code:
// $p= intval($p);
Back to top
View user's profile Send private message
Lurgen



Joined: 27 Oct 2003
Posts: 2

PostPosted: Mon Oct 27, 2003 8:57 am    Post subject: Reply with quote

I can confirm that the blogger-2-b2.php script works with b2 0.6.2.1 and the "new" version of Blogger (as at October 27th 2003) once you change the ID's to bigint(20).

There's no need to delete that line of code though.

I found that the import process created a blank user ID with no posts, but that may have been caused by the first attempt (which failed due to the smallint situation).
_________________
--
http://www.lurgen.com/blog/
Back to top
View user's profile Send private message Visit poster's website
Viper007Bond



Joined: 15 Aug 2003
Posts: 266
Location: Portland, Oregon, USA

PostPosted: Mon Oct 27, 2003 9:09 am    Post subject: Reply with quote

There is no need to bother with this script though as if someone is going to switch from Blogger to b2, they really should switch to WordPress instead.
_________________
http://www.viper007bond.com

If you haven't already installed b2, I advise you look into WordPress or b2evo instead as b2 is dead.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Aza



Joined: 18 Sep 2003
Posts: 7

PostPosted: Mon Oct 27, 2003 9:32 am    Post subject: Reply with quote

And that's what I did, finally. WordPress .72 has a very good converter Smile
Back to top
View user's profile Send private message
Graam



Joined: 20 Dec 2002
Posts: 134

PostPosted: Tue Dec 30, 2003 3:48 pm    Post subject: Reply with quote

From what I gather, this bug has also been fixed in the blogger-2-b2evo import script.

http://forums.b2evolution.net/viewtopic.php?p=2226#2226
_________________
tin-men
powered by
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group