Help - Search - Members - Calendar
Full Version: Server Error When Using Mtarchivelist In Archive Templates
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
vitaflo
I'm getting a 500 server error when I try to rebuild my site (using MT 3.34). I've narrowed it down to the archive templates and MTArchiveList. The code that bombs is:

CODE
<MTArchiveList archive_type="Monthly">
    <option value="<$MTArchiveLink$>"><$MTArchiveTitle$></option>
</MTArchiveList>


Specifically it's MTArchiveList. What's strange is that on my index templates, this code works fine, the pages are built, the archives are linked to properly. However if I try to build my monthly or individual archives (the only two type of archives I have), I get a 500 server error. Taking out the above code makes the archives build properly, but then I have no monthly archive list on my archive pages, so I lose navigation consistancy on the site.

Anyone have any idea why this would happen? Does this call a different perl script somewhere on the archive pages I should be aware of (I had to change the path to perl on the cgi files manually, as I have no shell access to do a chmod)? I can't tail the error logs either so I can't see what the 500 error is actually puking on.

Any advice is greatly appreciated.
PRO IT Service
Hi Vitaflo,

Your problem seems to be that your server doesn't share enough resources for your archiving pages to be rebuilt.

What you can do to handle this is to create an includeable module with the code for the monthly archive list and then include it on your templates as server side includes (ssi) or php includes (in this case you will have to do some advanced configuration to your server).

In case you cannot solve this issue by yourself contact me and I will be offering one to one consultation.

You might also consider to change hosting if you are already getting this sort of problems. The monthly archive list should not use too many resources. And with the time when your blog will get bigger you may not be able to fight will all these problems.

Do a search for movabletype hosting and check also our professional MovableType hosting package: http://www.pro-it-service.com/en/movabletype_hosting.html

Happy blogging,
Mihai Bocsaru
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.