Hi again, apologies for all the questions but I'm keen to get this working and I'm not having much luck.

I am using Lime Survey Version 1.92 (as before I was having probs with Version 2 and the title problem) and all the tests have worked etc (see attached screenshots). I have a a survey in my Lime Survey and everything is working okay there swell. My issue is that when I go to create a new content type 'survey' I cannot see the survey from LS. Additionally, Drupal is reporting that 'LimeSurvey Sync - LimeSurvey site may not be reached' (again see screenshots). What am I doing wrong considering all the tests have worked etc???

Thank you

Stephen

Comments

spessex’s picture

PS I have tried to have LS both inside and outside of the Drupal installation and neither works.

spessex’s picture

PS Also I have tried this with activated and inactive surveys to no avail.

spessex’s picture

StatusFileSize
new378.02 KB

Also see attached shot of Live Lime Survey with activated Surveys

thedut’s picture

That a strange behaviour,
I guess your settings.php file and your LimeSurvey Site url parameter do not target the same LimeSurvey site.
You should try a fresh new start :

  1. Delete all your LimeSurvey sites (including databases)
  2. install only one LimeSurvey site, outside the Drupal install Folder
  3. Create a survey from your LimeSurvey admin interface
  4. Adapt your settings.php file and your LimeSurvey Site url parameter
  5. Test again and report (especially the test page and the survey content type page).

Could you provide to :

  • Your php version (you can find it on the statut report page)
  • Your Limesurvey version (v1 or v2) and the build version (on the footer aera on every LimeSurvey admin page).

If it fails again, you could send me by email your installation (all files and databases), It will be easier for me to figure out this issue (my mail is into the module README.txt file).

thedut’s picture

-

spessex’s picture

Hi Julien

I've followed your instructions and the good news is is that it appears to have worked and I can now see the LS surveys in the Survey Content Type. The only issue now is that it's still stating on the Drupal Status Reports that 'LimeSurvey site may not be reached'. I'm not sure how much of a problem this is but I have emailed you all the files just incase.

Thanks again for your help.

I look forward to hearing from you.

Ste

thedut’s picture

Hi !

On test page, a link to your LimeSurvey site is provided : If you do reach the limesurvey site clicking on that link, then your parameters are ok, even if the test fail.

For absolute url, note that you should write the http:// prefix ( example : 'http://localhost/limesurvey', instead of 'localhost/limesurvey').

As a work arround, try to use relative url to :
if your architecture folders are :
localhost
--limesurvey
--drupal
try to use as url path : './../limesurvey' (without the quotes).

It would help me if you provide the test page full error message.

Try those 2 solutions and tell me.

thedut’s picture

Status: Active » Closed (works as designed)

I guess this issue is solved.
Anyway it was due to bad configuration.
I close this post as 'works as designed', feel free to reopen it.

spessex’s picture

Hi Julien

Many apologies for the late reply. Got dragged off the project for a short time and am now back on (sorry I forget to get back to you considering your help). Will be re-testing today and will report back.

Cheers

Ste

spessex’s picture

Hi Julien

As per instructions I can 'reach the limesurvey site clicking on that link' and it works fine (admittedly I cannot actually see a problem but am just a little disconcerted that it says 'LimeSurve site may not be reached'.

I will now send the screenshots to your private mail just for precaution (what with the files paths etc).

Cheers

Ste

spessex’s picture

Status: Closed (works as designed) » Active
thedut’s picture

Hi spessex,

As I said, the best validation for the LimeSurvey url parameter is the human one (you !) : if you reach the LimeSurvey site clicking on the provided link, then it is OK, everything will work for you. The test interface tries to reproduce the humain validation. In your case, the test interface fails to test the LimeSurvey url parameter, declaring it as failure instead of success. I don't know why it fails.
You are using the '../../' string at the begining of your LimeSurvey url parameter : try to replace it by './../../' (without the quotes) and report.

Julien

spessex’s picture

No worries Julien.

PS Tried ./../../ and it's still the same and the link still work as before.

thedut’s picture

Status: Active » Closed (cannot reproduce)

I can't reproduce this issue. But it does not affect your experience.
I close this thread as "cannot reproduce".

thedut’s picture

Here is a fix making sure that your settings.php file and your LimeSurvey Site url parameter do target the same LimeSurvey site. It will be included into the 7.x-1.3 release.