Red Hat Bugzilla – Bug 186140
XML_RPC server does not work
Last modified: 2007-11-30 17:11:27 EST
Description of problem:
The XLM_RPC PEAR package shipped by FC5 does not work with the version of PHP
shipped due to some header problems. XML_RPC 1.4.5 was released in PEAR to fix
this problem (see changelog at http://pear.php.net/package/XML_RPC/download/). A
manual upgrade fixes this problem.
Version-Release number of selected component (if applicable): php-pear-1.4.6-2
How reproducible: always
Steps to Reproduce:
1. Try sample scripts from XML_RPC documentation
<b>Warning</b>: Header may not contain more than a single header, new line
detected. in <b>/usr/share/pear/XML/RPC/Server.php</b> on line <b>394</b><br />
<?xml version="1.0" encoding="UTF-8"?>
XML error: Invalid document end at line 2
Fault Code: 2
Fault Reason: Invalid return payload: enable debugging to examine incoming payload
8 times 2 is 16
Thanks for the report; the update to 1.4.5 is on its way.
php-pear-1.4.6-2.1 has been pushed for FC5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
Incredible response time. Thanks! Fix confirmed.