Re: PEAR::setErrorHandling conflicts with nextId() ?

From: Date: Fri, 31 Aug 2001 07:35:28 +0000
Subject: Re: PEAR::setErrorHandling conflicts with nextId() ?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1729@lists.php.net to get a copy of this message
On Thu, 30 Aug 2001, Tomas Von Veschler Cox wrote: > $db = DB::connect(); > $db->setErrorHandling(PEAR_ERROR_DIE); > $db->nextID('non_existant', false); > > and worked fine. But with PEAR::setErrorHandling not. I've found the > bug now. Please update again PEAR.php. Ok, now it's working if I'm using PEAR::setErrorHandling(). What doesn't mean 'invalid error callback in /usr/local/share/pear/PEAR.php on line 262'? This message appears if I use $dbh->setErrorHandling(PEAR_ERROR_CALLBACK, "db_error_handler"); -- Piotr Roszatycki, Netia Telekom S.A. .''`. mailto:Piotr_Roszatycki@netia.net.pl : :' : mailto:dexter@debian.org . ' `-

« previous php.pear.dev (#1729) next »