Bug #61380 [Opn->Fbk]: XMLRPC Return Data Failure
Edit report at https://bugs.php.net/bug.php?id=61380&edit=1
ID: 61380
Updated by: aharvey@php.net
Reported by: thephpguru at hotmail dot com
Summary: XMLRPC Return Data Failure
-Status: Open
+Status: Feedback
Type: Bug
Package: XMLRPC-EPI related
Operating System: Fedora 13
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
I saw that. A (much) shorter, standalone reproduction script is required.
Previous Comments:
------------------------------------------------------------------------
[2012-03-14 01:44:21] thephpguru at hotmail dot com
A sample code is:
http://freshsoftware.dyndns.info/usps/usps_xml_carrier_pickup_live.phps
------------------------------------------------------------------------
[2012-03-14 01:23:16] aharvey@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2012-03-14 01:12:16] thephpguru at hotmail dot com
My php.ini file can be found at:
http://freshsoftware.dyndns.info/scripts_for_sale/usps/php.ini
------------------------------------------------------------------------
[2012-03-14 00:36:05] thephpguru at hotmail dot com
Description:
------------
Hello I am writing because I have a script that uses the XMLRPC functions. I have used the same
scripts for about 3 years now with no problems. One example of the script in question can be found
at:
http://freshsoftware.dyndns.info/scripts_for_sale/usps/usps_xml_carrier_pickup_live.phps
The application that runs this script can be found at:
http://freshsoftware.dyndns.info/scripts_for_sale/usps/carrier_pickup_1.php?item_num=USPS-1565986&t=computer_software&software_title=php_usps_xml_carrier_pickup
The problem with this script is that the delivery confirmation number BLAH collected from the
function "CharacterDataHandler" and other $data is not being returned by the XML PARSE
function or the data is broken up into different parts. For example read the confirmation number in
the first set of lines then read the comfirmation number in the second set of lines.
There are several other scripts on that site that also use the same XMLRPC functions and are failing
in one way or another. I have used these scripts for about 3 years with out making changes. I had no
problems with PHP-5.2.3 and earlier versions.
I tried to install PHP-5.4.0 and the MAKE process failed. I then install PHP-5.3.10 but the XMLRPC
functions all fail.
A copy of the server Make Test is:
http://freshsoftware.dyndns.info/scripts_for_sale/usps/make_test.txt
Notice that there are 2 XML related bugs at the end of the report. I removed --enable-debug from my
CONFIG but that does not solve the problem. Please help. My current config can be found at:
http://freshsoftware.dyndns.info/php/
Please read the attached MAKE TEST file.
Eric Williams
Expected result:
----------------
Unbroken data.
Actual result:
--------------
Data that is broken into different parts.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61380&edit=1
Thread (9 messages)