Welcome, Guest
Username: Password: Remember me

TOPIC: SOAP Fault error with Limesurvey root folder change

SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77627

  • alexshr
  • alexshr's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
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: 2 years 7 months ago by alexshr.
The administrator has disabled public write access.

Re: SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77638

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

Re: SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77653

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
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
The administrator has disabled public write access.

Re: SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77657

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

Re: SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77658

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
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 ;)
Last Edit: 2 years 7 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: alexshr

Re: SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77660

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

Aw: Re: SOAP Fault error with Limesurvey root folder change 2 years 7 months ago #77786

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5424
  • Thank you received: 307
  • Karma: 252
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.291 seconds
Donation Image