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
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