Re: Re: Liveuser questions

From: Date: Mon, 29 Aug 2005 12:36:09 +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-20624@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; }
sounds like a good idea for now
2) I found out I did not have the MDB2 postgres driver installed - this mechanism of installable drivers is not used in (M)DB, but was easy to overcome :-)
yeah .. well I have been pondering adding an optional dep inside MDB2 for all the drivers, but I have refrained from it, since this would lead to a circular dependency, which I consider to be an ugly thing.
I did get a few notices: Notice: Only variable references should be returned by reference in /usr/local/share/php/pear/MDB2/Driver/pgsql.php on line 586
yes .. those are fixed in CVS.
Also, the schema installation only works if you previously create the target schema: CREATE SCHEMA liveuser; MDB2 does not do it for you.
yeah .. MDB2 does not support schemas.
I don't know if the actual permission queries will work too, but I'm pretty confident they will.
yeah I am quite hopeful as well, though the code used is fairly independent of the installer .. but they both use the same configurations .. regards, Lukas

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