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 » Authentication » LiveUser » Bug #4439

Due to MDB2 BC break, installer doesn't work

Details

Submitted2005-05-26 09:16 UTC
Frompapipo at gmail dot com
StatusBogus
PackageLiveUser
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-05-26 09:16 UTC] papipo at gmail dot com

Description:
------------
With MDB2 2.0.0beta3 and 2.0.0beta4 (last version at this moment), install.php script doesn't work. It seems that Tools/Manager has been deleted or moved.

By installing MDB2 2.0.0beta2 (pear install -f MDB2-2.0.0beta2) this issue is fixed.

Reproduce code:
---------------
coco:/usr/share/php/data/LiveUser/misc/schema# php install.php

Expected result:
----------------
Debug messages<br><br>int(1)
Debug messages<br><br>int(1)

Actual result:
--------------
Fatal error: Cannot instantiate non-existent class: mdb2_tools_manager in /usr/share/php/data/LiveUser/misc/schema/install.php on line 102

[2005-05-26 11:32 UTC] smith at backendmedia dot com

From the release notes:
"- unbundled the MDB2_Tools_Manager into a separate package PEAR::MDB2_Schema"

sorry for not marking it more clearly as a BC break.

just do "pear install MDB2_Schema-beta"
also you need to change your code to use the MDB2_Schema class and MDB2/Schema.php file instead.