Re: Re: Liveuser questions

From: Date: Mon, 29 Aug 2005 12:31:04 +0000
Subject: Re: Re: Liveuser questions
References: 1 2 3 4 5 6 7  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20623@lists.php.net to get a copy of this message
Jeroen Houben wrote:
1) I could not get any proper error infom the var_dump() just returned false. After I realised PEAR::ErrorStack was used, I created a small function that dumps the error, maybe you can include it in the install.php script.. function handleError($err) { var_dump($err); return PEAR_ERRORSTACK_PUSH; } And added a line to attach the callback:
PEAR_ErrorStack::setDefaultCallback('handleError'); There's probably more elegant ways of doing this but I've never worked with ErrorStack before..

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