My Wordpress install is stuck in October
October 8, 2007 5:15 AM Subscribe
PHP/HTML/etc. gurus: A strange date-related glitch has me totally buffaloed.
Friday morning, the archive calendar on my Wordpress install decided to do something strange:
http://www.wuol.org/CMS/
Notice that the month-navigation link at the bottom, which should point back to September, instead points recursively to October.
If you manually navigate to September, everything works fine:
http://www.wuol.org/CMS/?m=200709
... but once you click into October, you're stuck there.
Here's the thing: It was working fine until Friday morning. Nothing, as far as we can tell, was done to either the server or the administration panel. I was making some cosmetic changes at the time - adding links to pages, etc. - but have since undone them all in an effort to figure out what the hell is going on. I've uninstalled all plugins one-by-one, and that's not it either.
Any ideas where to look?
Friday morning, the archive calendar on my Wordpress install decided to do something strange:
http://www.wuol.org/CMS/
Notice that the month-navigation link at the bottom, which should point back to September, instead points recursively to October.
If you manually navigate to September, everything works fine:
http://www.wuol.org/CMS/?m=200709
... but once you click into October, you're stuck there.
Here's the thing: It was working fine until Friday morning. Nothing, as far as we can tell, was done to either the server or the administration panel. I was making some cosmetic changes at the time - adding links to pages, etc. - but have since undone them all in an effort to figure out what the hell is going on. I've uninstalled all plugins one-by-one, and that's not it either.
Any ideas where to look?
Best answer: This page shows lines in september.
Because the first historical item in the 200710 list appears to point to a September listing, the old/new code might be getting confused.
posted by seanyboy at 6:58 AM on October 8, 2007
Because the first historical item in the 200710 list appears to point to a September listing, the old/new code might be getting confused.
posted by seanyboy at 6:58 AM on October 8, 2007
One thought - If items were posted in October with a September date (or vice-versa), then you could get these sort of errors.
So - if the last day in september was posted on the first day of october, this could be the result.
(The wordpress code possibly confuses the created_date and the poosted_date on a post. This is a guess.)
posted by seanyboy at 7:06 AM on October 8, 2007
So - if the last day in september was posted on the first day of october, this could be the result.
(The wordpress code possibly confuses the created_date and the poosted_date on a post. This is a guess.)
posted by seanyboy at 7:06 AM on October 8, 2007
Another option. This could be to do with localisation. Try updating the date / time on forward dated posts. Try changing the location for dates. (So you're using GMT instead of EST or whatever).
posted by seanyboy at 7:21 AM on October 8, 2007
posted by seanyboy at 7:21 AM on October 8, 2007
Response by poster: Because the first historical item in the 200710 list appears to point to a September listing, the old/new code might be getting confused.
That's it exactly. For posterity's sake - if you're forward-time-stamping a post and it crosses into a different month, you have to re-open that post once the new month arrives, check "edit timestamp" and save the post again.
Thanks seanyboy!
posted by jbickers at 12:53 PM on October 8, 2007
That's it exactly. For posterity's sake - if you're forward-time-stamping a post and it crosses into a different month, you have to re-open that post once the new month arrives, check "edit timestamp" and save the post again.
Thanks seanyboy!
posted by jbickers at 12:53 PM on October 8, 2007
This thread is closed to new comments.
posted by jbickers at 5:15 AM on October 8, 2007