Import Problem (bblog import)

Found a bug? Tell us!!
Post Reply
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Import Problem (bblog import)

Post by hanno »

When trying to import bblog-entries I encountered some problems:

1. After entering all information I got this message:
Starting import procedure...
Tabelle 'hanno.serendipity_authors' existiert nicht Import failed:
(which is in english "table 'hanno.serendipity_authors' doesn't exist")
now, hanno was the name of the bblog-db. So the importer tries to import into the bblog-db, not into the s9y-db. It only works if you have the bblog and s9y-tables in the same db.

2. All trackbacks were converted to comments. They should stay trackbacks after conversion, else the importer doesn't make much sense.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Import Problem (bblog import)

Post by garvinhicking »

Yes, the first error is sadly a bug in 0.8, which has yet only been fixed in our 0.9 release.

About the trackbacks: How does bblog differ from trackbacks to comments? The importer uses this query:

Code: Select all

"SELECT * FROM {$this->data['prefix']}comments WHERE type = 'comment'
and I thought that would suffice to only get comments. I'm not familar with bblog, so I only created the importer reverse engineering the database...

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/
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Post by hanno »

You're right, the svn-snapshot fixes the first issue.

About the second, I was wrong, your query is correct, but it doesn't import trackbacks at all. Is that not supported by the importer?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I sadly did not have a testing base for importing trackbacks; so no, this is currently nto supported by the importer.

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/
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Import of Trackbacks

Post by hanno »

I'll have a look at it and will try to implement a patch for trackback-import.
Post Reply