PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » MDB2 » Bug #7575

example.php dose not work (error occured at dumpDatabase)

Details

Submitted2006-05-08 07:51 UTC
Fromroux at dot-wired dot org
Assignedlsmith
StatusClosed
PackageMDB2
PHP Version4.4.2
OSWindows
Roadmaps(Not assigned)

Comments

[2006-05-08 07:51 UTC] roux at dot-wired dot org

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

...