RE: [PEAR] DB_DataObject::factory
| From: | Diana Cherubin | Date: | Tue, 05 Oct 2004 06:38:39 +0000 |
| Subject: | RE: [PEAR] DB_DataObject::factory | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14760@lists.php.net to get a copy of this message | ||
actually this did work... i placed the code in the wrong place.
thanks so much for your help
-----Original Message-----
From: Norbert Mocsnik [mailto:pear-general@mocsnik.hu]
Sent: Tuesday, 5 October 2004 4:30 PM
To: pear-general@mocsnik.hu; pear-general@lists.php.net; Diana Cherubin
Subject: Re: [PEAR] DB_DataObject::factory
Hi,
Diana Cherubin wrote:
> I am using the DB_DataObject::factory & the 'find' function to retrieve details
> from the database. This all works fine on development environment but on the Live environment is
> causing a "The page cannot be displayed" error. I have tried to go through all the
> functions to attempt to work out what is going on but am at a lose.
See the warning on the top of the first page of the DBDO manual.
http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.php
define('DB_DATAOBJECT_NO_OVERLOAD', true);
--
Regards,
Norbert Mocsnik
http://norbert.mocsnik.hu/