Re: DataObject - DB Error : not found
| From: | Tomas V.V.Cox | Date: | Wed, 17 Jul 2002 16:52:01 +0000 |
| Subject: | Re: DataObject - DB Error : not found | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1914@lists.php.net to get a copy of this message | ||
William wrote:
>
> Hi,
>
> I follow the manual on the pear.php.net and runs these
>
> <?php
> require_once('Person.php');
>
> $person = new DataObjects_Person;
> $person->get(1);
> print_r($person);
> ?>
>
> I only have 'DB Error : not found' printed on the paper. What's the meaning
> of it?
It means that PEAR DB is not able to find the required files (for
example the DB/mysql.php file). Be sure to have in your include_path the
pear base directory (at least where you installed PEAR DB) and the right
perms over the files.
Tomas V.V.Cox