Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

SURVEYURL - unable to change variable

  • breeze0
  • breeze0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 1 week ago #243341 by breeze0
SURVEYURL - unable to change variable was created by breeze0
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.0.6
Own server or LimeSurvey hosting: Own
Survey theme/template:
==================
The Overview page of a survey lists the IP of the server and not the domain URL, also emails have Click here to do the survey: and it lists the IP. 
We do access the admin page via the IP which is required so I assume that's why we see the IP. Is there a way to configure it so the domain is listed on the Overview page of the survey and email sent to users ? I have added the publicurl entry into config.php using the domain name but its not working for those two scenarios.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago #243349 by DenisChenu
Replied by DenisChenu on topic SURVEYURL - unable to change variable
1st point : we do what we can to get the hostname of the server. Here you have an issue with your server. Proxy ?

But : we have a solution : publicurl in config.php file is done for this.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • breeze0
  • breeze0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 1 week ago #243392 by breeze0
Replied by breeze0 on topic SURVEYURL - unable to change variable
I do have the publicurl in place in config.php. The same works in 3.x.

With publicurl in place -
1) The SURVEYURL variable in the invitation/reminder email still reports the IP address.

2) In the overview page of a survey where you can launch a survey with a link. That also shows the IP.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago #243400 by holch
Replied by holch on topic SURVEYURL - unable to change variable
How do you access the installation?

If you access it via the IP, it will use the IP.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • breeze0
  • breeze0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 1 week ago - 11 months 1 week ago #243402 by breeze0
Replied by breeze0 on topic SURVEYURL - unable to change variable
Yes, I access the LimeSurvey console via IP.
I also do that on version 3.x and publicurl sets the correct domain in all areas.
Last edit: 11 months 1 week ago by breeze0.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago #243404 by DenisChenu
Replied by DenisChenu on topic SURVEYURL - unable to change variable
Then your 3.X version have publicurl set in config.php file.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago - 11 months 1 week ago #243405 by DenisChenu
Replied by DenisChenu on topic SURVEYURL - unable to change variable

I do have the publicurl in place in config.php. The same works in 3.x.

With publicurl in place -
1) The SURVEYURL variable in the invitation/reminder email still reports the IP address.

2) In the overview page of a survey where you can launch a survey with a link. That also shows the IP.

 
If you're sure at 100% you set publicurl and it don't work : please report issue

OK : confirmed : please report the issue
community.limesurvey.org/bug-tracker/
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 11 months 1 week ago by DenisChenu.

Please Log in to join the conversation.

  • breeze0
  • breeze0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 1 week ago - 11 months 1 week ago #243407 by breeze0
Replied by breeze0 on topic SURVEYURL - unable to change variable
I'm positive that publicurl is in config.php. It will populate parts of the email with the correct url that is identified in publicurl.

I'm unable to put in bugs because my account does not work.

Here is one example of what it is doing, this is from a reminder sent to a participant. You can see that the domain name is defined in the bottom two links. The first link in the email has the IP.
In this example publicurl is set to domain.name. 10.121.200.200 is the IP that is used to access the LimeSurvey console.

Click here to do the survey:
https://10.121.200.200/index.php/325619?token=12612361236126&lang=en

If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:
domain.name/index.php/optout/tokens/3256...61236126&langcode=en

If you are blacklisted but want to participate in this survey and want to receive invitations please click the following link:
domain.name/index.php/optin/tokens/32561...61236126&langcode=en
Last edit: 11 months 1 week ago by breeze0.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 1 week ago #243408 by DenisChenu
Replied by DenisChenu on topic SURVEYURL - unable to change variable
Yes : it work for OPTOUT but not for SURVEY

I need to check with 5.X

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • breeze0
  • breeze0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 4 days ago #243475 by breeze0
Replied by breeze0 on topic SURVEYURL - unable to change variable
Were you able to reproduce the issue? Thanks.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 months 3 days ago #243527 by DenisChenu
Replied by DenisChenu on topic SURVEYURL - unable to change variable

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • breeze0
  • breeze0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 months 3 days ago #243528 by breeze0
Replied by breeze0 on topic SURVEYURL - unable to change variable
Thank you.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose