Re: include error
Edd Dumbill <[email protected]>
| Newsgroups | gmane.comp.php.xml-rpc |
|---|---|
| Message-ID | <1030793093.5873.1.camel@pingu> |
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:
>
> 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 hadn't
> inadvertently included it twice, leaving only a single line that included the
> xmlrpc.inc and rec'd the same error.
>
> I then changed the single line in the script that read include("xmlrpc.inc") 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 browser
> and received the same error.
>
> I then downloaded the 1.01 version and uploaded it to my server and received 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 different
> 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 find any
> include or require statements that might explain this behaviour.
>
> TIA,
>
>
> --
> jason perkins
> www.somebodydial911.com
>
> _______________________________________________
> phpxmlrpc mailing list
> [email protected]
> 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
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA9cKeErxbtsbubhxERAoacAKCSdmgxhT4sSHNjxRi9cVinPDpLXACeL8Wk L9LZ0wW5UZQacsG0x2kSpPQ= =rMu+ -----END PGP SIGNATURE-----