[phpxmlrpc] include error

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


--=-GxYxPtCvS9UkA1KAi3km
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
http://www.php.net/manual/en/ref.xmlrpc.php

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
both.

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 =
server
> and immediated ran into the following error when I attempted to include
> xmlrpc.inc in a script:
>=20
> Fatal error: Cannot redeclare xmlrpc_decode() in xmlrpc.inc on line 1017
>=20
> I then commented out all of the code in my script to make certain that I =
hadn't
> inadvertently included it twice, leaving only a single line that included=
 the
> xmlrpc.inc and rec'd the same error.
>=20
> 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.
>=20
> I then renamed xmlrpc.inc to xmlrpc.php and attempted to load that in a b=
rowser
> and received the same error.
>=20
> 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=
 an
> error in xmlrpc.inc and consistently rec'd the same error but with a diff=
erent
> line number that the error was occuring at).
>=20
> 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
>=20
> TIA,
>=20
>=20
> --
> jason perkins
> www.somebodydial911.com
>=20
> _______________________________________________
> phpxmlrpc mailing list
> phpxmlrpc@usefulinc.com
> http://lists.usefulinc.com/cgi-bin/mailman/listinfo/phpxmlrpc
--=20
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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9cKeErxbtsbubhxERAoacAKCSdmgxhT4sSHNjxRi9cVinPDpLXACeL8Wk
L9LZ0wW5UZQacsG0x2kSpPQ=
=rMu+
-----END PGP SIGNATURE-----

--=-GxYxPtCvS9UkA1KAi3km--