RE: [PEAR] PEAR DB error reporting.

From: Date: Fri, 09 May 2003 06:21:12 +0000
Subject: RE: [PEAR] PEAR DB error reporting.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5277@lists.php.net to get a copy of this message
> From: Juan Jose Natera Abreu [mailto:juanjose@lunarpages.com] > Sent: Thursday, May 08, 2003 7:54 PM > I am using the PEAR version that comes with PHP4.3.1 (compiled from > sources), > with PostgreSQL version: 7.2.3. > > Some of the error messages I get with PEAR DB are not very helpful, I get > things like "DB Error: unknown error", I can read the actual error at the > PG > log, but I am printing the error message por a reason. > > I guess this is a known limitation, any plans of removing it anytime > soon? You can get more detailed messages by also using the getUserInfo() method on the error object. Regards, Lukas

« previous php.pear.general (#5277) next »