Page 1 of 1

invalid response serendipity_event_xmlrpc v1.20

Posted: Sat Apr 01, 2006 2:22 pm
by Raymond
When using ecto to post to Serendipity using serendipity_event_xmlrpc v1.20 I got the following error message while logging on:
response contains struct value where array expected [response]
This happens when ecto calls the method blogger.getUsersBlogs

To solve it I commented out line 87 in serendipity_xmlrpc.inc.php v1.10:

Code: Select all

*snip*
86. $blogs = new XML_RPC_Value(array($blog1), 'array');
87. //$blogs = $blog1;
88. $r = new XML_RPC_Response($blogs);
89. return($r);
*snap*
This seems to have solved the problem for now...

Re: invalid response serendipity_event_xmlrpc v1.20

Posted: Sat Apr 01, 2006 9:07 pm
by garvinhicking
Hi!

Yes, this fix is required. Sadly developer CVS is down right now, so I cannot commit the fix which is pending since 3 days. :((

Regards,
Garvin