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-25 04:07 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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 48 - 1 = ?

 
 [2011-01-25 04: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 15: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)