[Pdns-users] PowerAdmin and PHP5 fixed

Steinar Seljevold stonehead at bluezone.no
Thu Sep 21 21:38:39 UTC 2006


Hi,

After trying google for a fix for poweradmin and php5 I did som 
experimenting, and found a solution.

inc/dal.inc.php is an old version of DB.php from the PEAR::DB package.

Replacing it with the updated DB.php fixed the errors about "Call to 
undefined method DB_result::getCode()".
Get DB.php from url below, call it dal.inc.php and put it in the inc/ 
directory.

http://pear.php.net/package/DB/ or http://pear.php.net/get/DB-1.7.6.tgz

Thought it would be a good idea to share it, since others also have this 
problem.

Steinar Seljevold


More information about the Pdns-users mailing list