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

Bug #18219 loadModule('Manager') not working
Submitted: 2011-01-24 23:07 UTC Modified: 2011-03-06 10:55 UTC
From: dansmith65 Assigned: quipo
Status: Bogus Package: MDB2 (version 2.5.0b3)
PHP Version: 5.2.11 OS: Windows Vista
Roadmaps: 2.5.0b4    
Subscription  


 [2011-01-24 23:07 UTC] dansmith65 (Dan Smith)
Description: ------------ get this error when trying to load the Manager Module: unable to find package 'MDB2_Manager' file 'MDB2\Manager.php' Test script: --------------- <?php require_once 'MDB2.php'; $dsn = 'mysql://someuser:apasswd@somehost'; $mdb2 =& MDB2::factory($dsn); if (PEAR::isError($mdb2)) { die($mdb2->getMessage()); } // loading the Manager module $mdb2->loadModule('Manager'); if( PEAR::isError($res) ) { die($res->getMessage() . '<br />' . $res->getUserInfo()); } ?> Expected result: ---------------- nothing (no errors) Actual result: -------------- MDB2 Error: not found unable to find package 'MDB2_Manager' file 'MDB2\Manager.php'

Comments

 [2011-03-06 10:55 UTC] quipo (Lorenzo Alberton)
-Status: Open +Status: Bogus -Assigned To: +Assigned To: quipo
You are missing a driver, try installing MDB_Driver_Mysqli (or one of the other DBMS- specific drivers)