Bug #1895 [Opn->Csd]: pear search <term>
| From: | pierre at dotgeek dot org | Date: | Sat, 17 Jul 2004 14:28:02 +0000 |
| Subject: | Bug #1895 [Opn->Csd]: pear search <term> | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-2804@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=1895&edit=1
ID: 1895
Updated by: pierre@dotgeek.org
Reported By: danielc at analysisandsolutions dot com
-Status: Open
+Status: Closed
Type: Bug
Package: Web Site
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: pajoye
New Comment:
Fixed. The cache was broken for an unknown reason. Did you guys change
something recently?
If you get this problem again, please reopen this bug.
--Pierre
Previous Comments:
------------------------------------------------------------------------
[2004-07-16 17:02:06] danielc at analysisandsolutions dot com
Description:
------------
Matthew Weier O'Phinney posted on pear-general, and then Norbert
Mocsnik forwarded to pear-dev the following issue.
> I get the following when I run a 'pear search xxx':
>
> Warning: Invalid argument supplied for foreach() in Remote.php on
line 263
> no packages found
Line 263 is part of the the doSearch() method in
pear/PEAR/Command/Remote.php. That line is
foreach ($available as $name => $info) {
$available comes from:
$r = new PEAR_Remote($this->config);
$available = $r->call('package.listAll', true, false);
call() then invokes XML RPC and caching, passing 'package.listAll' to a
new XML_RPC_Message object that then gets passed to
XML_RPC_Client::send().
Something along the way is returning bad info for some reason. Then
the error isn't being handled properly before being passed to the
foreach.
Both issues need addressing. I'll leave resolving these matters up to
the folks who are more familliar with the inner workings of all this.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=1895&edit=1