the only thing i can think of is that you are running php that hasnt got the required extension or are running an older php version.
what version are you running (php)?
ive had a look at the code and must say that this is beyond me, ill try and get someone who probably can help