DB_DataObject::factory
| From: | Diana Cherubin | Date: | Tue, 05 Oct 2004 05:18:07 +0000 |
| Subject: | DB_DataObject::factory | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14757@lists.php.net to get a copy of this message | ||
Hi there,
I'm hoping someone can help me with the following issue.
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.
code:
// Start a new instance of the DB_DataObject for the copy_cat table
$copy_cat = DB_DataObject::factory(copy_cat');
// Find the results
$count = $copy_cat->find(true);
LIVE
php version 4.3.8
linux 2.6.6
apache 2.0.49
mysql 3.23.58
DEVELOPMENT
php version 4.3.8
linux 2.6.7
apache 2.0.50
mysql 3.23.58
Thanks in advance
Diana