Import from b2evo v0.86

Having trouble installing serendipity?
Post Reply
wizian
Posts: 2
Joined: Tue Apr 11, 2006 6:30 pm

Import from b2evo v0.86

Post by wizian »

Hi,
I tried using the import facility for b2evo (version 0.9..) but the entry dates haven't been imported.
The b2evo database which I have is v0.86. I tried upgrading b2evo to a newer version but gave up in the end.
Is there a trick, a modified import routine or a place in the serendipity code which I can change so that I can do a clean import?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Import from b2evo v0.86

Post by garvinhicking »

Hi!

Did you try to use the import with your current b2evo import?

If you know some PHP, you could easily edit the importer files in include/admin/importers/. Sadly we have to develop s9y further, so we cannot offer help on importers for outdated versions of other blog systems...

But maybe b2evo 0.8 and 0.9 don't differ that much in their database versions?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wizian
Posts: 2
Joined: Tue Apr 11, 2006 6:30 pm

Changed line in file to import

Post by wizian »

Hallo,
changed line 146 in file \include\admin\importers\b2evolution.inc.php


from

'timestamp' => strtotime($entries[$x]['post_issue_date']),

to:
'timestamp' => strtotime($entries[$x]['post_date']),

Worked like a charm.

Imported entries, users with passwords, categories, links to files and comments.

Note: If you are importing, the screen hangs. Don't worry.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Changed line in file to import

Post by garvinhicking »

Hi!

Many thanks! I committed your patch to our SVN!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply