Re: [phpxmlrpc] Re: Bug in XML-RPC for PHP

2001-12-31 Thread Stephan Schmidt

Hi all,

> 1. you've verified all server functions with introspect.php
> i.e as an example of what you are trying to do
Of course I did. The method actually is working, as long as the payload
stays quite short...
 
> 2. verified your code appears to be absent of errors
> I'll bet your array or struct is mal formed
I'm sure it isn't :-) It's a simple array consisting of about 10 to 15
structs which all have the same amount of mebers.

> You'll need to send the actual php script/code to me for testing
>i.e. client and server code...
OK, I'll send it to you tomorrow.
Thanks in advance for testing the code.

BTW, I'm subscribed the XML-RPC for PHP list so you needn't send
me the mails personally.

Stephan
---
PHP Application Tools - a programmers best friend.
<[EMAIL PROTECTED]>  [--]  http://www.php-tools.de


--
For information about how to subscribe and unsubscribe from this list
visit http://xmlrpc.usefulinc.com/list.html



RE: [phpxmlrpc] Re: Bug in XML-RPC for PHP

2001-12-31 Thread Greg Robinson

Dear Stephan,

If :
1. you've verified all server functions with introspect.php
i.e as an example of what you are trying to do

2. verified your code appears to be absent of errors
I'll bet your array or struct is mal formed

You'll need to send the actual php script/code to me for testing
   i.e. client and server code...

Regards,

Greg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Edd Dumbill
Sent: Monday, December 31, 2001 3:35 AM
To: Stephan Schmidt
Cc: XML-RPC for PHP Interest List
Subject: [phpxmlrpc] Re: Bug in XML-RPC for PHP


Hi Stephan,
I'm afraid I don't have time to personally attend to everyone's troubles
with the software.  I'm copying your message to the mailing list in case
anyone there can help.
thanks, Edd.

