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