safe_mode is not On!

You may change this in the php.ini file
safe_mode = On
-or- edit KD.php and comment-off this check.