As the current maintainer of the lib,
- I can assure you that the issue with php 5.2.2 has been fixed in
phpxmlrpc 221 and 222. So it is one more reason to upgrade from 220
- I started recently the port of the lib to php5-only. The current
version works fine, but the new one will remove old cruft that has
been in there for a long time. No release date planned yet. Any
critical bugs found (quite unlikely given the lib age and maturity)
will end up in a 223 release anyway
- I cannot restrain myself from sponsoring the busage of the sister
lib phpjsorpc to implement jsonrpc-based interfaces, too (it is found
in extras package of the phpxmlrpc download area). There is even a js
version of the lib that implements the same api client-side if needed!
On 26 May, 00:32, "Hans" <
hensi...@hotmail.com> wrote:
> Hi Hannes,
>
> I examined the bug a bit and it turns out that the problem is not in the
> phpXmlRpc library but it's a bug in PHP 5.2.2 (seehttp://
bugs.php.net/bug.php?id=41293).
>
> There is a simple fix available and this fixed has already been included in
> phpXmlRpc 2.2.2 (according to bug trackerhttp://
sourceforge.net/tracker/?func=detail&aid=1720919&group_id=3445...).
>
> the fix is a simple test for the php version and filling a global variable
> which does not contain the correct data
>
> if (phpversion()=="5.2.2") {
> $GLOBALS['HTTP_RAW_POST_DATA'] = file_get_contents("php://input");
> }
>
> But the message on the frontpage of the phpXmlRpc project has been put there
> for a reason. At the moment I do not have PHP 5.2.2 available. So testing is
> difficult. But I have sent a message to the project maintainers asking them
> for clarification. As soon as I get a response I will return to this list.
>
> BTW if a new version of phpXmlRpc is published then it would be php5 only.
> I'm not sure if that is in accordance with minimum requirements for J1.6. If
> not we probably would have to stick to the current version of phpXmlRpc.
>
> Hans.
>
> --------------------------------------------------
> From: "Hannes Papenberg" <
hackwa...@googlemail.com>
> Sent: Monday, May 25, 2009 9:46 AM
> To: <
joomla-...@googlegroups.com>
> Subject: Re: Support for XMLRPC in J1.6 ?
>
>
>
> > Hi Hans,
> > looking at the sourceforge-project of phpxmlrpc, they have a bug in
> > 2.2.2 that wont make it work on PHP5.2.2. If you could contact them and
> > get a fixed version that will work in 5.2.2, make a patch and put it
> > into the feature patch tracker and I will put it into 1.6. :-)
>
> > Hannes
>
> > Hans schrieb:
> >> @Louis (and others involved in XMLRPC),
>
> >> Did you consider upgrading the phpxmlrpc library? In the trunk it is
> >> still version 2.2 from 25/02/07.
> >> At the moment the phpxmlrpc workgroup is @ 2.2.2. Indeed no big
> >> changes. Some minor optimization was done and a few bugs were handled.
> >> So it is probably save to upgrade without breaking things.
>
> >> For your convienience I hereby include the changelog since v2.2
>
> >> Hans.
>
> >> ============ phpXMLRPC changelog since 2.2.
> >> ===============================
>
> >> 2009-03-16 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>) thanks Tommaso Trani
>
> >> * move from CVS to SVN on
sf.net; file layout now is the same as in
> >> packaged lib
>
> >> * xmlrpc.inc: fix php warning when receiving 'false' in a bool value
>
> >> * Makefile, doc/Makefile: alter to follow new file layout
>
> >> * tagged and released as 2.2.2
>
> >> 2009-02-03 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * debugger/action.php: improve code robustness when parsing
> >> system.listmethods
> >> and system.describemethods call
>
> >> * xmlrpc.inc: format floating point values using the correct decimal
> >> separator
> >> even when php locale is set to one that uses comma (bug #2517579);
> >> use feof() to test if socket connections are to be closed instead of the
> >> number of bytes read (bug #2556209)
>
> >> 2008-10-29 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpcs.inc: allow add_to_map server method to add docs for single
> >> params, too
>
> >> 2008-09-20 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc_wrappers.inc: added the possibility to wrap for exposure as
> >> xmlrpc
> >> methods plain php class methods, object methods and even whole classes
>
> >> * testsuite.php, server.php: added test cases for the new code
>
> >> 2008-09-07 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>) thanks Bruno Zanetti Melotti
>
> >> * xmlrpc.inc: be more tolerant in detection of charset in http
> >> headers (fix for bug #2058158)
>
> >> 2008-04-05 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: fix encoding of UTF8 chars outside of the BMP
>
> >> * xmlrpcs.inc: fix detection of zlib.output_compression (thanks xbert)
>
> >> 2008-03-06 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * tagged and released as 2.2.1
>
> >> * Makefile: improve usage on windows xp despite cmd's broken mkdir
>
> >> 2007-10-26 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>) thanks sajo_raftman
>
> >> * xmlrpc.inc: remove one warning in xmlrpc_client creator
>
> >> 2007-10-26 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: improve support for windows cp1252 character set (still
> >> commented in the code)
>
> >> 2007-09-05 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc, xmlrps.inc: do not try to set invalid charsets as
> >> output for
> >> xml parser, even if user set them up for internal_encoding (helps
> >> encoding
> >> to exotic charsets, while decoding to UTF8)
>
> >> 2007-09-05 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: fix parsing of '1e+1' as valid float
>
> >> 2007-09-01 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>), thanks Frederic Lecointre
>
> >> * xmlrpcs.inc: allow errorlevel 3 to work when prev. error handler
> >> was a static method
>
> >> * testsuite.php: fix test on setCookie()
>
> >> 2007-08-31 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: minor fix in cookie parsing
>
> >> 2007-07-31 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: Fix usage of client::setcookie() for multiple cookies
> >> in non-ssl mode
>
> >> 2007-07-26 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>) thanks Mark Olive
>
> >> * xmlrpc.inc: Fix for bug # 1756274 (usage of cookies in ssl mode)
>
> >> 2007-04-28 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: give more detailed curl information when DEBUG = 2; fix
> >> handling
> >> of case where curl w. keepalive is used and one connection of many fails
>
> >> * testsuite improvements: add one testcase; give feedbcak while tests
> >> are
> >> running
>
> >> 2007-04-01 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * doc/makefile, doc/custom.fo.xsl: improve pdf rendering of php
> >> source code
>
> >> * makefile: recover version number from source instead of having it
> >> hardcoded
>
> >> 2007-03-10 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * doc/makefile, doc/convert.php, doc/*.xsl: created customizations
> >> xslt to
> >> produce a documentation more in line with the php manual, esp. with
> >> regards
> >> to functions synopsis; added jellyfish book cover as local resource and
> >> a
> >> screenshot of the debugger too; various updates to the manual source;
> >> added
> >> a php script to highlight examples inside html docs
>
> >> 2007-03-09 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * debugger/action.php: css tweak for IE
>
> >> * added phpunit license file in the phpunit directory
>
> >> * added link to license (on
sf.net site) to many files
>
> >> 2007-03-04 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * Makefile, doc/makefile: assorted improvements
>
> >> 2007-03-03 - G. Giunta (
giunta.gaet...@gmail.com
> >> <mailto:
giunta.gaet...@gmail.com>)
>
> >> * xmlrpc.inc: micro-optimization in declaration of global vars
> >> xmlrpcerr, xmlrpcstr
>
> >> *From:* Louis Landry <mailto:
louis.lan...@joomla.org>
> ...
>
> read more »