- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Incorrect placeholders in email templatesi
- pdaubresse
- Topic Author
- Offline
- New Member
Less
More
6 years 6 months ago - 6 years 6 months ago #159496
by pdaubresse
Incorrect placeholders in email templatesi was created by pdaubresse
Hi,
We setup a Limesurvey server in our premises. It is published on Internet through a reverse proxy on https. But internal communication between the reverse proxy and the LS server is in http. By default the URL produced were lsname.example.com:443/ ...
In order to solve this issue I changed the setting 'public_url' in the config.php file in the /application/config/ folder. But this is apparently not taken into account for placeholders in e-mail templates: placeholders like {RELOADURL}, {VIEWRESPONSEURL}, {EDITRESPONSEURL} and{STATISTICSURL} do use the wrong URL : lsname.example.com:443/ ...
Any idea for solving this issue?
Thanks
We setup a Limesurvey server in our premises. It is published on Internet through a reverse proxy on https. But internal communication between the reverse proxy and the LS server is in http. By default the URL produced were lsname.example.com:443/ ...
In order to solve this issue I changed the setting 'public_url' in the config.php file in the /application/config/ folder. But this is apparently not taken into account for placeholders in e-mail templates: placeholders like {RELOADURL}, {VIEWRESPONSEURL}, {EDITRESPONSEURL} and{STATISTICSURL} do use the wrong URL : lsname.example.com:443/ ...
Any idea for solving this issue?
Thanks
Last edit: 6 years 6 months ago by DenisChenu. Reason: Usage of example.com
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
6 years 6 months ago #159550
by DenisChenu
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.
Replied by DenisChenu on topic Incorrect placeholders in email templatesi
publicurl :
manual.limesurvey.org/Optional_settings#Advanced_path_settings
Done for this.
Else : remind usage of example.com , please don't use another website for example
Done for this.
Else : remind usage of example.com , please don't use another website for example
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.
The topic has been locked.
- pdaubresse
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 6 months ago #159578
by pdaubresse
Replied by pdaubresse on topic Incorrect placeholders in email templatesi
Hello again,
Sorry: I mistyped the variable in my post: I wrote public_url in the post, but in my settings.php file it is correctly entered as 'publicurl'. And as explained it doesn't work for notification e-mails. However it works well for invitation e-mails.
Kind regards,
Pierre
Sorry: I mistyped the variable in my post: I wrote public_url in the post, but in my settings.php file it is correctly entered as 'publicurl'. And as explained it doesn't work for notification e-mails. However it works well for invitation e-mails.
Kind regards,
Pierre
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
6 years 6 months ago #159589
by DenisChenu
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.
Replied by DenisChenu on topic Incorrect placeholders in email templatesi
Oh yes , please report the bug.
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.
The following user(s) said Thank You: pdaubresse
The topic has been locked.
- pdaubresse
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 6 months ago #159670
by pdaubresse
Replied by pdaubresse on topic Incorrect placeholders in email templatesi
I reported the bug on the bug tracker.
Fix was committed to master branch: bugs.limesurvey.org/plugin.php?page=Source/view&id=24104
Thank you for your assistance.
Pierre
Fix was committed to master branch: bugs.limesurvey.org/plugin.php?page=Source/view&id=24104
Thank you for your assistance.
Pierre
The topic has been locked.