Well, I just installed it...
You use a function that does not exist: htmlstrip. If I'm not mistaken, it was this:
PHP Code:
function htmlstrip($str) {
return htmlspecialchars(htmlspecialchars_decode($str));
}
You're missing a column in the messages table called subject.