Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

RPC No Permission with Super admin user

More
12 years 5 months ago - 12 years 5 months ago #108059 by stevelegare
Can someone help me with this one.

I'm calling export_statistics via RPC but var_dump() returns "Error: No Permission" when my session key is set with a super admin user.

Can you help me?
Thanks
Code:
$sessionKey= $myJSONRPCClient->get_session_key( LS_USER, LS_PASSWORD ); $responses = $myJSONRPCClient->export_statistics ( $sessionKey, $survey_id, "pdf", "fr", "1" ); file_put_contents("stat.pdf", base64_decode($responses),LOCK_EX); var_dump($responses);
Last edit: 12 years 5 months ago by stevelegare.
The topic has been locked.
More
12 years 5 months ago #108066 by stevelegare
export_statistics works only if you are the owner of the survey
The topic has been locked.
Moderators: holch, tpartner

Lime-years ahead

Online-surveys for every purse and purpose