FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18329&edit=1

ID: 18329
Comment by: normelton
Reported By: normelton at gmail dot com
Summary: Fatal error in HTTPRequest.php
Status: Analyzed
Type: Bug
Package: XML_RPC2
Operating System: Centos 5.5
Package Version: 1.0.8
PHP Version: 5.3.5
Assigned To: sergiosgc
New Comment:

Has there been any progress here? I realize just saying "me too" doesn't
do much good, but I'd love to see 1.0.9 released with this fix.

Thanks

Norman


Previous Comments:
------------------------------------------------------------------------

[2011-03-26 20:43:37] till

<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Analyzed</span>
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: sergiosgc</span>
</div>Hey Sergio,

can you take care of this? Libor gave you the solution and the fix seems
trivial.

Cheers,
Till

------------------------------------------------------------------------

[2011-03-03 07:53:23] libor

file /XML/RPC2/Util/HTTPRequest.php
line 235
if ($result->getStatus() != 200) throw new
XML_RPC2_ReceivedInvalidStatusCodeException('Received non-200 HTTP Code:
' . $request->getStatus() . '. Response body:' . $result->getBody());

Object $request is from HTTP_Request2 class, but in this class is no
getStatus() method.
I think in line 235 should be variable $result instead of variable
$request

------------------------------------------------------------------------

[2011-03-02 19:13:14] remicollet

With HTTP_Request2 0.6.0 installed :
101 PASSED TESTS
7 SKIPPED TESTS

------------------------------------------------------------------------

[2011-03-02 19:08:27] remicollet

Test suite fails because of this.
71 PASSED TESTS
7 SKIPPED TESTS
30 FAILED TESTS
All with "Warning: require_once(HTTP/Request2.php): failed to open
stream: No such file or directory... XML/RPC2/Util/HTTPRequest.php on
line 45..."

According to changelog curl extension is replace by HTTP_REQUEST2 in
version 1.1, not in 1.0.

I don't find SVN for 1.0 branch (only trunk which is, I think 1.1),
branches folder on subversion is empty.
http://svn.php.net/viewvc/pear/packages/XML_RPC2/branches/

It seems both 1.1.0beta and 1.0.8 were taged from trunk ?
Could you please explain ?

------------------------------------------------------------------------

[2011-03-02 18:43:29] numberxii

We encountered the same problem on Ubuntu 10.04, PHP 5.2.

HTTP_Request2 2.0.0beta1 beta
Net_URL2 0.3.1 beta
XML_RPC2 1.0.8 stable

Regards

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=18329

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 26, '11 at 3:27p
activeApr 26, '11 at 3:27p
posts1
users1
websitepear.php.net

1 user in discussion

Normelton: 1 post

People

Translate

site design / logo © 2022 Grokbase