Remote control 2

More
4 years 7 months ago #91146 by STTY
STTY replied the topic: Aw: Re: Remote control 2
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 7 months ago #91159 by mdekker
mdekker replied the topic: Aw: Re: Remote control 2
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 7 months ago #91166 by mdekker
mdekker replied the topic: Aw: Re: Remote control 2
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 7 months ago #91190 by Mazi
Mazi replied the topic: Aw: Re: Remote control 2

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 7 months ago #91234 by STTY
STTY replied the topic: Aw: Re: Remote control 2
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.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now