Check out the LimeSurvey source code on GitHub!

SOAP Fault error with Limesurvey root folder change

More
4 years 10 months ago - 4 years 10 months ago #77627 by alexshr
Hello,

I followed exactly all the settings instructed under "Setup" in this page docs.limesurvey.org/RemoteControl&struct...vey#Before_you_start ...

But limesurvey couldn't connect to soap server.

Then I traced the problem by setting trace = 1 for soapclient
   $this->soapClient = new SoapClient(
                         $this->path2wsdl, 
                         array( 
                            'proxy_host'     => "127.0.0.1",
                            'proxy_port'     => 80,
                            'soap_version' => SOAP_1_1,
                            'trace' => 1
                           )
                         );

Then what I found is that the path of the wsdl file intrepreted is wrong.

My limesurvey is insde the subfolder, and the wsdl file pointed is in root.

To make it more clear limesurvey is in new/survey folder and the wsdl file is pointed at

* http://localhost/new/survey/admin/remotecontrol/lsrc.client.php (Limesurvey actual path- Correct Path)

* http://localhost/survey/admin/remotecontrol/lsrc.server.php (wrong path "new" root folder missing)

I have configured almost everthing.

My PHP version is "PHP 5.2.6" & I have got libxml enabled in my PHP extensions.

Limesurvey information is (copied form version.php)
  $versionnumber = "1.87+";
  $dbversionnumber = 142;
  $buildnumber = '8518';

* I have also attached my php_info(); output - php_info.txt
* I have also attached the screenshot of the print_r($soapfault) - SOAP error in limesurvey.png;


Please help me I need to figure this out very soon. Otherwise I will have to configure my limesurvey to reside on the documentroot.

The limesurvey function that triggers the error is sCreateSurvey().

Thanks in Advance
AlexShr
Attachments:
Last Edit: 4 years 10 months ago by alexshr.

Please Log in to join the conversation.

More
4 years 10 months ago #77638 by alexshr
Here is the screenshot that I tried to attach. While uploading this screenshot I got the error message that the file size is too large and restricted by admin.

So, I have uploaded it to the free image hosting site.

Here it is http://i76.photobucket.com/albums/j5/alexshr/SOAPerrorinlimesurvey.png[/img[img] i76.photobucket.com/albums/j5/alexshr/SO...nlimesurvey.png[/img

Please Log in to join the conversation.

More
4 years 10 months ago #77653 by DenisChenu
Hello,

You can have a look at your config.php,
$rooturl = ....

$versionnumber = "1.87+";

Maybe there are a bug with this version, bug corrected now. You can ask for professionnal help for example to see in 1.87+ version.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
4 years 10 months ago #77657 by alexshr
Thanks Denis,

Currently as workaround I have set my main project to the documentroot so, it solves my problem. Thanks for your information.

I think I missed the configuration at that part.

Please Log in to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #77658 by DenisChenu
I think actually you have:
$rooturl = "http://{$_SERVER}/survey";

And you need:
$rooturl = "http://{$_SERVER}/new/survey";

BUT, maybe there are a bug in 1.87+, then updating to 1.91 or 1.92 can be a solution ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 4 years 10 months ago by DenisChenu.
The following user(s) said Thank You: alexshr

Please Log in to join the conversation.

More
4 years 10 months ago #77660 by alexshr
Yeah I also assume that might be the place where I exactly missed configuration.

Thanks again.

Currently I need to make a quick fix will try this configuration later and let you know.

Bunch of Thanks for the quick response.

Please Log in to join the conversation.

More
4 years 10 months ago #77786 by Mazi
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


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