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

Bug #16469 PEAR_Config::getRemote() does not exists.
Submitted: 2009-07-24 21:40 UTC
From: cwiedmann Assigned:
Status: Open Package: PEAR_Info (version 1.9.2)
PHP Version: 5.3.0 OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2009-07-24 21:40 UTC] cwiedmann (Carsten Wiedmann)
Description: ------------ Hello, as of PEAR 1.8.0 PEAR_Config::getRemote() does not exists anymore. (I'm using PEAR 1.8.1) This methode is called, if you want display packages from all channels. (the vaulting channel is '__uri'). Regards, Carsten BTW: In the manual at the example for constructor PEAR_Info::PEAR_Info, it thould be "pecl.php.net" and not "pecl.php_net". Test script: --------------- <?php require_once 'PEAR/Info.php'; //$info = new PEAR_Info('', '', '', array( // 'channels' => array( // 'pear.php.net', // '__uri', // 'pecl.php.net', // ) //)); $info = new PEAR_Info('', '', '', array('channels' => array())); $info->display(); ?> Expected result: ---------------- Should see the PEAR_Info page. Actual result: -------------- Fatal error: Call to undefined method PEAR_Config::getRemote() in \php\PEAR\PEAR\Info.php on line 547

Comments