Home » Database » DB » Bug #1405
Could not access DB class in DB\mysql.php
Details
| Submitted | 2004-05-14 04:11 UTC |
|---|---|
| From | dnj_2003 at 163 dot com |
| Assigned | danielc |
| Status | Bogus |
| Package | DB |
| PHP Version | 4.3.3 |
| OS | window2000professional |
| Roadmaps | (Not assigned) |
Comments
[2004-05-14 04:11 UTC] dnj_2003 at 163 dot com
Description:
------------
I add the following line to use DB_mysql class:
require_once "DB/mysql.php";
At first report a error that DB_common could not extend an undefined pear class.So I update the package DB with the latest version, then the error disappeared. But an error as following was reported:
Fatal error: Undefined class name 'db' in d:\php\PEAR\DB\mysql.php on line 115
so I add the following line at the head of file "mysql.php":
require_once 'DB.php';
then the error info disappears.