Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Remote control 2

Re: Aw: Re: Remote control 2 1 year 10 months ago #91146

  • STTY
  • STTY's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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
The administrator has disabled public write access.

Re: Aw: Re: Remote control 2 1 year 10 months ago #91159

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
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 administrator has disabled public write access.
The following user(s) said Thank You: mabellaneda

Re: Aw: Re: Remote control 2 1 year 10 months ago #91166

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
In the next release the global settings where you enable the remote control (tab interfaces) will show you the url to use.
---
Menno Dekker
The administrator has disabled public write access.

Re: Aw: Re: Remote control 2 1 year 10 months ago #91190

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5426
  • Thank you received: 307
  • Karma: 252
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Aw: Re: Remote control 2 1 year 10 months ago #91234

  • STTY
  • STTY's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
The url is working:

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

am able to run the remotecontrol.php instance.

I'm using the Apache web server.

Thanks
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.114 seconds
Donation Image