[dev] Re: Fwd: XML-RPC Call

tanner at younet.okstate.edu tanner at younet.okstate.edu
Fri Jun 20 13:56:34 PDT 2003


-----Original Message-----
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.

I tried the empty array using this code...(and every permutation I could think of)

$method = 'mail.block';
$params = array('type'=>'summary','params'=>array());

but it still returns the _imp_block error.  Any information on what the valid
values for 'params' would be great.


--
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


----- End forwarded message -----




More information about the dev mailing list