Help - Search - Members - Calendar
Full Version: Index Template Won't Rebuild
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
AndrewK
Besides my main index template, I have another one that contains a list of the latest comments to my blog. I use a server-side include to pop it into my home page.

Since upgrading to 3.31, though, that template will not rebuild. I finally removed the output file (latest-comments.html), and when I choose "Rebuild this template" the system hangs for several minutes before returning a blank page -- and "latest-comments.html" isn't rebuilt.

The template is simple and has worked for months. Any suggestions would be appreciated!

CODE
<MTEntries recently_commented_on="6">
<p style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size:11px;">
<b>In <a href="<$MTEntryPermalink$>"><MTEntryTitle></a></b><br />
<MTComments lastn="1">
by <$MTCommentAuthor$><br />(<$MTCommentDate format="%B %e, '%y"$>)
</p>
</MTComments>
</MTEntries>


(I also tried removing all the code from the template and simply having the words "This is a placeholder" there. It still locks up on rebuild.)
AndrewK
Hmm... it's worse than I thought. Not only will that index template not rebuild, but it locks up the entire system when I try. The site won't reload and MT just becomes unresponsive.'

Any ideas what might be wrong?
crz-e-d
After upgrading my MT installation from 3 through 3.1, 3.2 to 3.31 I noticed the same thing happening. When rebuilding pages MT would "hang" and eventually would crash (perl CORE crash dump files) would be in the MT directory. These dump files would consume all disk space, after which building of new files wasn't possible.

I had to do a fresh installation of MT 3.31 to get rid of the issue. Maybe that will help for you as well.

But beware, after doing the fresh install I noticed that commenting doesn't work anymore. Still trying to figure that one out.

Fixed the commenting issue: I installed the CCode and TCode plugin from Alogblog but forgot to include the hidden fields that are used by those plugins in the comment form. RTFM smile.gif
adminchan
Hello all,

I'm having a similar issue. Main Index, RSD, and Site JavaScript templates will not rebuild. All the others will. This just happened within the past couple days. I ran through all the checks and found nothing to be changed or no errors. It just quit working.

I went into my DB, uploaded a fresh copy of MT to a new folder, configured it and checked it again, and it's still doing the same thing. What I can do? Go into my CP and change and save the templates. However, when I log into MT proper, none of the changes show up in the template menu.

I can also delete the Main Index template, create a new one, and it will tell me to rebuild. Then I get the same "page not found /movabletype/mt.cgi" error. So I do a manual rebuild. Then it tells me I'm missing the Output File, which I'm not.

Does each template have a different rebuild code? I'm stumped as to how only a few template rebuilds are affected. What file contains the template rebuild code?

Any insight would be greatly appreciated.

Thanks!


Using:

MT Verision 3.2
Apache version 1.3.36
MySQL version 4.1.21-standard
adminchan
O.k.

I cleared everything out and started with a fresh copy of 3.31. I was still getting the same error when I transferred my backup copy of "Main Index" so I pasted it in there section by section.

It worked up until the point I pasted a javascript code.

If I so much as mention the word 'script' anywhere in the main index template, it won't rebuild.

huh.gif??
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.