demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] Retrieving questions


From: David MENTRE
Subject: Re: [Demexp-dev] Retrieving questions
Date: Tue, 6 Nov 2007 12:13:45 +0100

Hello Diogene,

2007/11/6, Diogene Laerce <address@hidden>:
>                 // Questions download : Send a message to the server.
>                 $message = new xmlrpcmsg('question_info', array(new
> xmlrpcval($cookie_dm, "int"), new xmlrpcval(100, "int"), new
> xmlrpcval(200, "int")));

As I said previously[1], the number of question requested is limited
to 100. Here you are requesting 200 questions, from number 100 to
number 299.


> <value><string>rt_request_too_much_ids</string></value>

That's why the server rejects your request. The error message means:
you request to many items at once.

Try instead:
 $message = new xmlrpcmsg('question_info', array(new
xmlrpcval($cookie_dm, "int"),

   new xmlrpcval(100, "int"),

   new xmlrpcval(100, "int")));


Yours,
d.

[1] http://article.gmane.org/gmane.politics.organizations.demexp.devel/1452




reply via email to

[Prev in Thread] Current Thread [Next in Thread]