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

Bug #7575 example.php dose not work (error occured at dumpDatabase)
Submitted: 2006-05-08 07:51 UTC
From: roux at dot-wired dot org Assigned: lsmith
Status: Closed Package: MDB2 (version 2.0.1)
PHP Version: 4.4.2 OS: Windows
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 : 39 - 28 = ?

 
 [2006-05-08 07:51 UTC] roux at dot-wired dot org (Takayuki Fukuyama)
Description: ------------ example.php(included in docs/examples) dose not works well. MDB2_Schema::dumpDatabase was changed argument structure in 0.5(beta), so example code also should be changed(but I don't have any idea how to change ...) Here is the error message. -------------------------------------- Warning: array_key_exists(): The second argument should be either an array or an object in /path/to/MDB2/Schema/Writer.php on line 231 <pre><b>PEAR-Error</b><br />MDB2_Schema Error: unknown error: no output method specified ...

Comments

 [2006-05-08 08:08 UTC] lsmith (Lukas Smith)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.