Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.0

Bug #1405 Could not access DB class in DB\mysql.php
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)    

 [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.


 [2004-05-14 12:57 UTC] danielc
The only file you're supposed to require is DB.php. Please read the manual.