Wrong archive display after Wordpress import

Found a bug? Tell us!!
Post Reply
gimmel
Regular
Posts: 118
Joined: Tue Jul 25, 2006 2:44 pm
Location: Quickborn/Germany
Contact:

Wrong archive display after Wordpress import

Post by gimmel »

While working on the template for bestatterweblog.de I found a mysterious bug in the archive view.
The years 1999 to 2006 are listed, but there are no entries in this period. The entries were imported from a wordpress installation, that may be the reason, but I don't now how to fix that. :?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Wrong archive display after Wordpress import

Post by garvinhicking »

Hi!

s9y always shows the archives from NOW up until the date of your first entry. It seems that one of your older entries must be posted in October 1999 - can you check the serendipity_entries DB table, sort it by the "timestamp" column and see which one is the first entry? That's your oldest one, and it might be that it is a draft entry, that's why it's not displayed but counted in the archive view?

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/
gimmel
Regular
Posts: 118
Joined: Tue Jul 25, 2006 2:44 pm
Location: Quickborn/Germany
Contact:

Post by gimmel »

I have no access to the actual database. But I have an import of the original (old) wordpress db. Guess what? All drafts got a timestamp of November 1999. The timestamp of the drafts in wordpress was 0000-00-00 00:00:00. Funny.

You're a genius…

Thanks, Garvin!
Post Reply