Movable Type 4

Last week Six Apart released the beta for Movable Type version 4. Until last weekend I didn’t have the time to have a look at it, but Sunday I downloaded the files and copied them to my server.

Of course things went wrong, as was to be expected with a beta release. I know that you never should install beta releases on a production environment, but I took the risk anyway as this weblog is partly a playing ground. I am a long-time Movable Type user, and suspect that my database is full of legacy data of old settings and plugins.

After copying the files, I went to the new MT Dashboard, and found out that all images had been scrambled. I suspected that my FTP application accidentally had uploaded them in ASCII mode, so copied them again in binary mode, without result. I checked the files I had downloaded from Six Apart, and yes, they were scrambled as well. So I downloaded the tar.gz file instead of the zip, uploaded the images again, and the images came up correctly.

The second problem I encountered was more serious. The dashboard showed up OK, but whenever I tried to access one of the blogs, I got an error message:

invalid permissions for author 1 at lib/MT/Author.pm line 337

This one took a little bit more to solve, but at the end I found out that newly created users don’t have this problem. After comparing all settings in the database between my old users and the new user, I found the culprit: In the table ‘mt_permission’ I found duplicate record for my user ID with permision_blog_id = 0. After removing the duplicate records, the error did not appear any more.

Now I am able to get into my blogs, and as you see, write new items. However, as soon as I publish a new entry I get another error message: Fallback Is Required At Lib/mt/util.pm Line 1331. I haven’t solved this error yet, but found out that I can simply rebuild my site to make the entry appear.

As you can see, I also changed the design of the site. I was getting fed up with the previous design, and at the same time wanted to see what new template features came with MT4, so I reset the templates to the new minimalist theme. The coming days I will be studying and tweaking this design to my own tastes, so things might change a little bit.

One thing I noticed already is that the default templates do not use the widget manager, basically because the new sidebar template module offers filtering by template type, giving the possibility to show a different sidebar on different types of pages.

Other things they copied from WordPress are Pages and a file manager (with tagging!!!).

There are still some other things to be fixed, such as activating trackbacks. In the blog’s configuration I see that this has been deactivated on a system level, which is not the case. So far I like MT4 a lot. It is fast, pleasant looking and I am happy with new features such as the file manager, entry auto-save and interactive template errors.

MT 4

They Say Men Don't Listen

Mark, a loving husband, was in trouble. He forgot his wedding anniversary and his wife was really ticked off with him. She told him, "tomorrow morning I expect to find a gift in the driveway that goes from 0 to 200 in under 6 seconds, AND IT BETTER BE THERE." The next morning, Mark got up really early before work. When his wife woke up a couple of hours later, she looked out the window, and sure enough, there was a small gift-wrapped box sitting in the middle of the driveway. Confused, the wife put on her robe, ran out to the driveway, and took the box into the house. She opened it, and found a brand new bathroom scale. Mark is not yet well enough to have visitors ...

Via Michael Sampson

Comment moderation

Though my spamfilters, SpamLookup in combination with Akismet, catch really a lot of comment- and trackback spam on this blog, there is still too much spam slipping through. Since I don’t have the time to check my site to see whether comment spam has been published, I have changed my configuration to automatically moderate comments and trackbacks on entries older than twee weeks on which no comment has been posted in the previous week.

This allows me to batch-process the moderation queue, while still making sure that comments on active threads still show up immediately.

Towel Day

Today is Towel Day!

Towel Day is celebrated every May 25 as a tribute by fans of the late author Douglas Adams. The commemoration was first held in 2001, two weeks after his death on May 11, and since then has been extended to an annual event. On this day, fans carry a towel with them throughout the day. The towel is a reference to Adams's popular science fiction comedy series The Hitchhiker's Guide to the Galaxy.

Read all abot it on the official Towel Day Site.

Towel day

Sorry for any inconvenience caused

During the last hour instead of the usual non-interesting stuff I write you saw:

tr = preg_replace("/\[_$i\]/", $params[$i-1], $str); } } return $str; } ?> return $this->error(“Tag does not exist.”); } function load_modifier($name) { $params = array(‘plugins’ => array(array(‘modifier’, $name, null, null, false))); smarty_core_load_plugins($params, $this); return true; } } ?> } ?> Warning: Cannot modify header information - headers already sent by (output started at /home/jeroens/public_html/cgi-bin/mt/php/mt.php:682) in /home/jeroens/public_html/cgi-bin/mt/php/mt.php on line 554

While some people might find this more interesting than the usual text, I was not happy with it. I just updated Movable Type to the latest version, and now my sites are dead. As usual, when you think you can quickly update software, it usually takes way more time…

After several tries, I finally found the culprit: my new FTP software tries to be ‘smart’, and figures out whether a file should be overwritten or not. After dumbing down the FTP software, all is fine again.

I don't understand PageRank

My latest weblog El Canasto is a big success, with more and more readers every day.

Every week a few other weblogs link to articles from El Canasto and therefore I expected my PageRank to increase, but to my big surprise Google decided to lower the PageRank for El Canasto last week. It went from five down to four, and I have no idea why.

Normally I wouldn’t care about it, but in this case El Canasto was about to enter in the Top 500 of Spanish weblogs, and I expected an increase of visitors when arriving to that point, but the PageRank is one of the factors used to calculate popularity. The decrease in PageRank set me back to position 650. I can only wait until I steadily grow again, or until Google makes another readjustment of the PageRank.

We depend too much on Google…

Mixing up languages

After six days of giving training in German, I am not able to speak normally any more.

What really killed me was not speaking German, but the little things I did in the breaks: talking with my colleagues (Spanish), ordering in the restaurant (Catalan), answering some e-mails (English & Dutch), reading documentation (Italian)…

To much switching languages combined with a little bit of tiredness and I start mixing up everything! This lunchtime I told the waiter that I wanted a table for drei persons. I need a rest, and fortunately for me, Lleida celebrates its Festa Major this Friday, so my week is almost finished.