PEAR::DB not found?
| From: | Cesare D'Amico | Date: | Mon, 16 Feb 2004 09:54:05 +0000 |
| Subject: | PEAR::DB not found? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10711@lists.php.net to get a copy of this message | ||
Hi all, I'm experiencing a strange problem with pear::db (and only that,
since quickform, mail, mail_mime are working well).
DB is version 1.6.0RC6 (upgraded this morning with pear upgrade), php is
version 4.3.3 (debian package).
Here is the problem:
$ php -r 'require("DB.php");var_dump(get_declared_classes());'
Output:
array(3) {
[0]=>
string(8) "stdClass"
[1]=>
string(22) "__PHP_Incomplete_Class"
[2]=>
string(9) "Directory"
}
If I try the same with another pear class (say, System) I get:
array(7) {
[0]=>
string(8) "stdClass"
[1]=>
string(22) "__PHP_Incomplete_Class"
[2]=>
string(9) "Directory"
[3]=>
string(6) "system"
[4]=>
string(4) "pear"
[5]=>
string(10) "pear_error"
[6]=>
string(14) "console_getopt"
}
I don't get any notice although I have error_reporting(E_ALL) at the
beginning of the file. include_path is correct. Filesystem permissions
are correct.
Any idea?
Ciao
ce
--
Cesare D'Amico - boss (@t) cesaredamico (dot) com
http://www.cesaredamico.com ~ http://www.phpday.it
The best way to accelerate a Windows machine is at 9.81 m/s^2