RE: [PEAR] Database connection problem

From: Date: Thu, 19 Dec 2002 11:26:58 +0000
Subject: RE: [PEAR] Database connection problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3047@lists.php.net to get a copy of this message
> -----Original Message----- > From: Mike Carter [mailto:mike.carter@koa.uk.com] > > The above all works fine - but if we then call the business > logic method from another class (which just happens to be a > SOAP server web method) the problem of the DataObject not > having the DSN (which I guess means it has lost the access to > the $options array?) occurs. Okay, as a follow up - seems that the problem was because my code to load the database .ini file was not having the full path given to the parse_ini_file() :-D However all is not jolly, now there's another odd error (var_dump below) object(soap_fault)(7) { ["error_message_prefix"]=> string(3) "PHP" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> string(15) "SOAP-ENV:Server" ["message"]=> string(23) "Undefined index: debug" ["userinfo"]=> string(68) "Errno: 8 Filename: /usr/local/lib/php/DB/DataObject.php Lineno: 1602" ["callback"]=> NULL } The method calling the DataObject is being accessed via SOAP (hence the SOAP_Fault object above). Anybody know what the thing is referring to with "Undefined index: debug" - "Errno: 8 Filename: /usr/local/lib/php/DB/DataObject.php Lineno: 1602" ? Where/who is generating this message? Thanks in advance, Mike C.

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