In order to get the lime survey config Testing Interface page to give me a checkbox for "THE LIMESURVEY SITE URL" I had to change:

$url_admin = $url_base . '/admin/admin.php';

to

$url_admin = $url_base . '/index.php/admin/authentication/login';

not sure if this is maybe an issue with my web servers implementation of file_get_contents.

The url_admin address being created is valid, but the file_get_contents would not follow the redirect.

Comments

thedut’s picture

Hi innominate,

This is a strange behavior. I can't reproduce this issue
I'm agree with you, your server configuration may be involved.
It is a minor issue because the file_get_contents() php function is used only one time in LimeSurvey Sync module : during the synchronization settings. So your fix should definitvely solve this issue.
Which LimeSurvey version do you use ? LimeSurvey v2.0 ?

thedut’s picture

Status: Active » Closed (cannot reproduce)
thedut’s picture

Status: Closed (cannot reproduce) » Active

Hi,

I guess you definitively use the LimeSurvey v2.0
I'm able to reproduce this issue now.
It affects the Drupal 6 and Drupal 7 limesurvey_sync module versions using the LimeSurvey v2.0 version.
It does not occur if you are using a LimeSurvey v1.x version.
Il will provide a release fixing this issue for Durpal 6 and Drupal 7.
I have to investigate first if there is no more issue for the LimeSurvey 2.0 version.

The LimeSurvey v2.0 is available as stable release since the 15th of october.

thedut’s picture

Status: Active » Closed (fixed)

Fixed into the LimeSurvey Sync 7.x-1.2 and 6.x-1.2 releases.