It seems that I have it sorted out...
I started debugging with
PHP Code:
echo "ww";
exit;
Untill I came to the mimeDecode.php file. In this file you have the line
PHP Code:
require_once 'PEAR.php';
But in my case the PEAR.php file was in the directory above it. When I changed it to:
PHP Code:
require_once '../PEAR.php';
Everything worked fine as far as I can see now.