Blog

  • MovableType rebuild weirdness and blog updates

    I’ve mentioned that there are some problems with this blog in the past. I wasn’t able to fix the problem when users post comments though but I fixed some discomfort on my side.

    I often wondered why rebuilding the monhly archive was done in 100-entries-steps altough I had set the setting

    EntriesPerRebuild 10

    I somehow came across this topic in the MovableType Community Forums which suggests to modify some multiplicators in one of MovableType’s core files.

    I dug a bit into that and investigated the file lib/MT/App/CMS.pm myself. And there, around line 3495 I found following block, just above the _start_rebuildpages function definition:

    my %Limit_Multipliers = (
        Individual => 1,
        Daily => 2,
        Weekly => 5,
        Monthly => 10,
        Dynamic => 5,
    );

    Obviously these are multiplicators to the EnriesPerRebuild setting but I have no idea why this behaviour is neither configurable via the standard configuration options nor why this is not documented anywhere.

    I changed down all of those settings to 1 and now a full site rebuild runs through without any HTTP 500 error, altough the rebuild-status window refreshes much more often now. The commenting error still persists… sigh

    Have also been playing around a bit with another visitor statistics tool to get somehow rid of the LevelTen Hit Counter which has served quite well until now but still has a few annoyances. For example it regulary wants to contact it’s producers homepage for "updates". Besides the privacy issue with this it just doesn’t work on on all of my computers/browsers except one. And it refuses to work until it is up-to-date again. With the help of the Web Traffic Analysis Index of AdvanceScripts Script Resource Directory I found the phpMyVisites PHP package. It showed a nice layout and almost the same functionality as the LevelTen Hitcounter and so I decided to give it a try.

    Currently both hitcounters are running side-by-side so that I can compare them better but I’m looking forward dropping the old one in the not so far future.

  • Titanic: Two The Surface

    While surfing around the net I stumbled across a trailer to Titanic: Two The Surface. It’s a very well done parody of a new fictional movie featuring Leonardo DiCaprio.

    Really impressive. It’s one of the best non-commercial movies of such quality I’ve seen so far. Non-commercial in the way that it doesn’t want me to go to the cinema and spend money or buy something.

  • Blog update problems

    I’ve been having problems with posting and updating entries on this blog for quite some time now. Eventually I found out that I can work around posting problems when I did an index-rebuild after posting an entry. This didn’t solve the underlying problem but since I thought that only I as poster was faced with problems I didn’t investigate further in this issue.

    Well, my thought was wrong and readers are too faced with this problem. More precisely readers are running into errors when they try to post comments or trackbacks.

    So I dug a bit deeper into the problem and found out that the server stops the MovableType process because it’s taking too long to rebuild the pages after a new post, comment or trackback has been published. It’s being written to the database but the update of the webpage just takes too long to complete.

    Even further down the ultimate cause seems to lie in the feature of my category archives which contain all posts in that category since the start of my blog.

    I’ll try to find an alternate solution for these archives to get rid of the problems. Expect weird behaviour for them in the meantime!