On Sun, 2001-12-30 at 12:53, Stephan Schmidt wrote:
> Hi,
>
> I'm using your XML-RPC for PHP library to build an XML-RPC server that is
> able to give information on the status of the projects we are developing.
We
> have a simple method, that just returns an array of structs, where each
> struct contains information about one project.
> Up to today everything just worked fine. Today a added one struct to the
> array that is returned and the client returned an error message.
> I tried to find the error but I was not able to locate it. I realized that
> it seems to have something to do with the length of the payload. After
> removing ANY struct from the array, everything went well. Then I tried
> putting a realy long string in any struct and again the error occured.
>
> I've appended the dump of the payload and a print_r of the result
object...
>
> If you'd like to test the server, just drop me mail, so I'll put it online
> with this bug. For now, I just removed the authors from the last project
and
> everything works just fine :-(
>
> Hope you are able to help...
>
> Stephan
>
> ---GOT---
> HTTP/1.1 200 OK
> Date: Sun, 30 Dec 2001 12:44:25 GMT
> Server: Apache/1.3.12 (Unix)  (Red Hat/Linux) mod_ssl/2.6.6 OpenSSL/0.9.5a
> DAV/1.0.1 PHP/4.0.1pl2 mod_perl/1.24
> X-Powered-By: PHP/4.0.1pl2
> Connection: close
> Content-Type: text/xml
> Content-length: 11552
>
> 
> 
> 
> 
> 
> 
> 
> version
> 1.21
> 
> date
> 2001-11-05
> 
> authors
> 
> 0
> 
> name
> Stephan Schmidt
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> homepage
>
http://www.php-tools.de/index.php?file=patConfigurationOvervi
> ew.xml
> 
> description
> patConfiguration is an interface to access (read AND write)
> XML based configuration files via PHP. Furthermore it can convert your XML
> config files into PHP config files.
> 
> name
> patConfiguration
> 
> 
> 
> version
> 0.8
> 
> date
> 2001-11-05
> 
> authors
> 
> 0
> 
> name
> Stephan Schmidt
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 1
> 
> name
> Gerd Schaufelberger
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> homepage
>
http://www.php-tools.de/index.php?file=patDbcOverview.xml ring>
> 
> description
> patDbc is a very simple database abstraction, currently
only
> available for MySQL.
> 
> name
> patDbc
> 
> 
> 
> version
> 0.1
> 
> date
> 2001-12-31
> 
> authors
> 
> 0
> 
> name
> Stephan Schmidt
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 1
> 
> name
> Sebastian Mordziol
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> homepage
>
http://www.php-tools.de/index.php?file=patExtras.xml
> 
> 
> description
> patExtras is an add-on for some of our tools, it does not
> work as a stand-aloneproject.It provides a simple interface for
> communicating with the PHP Application Tools team.
> 
> name
> patExtras
> 
> 
> 
> version
> 0.91
> 
> date
> 2001-11-05
> 
> authors
> 
> 0
> 
> name
> Stephan Schmidt
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 1
> 
> name
> Sebastian Mordziol
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> homepage
>
http://www.php-tools.de/index.php?file=patNewsletterOverview.
> xml
> 
> description
> patNewsletter is a powerful newsletter management tool with
a
> subscription and administration interface.
> 
> name
> patNewsletter
> 
> 
> 
> version
> 1.1
> 
> date
> 2001-04-24
> 
> authors
> 
> 0
> 
> name
> Stephan Schmidt
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 1
> 
> name
> Sebastian Mordziol
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> homepage
>
http://www.php-tools.de/index.php?file=patPollsOverview.xml string>
> 
> description
> patPolls is a versatile poll managment class using the
> patTemplate class for its output, offering complete flexibility in
> design.
> 
> name
> patPolls
> 
> 
> 
> version
> 2
> 
> date
> 2001-11-05
> 
> authors
> 
> 0
> 
> name
> Sebastian Mordziol
> 
> email
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> homepage
>
http://www.php-tools.de/index.php?file=patSpiderizerOverview.
> xml
> 
> description
> patSpiderizer is a search engine manager that lets you take
> control of the search engines that visit your site.
> 
> name
> patSpiderizer
> 
> 
> 
> version
> 1
> 
> date
> 2001-06-21
> 
> authors
> 
> 0
> 
> name
> Gerd Schaufelberger
> 
> email
> [EMAIL PROTECTED]
> 

Re: [phpxmlrpc] Re: Bug in XML-RPC for PHP

2001-12-31 Thread Jeff Barr

I've seen similar errors when the strings contain certain international
characters. I have done some pretty intensive work with this
library (see http://www.syndic8.com/services.php) and it has
performed very well.

Jeff;

Edd Dumbill wrote:

>Hi Stephan,
>I'm afraid I don't have time to personally attend to everyone's troubles
>with the software.  I'm copying your message to the mailing list in case
>anyone there can help.
>thanks, Edd.
>
>On Sun, 2001-12-30 at 12:53, Stephan Schmidt wrote:
>
>>Hi,
>>
>>I'm using your XML-RPC for PHP library to build an XML-RPC server that is
>>able to give information on the status of the projects we are developing. We
>>have a simple method, that just returns an array of structs, where each
>>struct contains information about one project.
>>Up to today everything just worked fine. Today a added one struct to the
>>array that is returned and the client returned an error message.
>>I tried to find the error but I was not able to locate it. I realized that
>>it seems to have something to do with the length of the payload. After
>>removing ANY struct from the array, everything went well. Then I tried
>>putting a realy long string in any struct and again the error occured.
>>
>>I've appended the dump of the payload and a print_r of the result object...
>>
>>If you'd like to test the server, just drop me mail, so I'll put it online
>>with this bug. For now, I just removed the authors from the last project and
>>everything works just fine :-(
>>
>>Hope you are able to help...
>>
>>Stephan
>>
>>---GOT---
>>HTTP/1.1 200 OK
>>Date: Sun, 30 Dec 2001 12:44:25 GMT
>>Server: Apache/1.3.12 (Unix)  (Red Hat/Linux) mod_ssl/2.6.6 OpenSSL/0.9.5a
>>DAV/1.0.1 PHP/4.0.1pl2 mod_perl/1.24
>>X-Powered-By: PHP/4.0.1pl2
>>Connection: close
>>Content-Type: text/xml
>>Content-length: 11552
>>
>>
>>
>>
>>
>>
>>
>>
>>version
>>1.21
>>
>>date
>>2001-11-05
>>
>>authors
>>
>>0
>>
>>name
>>Stephan Schmidt
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patConfigurationOvervi
>>ew.xml
>>
>>description
>>patConfiguration is an interface to access (read AND write)
>>XML based configuration files via PHP. Furthermore it can convert your XML
>>config files into PHP config files.
>>
>>name
>>patConfiguration
>>
>>
>>
>>version
>>0.8
>>
>>date
>>2001-11-05
>>
>>authors
>>
>>0
>>
>>name
>>Stephan Schmidt
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>1
>>
>>name
>>Gerd Schaufelberger
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patDbcOverview.xml>ring>
>>
>>description
>>patDbc is a very simple database abstraction, currently only
>>available for MySQL.
>>
>>name
>>patDbc
>>
>>
>>
>>version
>>0.1
>>
>>date
>>2001-12-31
>>
>>authors
>>
>>0
>>
>>name
>>Stephan Schmidt
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>1
>>
>>name
>>Sebastian Mordziol
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patExtras.xml
>>
>>
>>description
>>patExtras is an add-on for some of our tools, it does not
>>work as a stand-aloneproject.It provides a simple interface for
>>communicating with the PHP Application Tools team.
>>
>>name
>>patExtras
>>
>>
>>
>>version
>>0.91
>>
>>date
>>2001-11-05
>>
>>authors
>>
>>0
>>
>>name
>>Stephan Schmidt
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>1
>>
>>name
>>Sebastian Mordziol
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patNewsletterOverview.
>>xml
>>
>>description
>>patNewsletter is a powerful newsletter management tool with a
>>subscription and administration interface.
>>
>>name
>>patNewsletter
>>
>>
>>
>>version
>>1.1
>>
>>date
>>2001-04-24
>>
>>authors
>>
>>0
>>
>>name
>>Stephan Schmidt
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>1
>>
>>name
>>Sebastian Mordziol
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patPollsOverview.xml>string>
>>
>>description
>>patPolls is a versatile poll managment class using the
>>patTemplate class for its output, offering complete flexibility in
>>design.
>>
>>name
>>patPolls
>>
>>
>>
>>version
>>2
>>
>>date
>>2001-11-05
>>
>>authors
>>
>>0
>>
>>name
>>Sebastian Mordziol
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patSpiderizerOverview.
>>xml
>>
>>description
>>patSpiderizer is a search engine manager that lets you take
>>control of the search engines that visit your site.
>>
>>name
>>patSpiderizer
>>
>>
>>
>>version
>>1
>>
>>date
>>2001-06-21
>>
>>authors
>>
>>0
>>
>>name
>>Gerd Schaufelberger
>>
>>email
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>
>>homepage
>>http://www.php-tools.de/index.php?file=patSysinfoOverview.xml
>>
>>
>>description
>>patSysinfo is a class to retrieve lots of information about
>>your server's system status.
>>
>>name
>>patSysinfo
>>
>>
>>
>>version
>>2.4
>>
>>date
>>2001-11-05
>>
>>authors
>>
>>0
>>
>>name
>>Stephan Schmidt
>>
>>email
>>[EMAIL PROTEC