Home » Web Services » XML_RPC » Bug #8557
Wrong include path in Server.php
Details
| Submitted | 2006-08-25 14:30 UTC |
|---|---|
| From | heiko dot hund at schlund dot de |
| Assigned | danielc |
| Status | Bogus |
| Package | XML_RPC |
| PHP Version | 4.4.2 |
| OS | Linux 2.6.16 i386 |
| Roadmaps | (Not assigned) |
Comments
[2006-08-25 14:30 UTC] heiko dot hund at schlund dot de
Description:
------------
I think the include path for RPC.php in Server.php is
wrong. Had problems with the server I wrote. It didn't
find the defines from RPC.php. After removing 'XML/' from
the path it worked like a charm.
I had renamed the XML_RPC-1.5.0/ directory to lib/ and was
running my server script in lib, too.
Test script:
---------------
--- XML_RPC-1.5.0/Server.php 2006-07-12 02:09:14.000000000 +0200
+++ XML_RPC-1.5.0.mod/Server.php 2006-08-25 16:24:57.000000000 +0200
@@ -40,7 +40,7 @@
/**
* Pull in the XML_RPC class
*/
-require_once 'XML/RPC.php';
+require_once 'RPC.php';
/**
[2006-08-28 05:57 UTC] heiko dot hund at schlund dot de
How? Is it mandatory to install into a subdir XML?
[2006-08-28 09:09 UTC] heiko dot hund at schlund dot de
Nevermind. I should have RTFM first. Sorry for bothering.