default userpic

weird corruption on main index page

Vote 0 Votes

Hello,

I have a very simple blog that I use to host family updates and photos. It does not take comments, trackbacks, etc. I'm using MT 4.32.

When I publish, all is fine, but now, after a period of time, a few hours to a few days, the main index file, index.html gets regenerated and the new one is malformed. In particular, the links to my archives are missing, and the pictures of recent assets is messed up.

I can go in and "rebuild" just the index, and its fine again.

I can tell with "ls -l" when the index.hml file was overwritten (usualy between midnight and 6am) but in the MT logs there is nothing in that time. In fact, I can't even find anything in the server access logs at those specifc times. I have no cron jobs, either.

I understand that templates that display trackbacks or whatever can cause the index to be regenerated when there's a new ping, but I have no such templates, have trackbacks and comments disabled.

What else causes index.html to get re-generated? Also, why is it getting corrupted when this happens?

One final note: I don't think I saw this behavior prior to 4.3x.

Any hints? I'm growing quite tired of getting calls from my parents saying the blog is broken?!

Regards,
Dave J

Reported on Movable Type 4.3

1 Reply

| Add a Reply
  • Hi Dave,

    That sounds like UFO :)

    What I would recommend you is this:

    1) when it occurs the next time look go into "view source" mode;

    2) copy and paste that coding inside notepad and save it as .html;

    3) look if it links to any CSS file and save that as well;

    4) then regenerate your index(es) to fix the problem;

    5) repeat the steps 1), 2) and 3) above for the good files;

    6) last, but not least, compare the results (good vs. bad).

    I would also guess that you don't have any other index templates that could overwrite your "good design".

    You could easily see that by rebuilding "all indexes" and see if the result is good or not.

    Kind Regards,
    Mihai Bocsaru

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1773 6162

Last Topic: Excluding categories from blog by kholechek on Feb 9, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1429 5077

Last Topic: What apocalypse hit this community in the middle of 2011? by 75th on Feb 10, 2012

695 2910

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 567

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012