Check out the LimeSurvey source code on GitHub!

Changing folder name breaks SOAP

More
5 years 1 month ago - 5 years 1 month ago #72167 by Hybride
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: 5 years 1 month ago by Hybride. Reason: adding code

Please Log in to join the conversation.

More
5 years 1 month ago #72203 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #72279 by Hybride
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!

Please Log in to join the conversation.

More
5 years 1 month ago #72288 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

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