RE: [PEAR] Problem with PEAR::MDB
| From: | Lukas Smith | Date: | Fri, 20 Jun 2003 13:52:10 +0000 |
| Subject: | RE: [PEAR] Problem with PEAR::MDB | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6155@lists.php.net to get a copy of this message | ||
> From: Xavier Sosnowska [mailto:xso@ifrance.com]
> Sent: Friday, June 20, 2003 3:47 PM
> To: pear-general@lists.php.net
> Subject: RE: [PEAR] Problem with PEAR::MDB
>
> Terribly sorry to bother you again but in order to test the Manager, I
> tried to create the table in PostgresSQL (it was successful in MySQL).
I
> As the username and password are the same for both my test databases,
I
> thought that simply changing from mysql to pgsql in the $dsn would
have
> been enough. Unfortunately, it throws the following error:
> Fatal error: Call to undefined function: debug() in
> /home/kobzar/phpext/PEAR/MDB/Manager.php on line 633
>
> The XML is the same and the PHP file is the same, except that $dsn now
> begins with $dsn = 'pgsql://
I assume that you have a problem with your pgsql setup, which means that
the connect to the database doesnt work. Please ensure that you don't
get an error returned when you do Manager->connect();
Regards,
Lukas