php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56123 pear (CLI) broken
Submitted: 2004-07-07 15:20 UTC Modified: 2004-07-08 11:11 UTC
From: sean at caedmon dot net Assigned: danielc (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: 4.3.4 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sean at caedmon dot net
New email:
PHP Version: OS:

 

 [2004-07-07 15:20 UTC] sean at caedmon dot net
Description:
------------
pear (CLI) is currently broken for me.

I get this:
sean@mikado:~$ pear install HTTP_Client
no signature found for package.info(string,string,bool)

After a little more investigating (and checking with other people via IRC), I found:
(-vv)

<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /usr/local/www/pearweb/include/pear-format-xmlrpc.php:65) in <b>/usr/local/www/pearweb/public_html/xmlrpc.php</b> on line <b>137</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /usr/local/www/pearweb/include/pear-format-xmlrpc.php:65) in <b>/usr/local/www/pearweb/public_html/xmlrpc.php</b> on line <b>138</b><br />

Apparently this does not affect all users.

S



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-07 18:45 UTC] danielc at analysisandsolutions dot com
The headers already sent issue seems to be happening because two error handlers are being called.  report_error() in pear-format-xmlrpc.php first, then xmlrpc_error_handler() in xmlrpc.php

So, the conflict needs to be resolved.

THEN, the source of the install error needs to be found as well.
 [2004-07-08 04:36 UTC] mj@php.net
Daniel,

can you come up with a fix for that?
 [2004-07-08 04:49 UTC] mj@php.net
The installer should be working again now, but the problem with the conflicting error handlers still exists.

(The issue was related to a "stale" cache file on the web server.)
 [2004-07-08 11:11 UTC] danielc at analysisandsolutions dot com
Fixed in CVS.  Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 02 23:01:29 2024 UTC