Re: PEAR::Auth ???
| From: | Markus Wolff | Date: | Wed, 25 Dec 2002 15:49:27 +0000 |
| Subject: | Re: PEAR::Auth ??? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3073@lists.php.net to get a copy of this message | ||
On Wed, 25 Dec 2002 16:14:09 +0100
"Ferhat BINGOL" <ferhat@ventusvigor.com> wrote:
> My problem is about PEAR::Auth system. I am so new that PEAR idea and I do
> not know what I am doing wrong....
[...]
> 4) Than I use the code below
>
> require_once "Auth/Auth.php";
[...]
> 1) in first screen I got the usr name and password boxes and than I got this
> message
> Fatal error: Undefined class name 'db' in
> H:\php\includes\Auth\Container\DB.php on line 133
>
> Does anyone know what the problem is?
Try adding this line at the top of your script:
require_once("DB.php");
If that doesn´t solve your problem, look if the DB package is located
within you include_path (where all the other PEAR stuff should be as
well).
Your problem is not with PEAR::Auth, it´s simply the DB package that
can´t be found.
Regards,
Markus
--
Markus Wolff <wolff@21st.de>