RE: [PEAR] Using DataObjects DB Error: Not Found
| From: | Mike Carter | Date: | Mon, 20 Jan 2003 16:40:43 +0000 |
| Subject: | RE: [PEAR] Using DataObjects DB Error: Not Found | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-3366@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Hooimeijer, Martijn [mailto:Martijn.Hooimeijer@logicacmg.com]
>
> 6 months ago I had generated and used DataObjects
> succesfully. I recently updated my Pear system (PEAR it self,
> and the DB DataObjects functionality. The DB package already
> was the latest version).
>
> I could generate the DataObjects, but using them generated errors:
>
> DataObject.php: line 977; Undefined index: table_tablename
> DataObject.php: line 981; Undefined index: database
> DB.php: 260 Failed Opening 'DB/.php' for inclusion.
>
> The output from the DataObject generated: DB Error: not found.
>
> BTW. I did not change the DataObjects.
Wow I got the very same error messages, but only when I was calling the
dataobjects from a certain level of nested methods within classes. I got
sick or trying to debug the system which also had a SOAP connection between
the two halves.
I ended up losing patience and opting to use Metastorage system instead.
Thought I'd post to say that I have too experience the problem though ;-)
Regards,
Mike C
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________