[phpxmlrpc] include error

Edd Dumbill edd@usefulinc.com
31 Aug 2002 12:24:52 +0100

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

The problem is that your PHP installation has the (relatively recent) C
XML-RPC library compiled into it. See

As there appear to be namespace clashes in functions you should choose
to use either the C version or the PHP version, but you can't choose

On Sat, 2002-08-31 at 07:54, jason perkins wrote:
> I've just installed 1.02 version of the xmlrpc.inc and xmlrpcs.inc to my =
> and immediated ran into the following error when I attempted to include
> xmlrpc.inc in a script:
> Fatal error: Cannot redeclare xmlrpc_decode() in xmlrpc.inc on line 1017
> I then commented out all of the code in my script to make certain that I =
> inadvertently included it twice, leaving only a single line that included=
> xmlrpc.inc and rec'd the same error.
> I then changed the single line in the script that read include("xmlrpc.in=
c") to
> include_once("xmlrpc.inc") command and received the same error.
> I then renamed xmlrpc.inc to xmlrpc.php and attempted to load that in a b=
> and received the same error.
> I then downloaded the 1.01 version and uploaded it to my server and recei=
ved the
> same error (and repeated the other steps above to make /sure/ that it was=
> error in xmlrpc.inc and consistently rec'd the same error but with a diff=
> line number that the error was occuring at).
> At this point, I'm hesitantly confident that there is an error in xmlrpc.=
inc and
> am wondering if anyone else has encountered the same or has suggestions/a
> solution. Note: I've also searched the source of xmlrpc.inc and can't fin=
d any
> include or require statements that might explain this behaviour.=20
> TIA,
> --
> jason perkins
> www.somebodydial911.com
> _______________________________________________
> phpxmlrpc mailing list
> phpxmlrpc@usefulinc.com
> http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
Edd Dumbill ----| phone: +44 1904 427740 fax: +44 8709 909625 |-----
 | Managing Editor, XML.com, XMLhack.com  --  Chair, XML Europe 2002
 | I PGP sign my email; more info at http://heddley.com/edd/pgp.html

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v1.0.7 (GNU/Linux)