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

Bug #13934 Problem with MDB2 and getListOf()
Submitted: 2008-05-18 22:23 UTC
From: nahuel Assigned:
Status: Open Package: DB_DataObject (version 1.8.8)
PHP Version: 5.2.0 OS: Linux
Roadmaps: (Not assigned)    
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 : 45 - 2 = ?

 
 [2008-05-18 22:23 UTC] nahuel (Nahuel Angelinetti)
Description: ------------ I tryied to reload the configuration, with ->databaseStructure() and an error was expected. I use MDB2. Test script: --------------- $db->databaseStructure("mysql://user:pass@localhost/database"); Actual result: -------------- Fatal error: Call to undefined function: MDB2_Driver_mysql::getListOf(). in /usr/share/php/MDB2.php on line 1936

Comments

 [2008-05-19 11:34 UTC] doconnor (Daniel O'Connor)
I don't suppose you've tried with MDB2 / DB_DataObject from CVS? Or using loadModule('Manager', null, true); at some point on your MDB2 object?
 [2008-05-19 17:37 UTC] nahuel (Nahuel Angelinetti)
I do not use the last cvs version... I use the last stable version. I just want to reload the configuration, to have new tables created, have you another method ?
 [2008-05-19 21:24 UTC] nahuel (Nahuel Angelinetti)
I tested the latest, and it seems it works better, but I have a problem with reloading it say this : "ERROR : insert:No table definition for mytable"
 [2008-05-19 21:25 UTC] nahuel (Nahuel Angelinetti)
Scuse it does not work better when I use ->databaseStructure() with mdb2, still the same error : Fatal error: Call to undefined function: MDB2_Driver_mysql::getListOf(). in /usr/share/php/MDB2.php on line 1979
 [2008-05-19 22:22 UTC] nahuel (Nahuel Angelinetti)
approximatly at line 1760 : if ( empty($_DB_DATAOBJECT['INI'][$this->_database][$this->__table]) && !empty($_DB_DATAOBJECT['CONFIG']['proxy']) ) { should be commented to force the reload of table structure...
 [2008-09-17 23:33 UTC] alan_k (Alan Knowles)
Need to have a look at this..