Welcome, Guest
Username: Password: Remember me

TOPIC: limesurvey remote control problem

limesurvey remote control problem 2 years 10 months ago #66598

I am using limesurvey remotecontrol service when i use "sCreateSurvey" function to import the servey.
i got following error:

Import went wrong somehow:
Please see the code given below.
////***************////////////
<?php
include_once("../limesurvey/admin/remotecontrol/lsrc.client.php");
/**
* initiate the testclient object
*/
$testclient = new lsrcClient();

/* prepare the lsrcClient class (initiate the soapClient, set sid if needed)
*/

$testclient->prepare(37755);

/**
* set user and password (only needed, when not set in the client class directly)
*/
$testclient->user = 'admin';
$testclient->pass = 'bf8rnsfj';

/**
* set the path2wsdl (only needed, when not set in the client class directly)
*/
$testclient->path2wsdl = 'http://localhost/limesurvey/admin/remotecontrol/lsrc.server.php?wsdl';
/**
* call the function to create a survey
*/

$sReturn = $testclient->createSurvey("new survey" ,
"this is new survey",
"welcomeText",
"endText",
"This email address is being protected from spambots. You need JavaScript enabled to view it.",
"Survey",
"www.sotobiz.com",
"end yrl",
"template138");
echo $sReturn;

////*****************/////
File which is included in this file:

(admin/remotecontrol/lsrc.client.php)

I am using limesurvey 1.91, PHP version: 5.3
can u please help us to solve this problem.

Thanks
jatinder
Last Edit: 2 years 10 months ago by jatindersidhu.
The administrator has disabled public write access.

Re: limesurvey remote control problem 2 years 10 months ago #66617

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 249
As stated at our manual the LSRC feature doesn't work smoothly at the latest version:
"The latest stable release of Lime Survey Remote Control is 1.87 running on PHP 5.2. Efforts are underway to bring LSRC up to date with the current release and this page will be updated when that has happened. Until that time please continue reporting bugs via the bugtracker(external link) and please be patient with us!"

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.
Moderators: ITEd
Time to create page: 0.116 seconds
Donation Image