Posted by CosmicVoyager on August 4, 2006 at 5:58am
| Project: | Monthly Archive |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Loong |
| Status: | closed (fixed) |
Issue Summary
On my list of monthly archives (http://www.openleftbox.com/cms/month), the last entry is "December 1969", with 4 articles. Now I don't remember blogging then :), and sure enough there are no entries when I click on the link. Is this a bug in a code, and is there an easy fix?
Thanks for your help, and thanks for a great module.
Comments
#1
can you execute SQL: SELECT MIN(`created`) FROM `node`
I want to know the result.
#2
I think some of created is 0.
you can try again, I add created>0 in where condition.
#3
I tried your fixed version, but there was no change. The "December 1969" entry is still there.
SELECT MIN(`created`) FROM `node` returned 14399.
#4
I'm so sorry, please try again.
#5
please rename "month_0.module" to "month.module".
#6
OK, that one worked great, thank you!
Another possible issue: the "more" link goes to "/month", but my drupal site is not at the root, so I had to insert my subdirectory path in there to make it work. That was easy enough, so I don't really mind, but is there a way to get that to work automatically?
Thanks for your quick replies, I REALLY appreciate it!
#7