Fwd: FW: [dev] Re: Fwd: XML-RPC Call

tanner at younet.okstate.edu tanner at younet.okstate.edu
Thu Jun 19 15:36:11 PDT 2003


From: dev-bounces at lists.horde.org [mailto:dev-bounces at lists.horde.org]
On Behalf Of Jan Schneider
Sent: Thursday, June 19, 2003 3:58 PM
To: dev at lists.horde.org
Subject: Re: [dev] Re: Fwd: XML-RPC Call

Zitat von Chuck Hagenbuch <chuck at horde.org>:

>
>
> ----- Forwarded message from tanner at younet.okstate.edu -----
>     Date: Thu, 19 Jun 2003 15:56:32 -0500
>     From: tanner at younet.okstate.edu
> Reply-To: tanner at younet.okstate.edu
>  Subject: Re: Fwd: XML-RPC Call
>       To: Chuck Hagenbuch <chuck at horde.org>
>
> I've got it authenticating now, and have my XML formatted properly but
> now i
> get
> an error.  Here's a code snippet and the RPC's response.
>
> $method = 'mail.block';
> $params = array('type'=>'summary');
> $request = xmlrpc_encode_request($method,$params);
>
> Warning: Missing argument 2 for _imp_block() in
> www/htdocs/horde/imp/lib/api.php
>
> I take this to mean that the 'params' variable in the _imp_block is
> requiring
> some value, but again I can't find documentation of what those values
> need
> to be.

Try an empty array.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
Horde developers mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe at lists.horde.org


I tried to change my params line to : $params =
array('type'=>'summary','params'=>array());

but I'm still getting the same error.  I even tried modding the _imp_block
function to default the params variable to 0 but then it errored creating the
imp block object.


More information about the dev mailing list