PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB » Bug #1405

Could not access DB class in DB\mysql.php

Details

Submitted2004-05-14 04:11 UTC
Fromdnj_2003 at 163 dot com
Assigneddanielc
StatusBogus
PackageDB
PHP Version4.3.3
OSwindow2000professional
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.