invalid response serendipity_event_xmlrpc v1.20

Found a bug? Tell us!!
Post Reply
Raymond
Posts: 1
Joined: Sat Apr 01, 2006 2:10 pm
Location: The Netherlands

invalid response serendipity_event_xmlrpc v1.20

Post 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...
Raymond Elferink
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: invalid response serendipity_event_xmlrpc v1.20

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply