Check out the LimeSurvey source code on GitHub!

Remote control 2

More
4 years 1 month ago #91146 by STTY
Thanks for the reply.

I was following the example in the remote control doc:
<?php
require_once 'jsonRPCClient.php';

define( 'LS_BASEURL', 'http://localhost/limesurvey/'); // adjust this one to your actual LimeSurvey URL

// instanciate a new client
$myJSONRPCClient = new jsonRPCClient( LS_BASEURL.'/admin/remotecontrol' );

in my admin (localhost/limesurvey/application/controller/admin) folder, there is a file called remotecontrol.php, didn't see a folder called remotecontrol

there is a remotecontrol folder under ..../views/admin

The version of Limesurvey is 2.0+

Thanks

Please Log in to join the conversation.

More
4 years 1 month ago #91159 by mdekker
If you log in to the admin part, you should take a close look at the url. If it is xxxxx/index.php/admin/ then you can add /remotecontrol after admin. If you have xxxx/index.php?r=admin then use that and add /remotecontrol after it.

Normally the first form from the docs works with apache webserver and .htaccess url rewriting. The other form with index.php?r= works for the other servers like IIS or nginx.

---
Menno Dekker
The following user(s) said Thank You: mabellaneda

Please Log in to join the conversation.

More
4 years 1 month ago #91166 by mdekker
In the next release the global settings where you enable the remote control (tab interfaces) will show you the url to use.

---
Menno Dekker

Please Log in to join the conversation.

More
4 years 1 month ago #91190 by Mazi

mdekker wrote: In the next release the global settings where you enable the remote control (tab interfaces) will show you the url to use.

Great improvement, thanks for enhancing Limesurvey.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 1 month ago #91234 by STTY
The url is working:

..../index.php/admin/remotecontrol

am able to run the remotecontrol.php instance.

I'm using the Apache web server.

Thanks

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form