rbblue8 --
Thanks for your reply. :-)
Entire DB class and PHP info are too long to post here.
But it might help to know that DB is the latest stable release 1.4.7.
The lines in question:
Around line 540:
if (!class_exists($classname)) {
$tmp = PEAR::raiseError(null, DB_ERROR_NOT_FOUND, null, null,
"Unable to include the DB/{$type}.php"
. " file for '$dsn'",
'DB_Error', true);
return $tmp;
}
and around line 868 is where DB tries to extend the PEAR class:
class DB_Error extends PEAR_Error
So I'm pretty sure the problem is not with the code but with my installation or use of PEAR.
Clearly, DB is looking for the PEAR class here, but as mentioned, when trying to explicitly include PEAR.php (which I'm not even sure I'm supposed to do) I still get the error:
Fatal error: Class db_error: Cannot inherit from undefined class pear_error in /usr/lib/php/DB.php on line 868
What lines from php info would be pertinent, so I can post just that?
Thanks again!