Help - Search - Members - Calendar
Full Version: Internal Server Error: date archives
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
Rich Lyon
I have an "Archive-Related Template"
CODE
<ul>
<MTArchiveList archive_type="Monthly">
<li>
   <MTArchiveDate format="%Y">
   <MTArchiveDate format = "%B %Y">
</li>
</MTArchiveList>
</ul>

and a "Monthly" archive type to deposit the code fragment in a month folder for inclusion in month entries.

Problem: rebuild crashes with an "Internal Server Error" on every second rebuild. It does this consistently. Replacing the template with blank code causes the same crash.

Any ideas?
Rich Lyon
... I also get
QUOTE
Premature end of script headers: /home/richlyon/public_html/cgi-bin/mt.cgi

in the error log, which I note from another post in this category can be associated with misconfigured /n etc.
girlie
One thing about MTArchiveList is that it can be resource intensive, especially if you're including it in every archive page - because it has to keep looping through all those entries every time you rebuild, multiplied by the number of archive pages that you have.

Are you just trying to generate a list of all entries by month that you can show on a sidebar or something similar in each archive page?? Is there any reason you've set this up as Monthly Archive rather than perhaps as a single index page that can be included in your other pages?
Rich Lyon
Hello Girlie, (sounds like a horrible chatup line)

Yes, I've done that. But the server crashes even if the template is completely blank. It's very odd ...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.