Welcome, Guest
Username: Password: Remember me

TOPIC: Changing folder name breaks SOAP

Changing folder name breaks SOAP 2 years 9 months ago #72167

  • Hybride
  • Hybride's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi everyone,

Am using 1.91, PHP 5.2, MySQL 5.3 (I think). I was originally working under a folder called "lime". SOAP was working fine at that point, I got all my work in and such. Before deploying, I switched the folder name to "survey", regenerated lsrc.wsdr and updated all of the config files necessary to the new location. Unfortunately, SOAP seems to have broken. I tried using the testclient, which loaded up find before, but now stops at the sCreateSurvey.

The code that's giving me an issue is the actual getAvailableModules:
$aCores = explode(",", $testclient->getAvailableModules('mod'));

I get the following error in my Apache log:
PHP Fatal error: Uncaught SoapFault exception: [HTTP] Not Found in /var/www/survey/admin/remotecontrol/lsrc.client.php:175\nStack trace:\n#0 /var/www/survey/admin/remotecontrol/lsrc.testclient.php(417): lsrcClient->getAvailableModules('core')\n#1 {main}\n thrown in /var/www/survey/admin/remotecontrol/lsrc.client.php on line 175


I tried catching the error, but the same issue occurs. Any ideas where I might be going wrong? Thanks~
Last Edit: 2 years 9 months ago by Hybride. Reason: adding code
The administrator has disabled public write access.

Re: Changing folder name breaks SOAP 2 years 9 months ago #72203

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5351
  • Thank you received: 299
  • Karma: 250
Please note that the SOAP API is not expected to work fine at 1.91, see docs.limesurvey.org/RemoteControl&struct...vey#Before_you_start...

I think you probably just forget to adjust one mre path setting?! Hard to tell...

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: Changing folder name breaks SOAP 2 years 9 months ago #72279

  • Hybride
  • Hybride's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
After a bit of tweaking, the Apache threw an error about an unknown function. Once I removed that from the wsdr, it's working. Yay!
The administrator has disabled public write access.

Re: Changing folder name breaks SOAP 2 years 9 months ago #72288

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5351
  • Thank you received: 299
  • Karma: 250
You're welcome!

Please keep in mind that the SOAP API isn't bug free at 1.91. Better switch to the older 1.87 version of 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.
Moderators: ITEd
Time to create page: 0.136 seconds
Donation Image