PEAR DB Error??

From: Date: Tue, 22 Jul 2003 16:44:49 +0000
Subject: PEAR DB Error??
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6716@lists.php.net to get a copy of this message
Does anyone have some insight into what causes this warning? I've included the code from PEAR/DB.php w/ line numbers below. cheers Graham error number: 2 (E_WARNING) error message: Failed opening 'DB/3.php' for inclusion
in file:                /usr/share/pear/DB.php
line num:               278
line in PEAR/DB.php
264 >       function &connect($dsn, $options = false)
            {
                if (is_array($dsn)) {
                    $dsninfo = $dsn;
                } else {
                  $dsninfo = DB::parseDSN($dsn);
270 >           }
                $type = $dsninfo["phptype"];
                if (is_array($options) && isset($options["debug"]) &&
                  $options["debug"] >= 2) {
275 >               // expose php errors with sufficient debug level
                  include_once "DB/${type}.php";
                } else {
278 >             @include_once "DB/${type}.php";
                }
Graham Clarke GrahamC@53Tech.com www.53Tech.com 603.643.9955

« previous php.pear.general (#6716) next »