Is this a bug in the new PEAR?

From: Date: Fri, 22 Feb 2008 20:06:12 +0000
Subject: Is this a bug in the new PEAR?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28557@lists.php.net to get a copy of this message
Hello! I am trying to write a pear installer-based plugin system, similar to example in Greg Beaver's book (MyBlog example) I came across the strange behaviour when calling getChannel() method of PEAR registry class Can someone try this code and tell me if this is a bug or am I just using it wrong ? I just want to know if maybe there is a problem on my server, so just need someone to duplicate this bug (or not) This is the code (very simple test) <?php require_once 'PEAR/Config.php'; $config = PEAR_Config::singleton(); $reg = $config->getRegistry(); // $config is PEAR_Config object $chan = $reg->getChannel('pear.php.net'); // always returns error object listing every possible error print_r($chan); ?> For me it's always returns pear error object listing every possible error - notice I even use the pear.php.net channel just to be sure that this is not a problem with channel.xml (I trust that channel.xml on pear site is correct) But this error object also lists many elements of the chanel.xml file that are correct. -- Open Source ALL content management with streaming video http://wiki.sharedlog.com

« previous php.pear.general (#28557) next »