Help - Search - Members - Calendar
Full Version: Index page not rebuilding
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
Eanes03WFU
For whatever reason, when I add and save a new entry, MT isn't automatically rebuilding my index page as it used to. I'm having to go into the Templates section of MT and manually rebuild the index template every time I add a new entry--needless to say, this is a pain.

This didn't seem to be a problem until after I installed the 3.15 plugin; otherwise, I'm using MT v3.14. The URL for the site is http://www.86st.net.

Any suggestions?
SujayT
this is now happening to me too. it's happened once before and i was about to post a topic asking about it. the main index doesn't rebuild when comments are posted either.
Eanes03WFU
I also noticed the comments problem too. I'm wondering if it has anything to do with the 3.15 plugin. Any help would be great, from someone who might know.
Eanes03WFU
Not sure if this is related, but I'm also seeing this message at the bottom of the rebuild popup menu when I manually rebuild indexes:
QUOTE
Use of uninitialized value in concatenation (.) or string at /mt/lib/MT/Template/Context.pm line 2264.
This message appears several times in the window. Any help would be greatly appreciated...
Eanes03WFU
Bump.
shelley
That error message suggests it's having trouble constructing the Category Archive Permalinks. Is Category your preferred type and/or do you have category links being generated in several templates?

How many times does the error repeat? Does the number of times it repeats correspond to the number of templates being built (i.e., Indexes plus Archives)?
Eanes03WFU
Actually yes, I discovered not too long ago that the Category Archive links I included on my homepage (http://www.86st.net, middle of right-hand column) haven't been building correctly, though they did for a while.

The error does appear 17 times, which corresponds to the number of categories that should be being built. Category is not my preferred type, Individual is.

Thinking that it might help, here is the archive template for Category Archives:
CODE
<$MTEntryCategory dirify="1"$>/index.shtml

Additionally here is the code included in the template that should be generating links to individual Category Archive pages:
CODE
<MTArchiveList archive_type="Category">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>

Any thoughts or corrections that I should be made would be greatly appreciated.
Eanes03WFU
There are two archive listings on my homepage. Perhaps my code is wrong:
CODE
<MTArchiveList archive_type="Monthly">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList><br />
     
<MTArchiveList archive_type="Category">
<a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br />
</MTArchiveList>

Must all included archives be enclosed inside of the same tags?
Eanes03WFU
I was able to fix this by fixing the archive template for Category Archives to the following--the weird "Use of uninitialized value in concatenation" error no longer appears:
CODE
<$MTArchiveCategory dirify="1"$>/index.shtml
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.