- Posts: 3
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
end url with variables not longer working after limequery update 3.13.2
- geert
- Topic Author
- Offline
- New Member
Less
More
5 years 8 months ago #171667
by geert
end url with variables not longer working after limequery update 3.13.2 was created by geert
I get following error message after submitting the form:
We are using the Cloud version. If I leave out the variables everything is working fine.
www.i-hd.eu/mailing/mail.cfm?email={A1_S...{A15}&subject=AC2018
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
We are using the Cloud version. If I leave out the variables everything is working fine.
www.i-hd.eu/mailing/mail.cfm?email={A1_S...{A15}&subject=AC2018
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12788
- Thank you received: 3940
5 years 8 months ago #171677
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic end url with variables not longer working after limequery update 3.13.2
Hi,
having a look at your end-url I see that the curly bracket in front of "lastname-variable" is missing.
I created a small survey just to fill the fields and got
Best regards
Joffm
having a look at your end-url I see that the curly bracket in front of "lastname-variable" is missing.
I created a small survey just to fill the fields and got
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 8 months ago #171689
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 end url with variables not longer working after limequery update 3.13.2
About end url, it's always more easy to create a Equation question type and do your url inside.
The you can easily test and fix it.
The you can easily test and fix it.
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.
- geert
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
5 years 8 months ago #171701
by geert
Replied by geert on topic end url with variables not longer working after limequery update 3.13.2
Thank you for your help! That was a very stupid typo.
But it's not the real problem.
All of the variables get an extra span tag so the url ends up looking like this:
www.i-hd.eu/mailing/mail.cfm?email= ingelamote@gmail.com&title=Mrs&firstname=Inge&lastname=Lamote&dinner=&monday=Y&tuesday=&workshop=A1&membership=A1&subject=AC2018
But it's not the real problem.
All of the variables get an extra span tag so the url ends up looking like this:
www.i-hd.eu/mailing/mail.cfm?email= ingelamote@gmail.com&title=Mrs&firstname=Inge&lastname=Lamote&dinner=&monday=Y&tuesday=&workshop=A1&membership=A1&subject=AC2018
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 8 months ago #171702
by DenisChenu
We have a params in the function. Someone lost this param during a fix.
Please : try to create a simple lss to report the issue.
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 end url with variables not longer working after limequery update 3.13.2
Seems to be an issue about static VS non-static var.geert wrote: Thank you for your help! That was a very stupid typo.
But it's not the real problem.
All of the variables get an extra span tag so the url ends up looking like this:
…
We have a params in the function. Someone lost this param during a fix.
Please : try to create a simple lss to report the issue.
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.
- geert
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
5 years 8 months ago #171704
by geert
Replied by geert on topic end url with variables not longer working after limequery update 3.13.2
Thanks! I will report the bug.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12788
- Thank you received: 3940
5 years 8 months ago - 5 years 8 months ago #171705
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic end url with variables not longer working after limequery update 3.13.2
Hi, geert,
well, this is something different.
Just entering your provided url throws your described error in your application.
But what is your goal? Do you want to keep the "spans", or not?
To get rid of them you can use the function "strip_tags"?
well, this is something different.
Just entering your provided url throws your described error in your application.
But what is your goal? Do you want to keep the "spans", or not?
To get rid of them you can use the function "strip_tags"?
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 5 years 8 months ago by Joffm.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 8 months ago - 5 years 8 months ago #171711
by jelo
Let's wait till the bugticket and example is posted. Since it is a limesurvey server under control of LimeSurvey GmbH a solution or explanation for that issue should be possible.
@geert: Please post a link to your bugticket here. Thanks.
Update:
bugs.limesurvey.org/view.php?id=13905
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic end url with variables not longer working after limequery update 3.13.2
I don't get that. Where is the Limesurvey URL? The Coldfusion-application could clean the URL, but the issue seems to be a LimeSurvey adding extra stuff.Joffm wrote: But what is your goal? Do you want to keep the "spans", or not?
Let's wait till the bugticket and example is posted. Since it is a limesurvey server under control of LimeSurvey GmbH a solution or explanation for that issue should be possible.
@geert: Please post a link to your bugticket here. Thanks.
Update:
bugs.limesurvey.org/view.php?id=13905
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 5 years 8 months ago by jelo.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 8 months ago #171721
by DenisChenu
1. Since redirect url is done at end of Survey : no need javascript update, then no need span (like in completed text).
If there are span there are an issue with step (EM think current step is step of Q 9) => 1st issue
2. Since redirect url must be done after survey completed : we can enforce static value here => 2nd issue
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 end url with variables not longer working after limequery update 3.13.2
+1jelo wrote: I don't get that. Where is the Limesurvey URL?
1. Since redirect url is done at end of Survey : no need javascript update, then no need span (like in completed text).
If there are span there are an issue with step (EM think current step is step of Q 9) => 1st issue
2. Since redirect url must be done after survey completed : we can enforce static value here => 2nd issue
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 8 months ago #171728
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic end url with variables not longer working after limequery update 3.13.2
The question was for Joffm. He followed a URL. In the thread I only see a URL to a cfm application.DenisChenu wrote:
+1jelo wrote: I don't get that. Where is the Limesurvey URL?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12788
- Thank you received: 3940
5 years 8 months ago #171731
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic end url with variables not longer working after limequery update 3.13.2
@jelo:
Exactly, I talked about this url:
This address throws the error because of the tags.
And therefore I proposed to use "strip_tags" to clean the url.
Joffm
Exactly, I talked about this url:
Code:
www.i-hd.eu/mailing/mail.cfm?email= <span id='LEMtailor_Q_0_9'>ingelamote@gmail.com</span>&title=<span id='LEMtailor_Q_0_10'>Mrs</span>&firstname=<span id='LEMtailor_Q_0_11'>Inge</span>&lastname=<span id='LEMtailor_Q_0_12'>Lamote</span>&dinner=<span id='LEMtailor_Q_0_13'></span>&monday=<span id='LEMtailor_Q_0_14'>Y</span>&tuesday=<span id='LEMtailor_Q_0_15'></span>&workshop=<span id='LEMtailor_Q_0_16'>A1</span>&membership=<span id='LEMtailor_Q_0_17'>A1</span>&subject=AC2018
And therefore I proposed to use "strip_tags" to clean the url.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 8 months ago #171737
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic end url with variables not longer working after limequery update 3.13.2
Isn't the question: Why did LimeSurvey create such a URL? It's the EndURL, not the input into LimeSurvey.
The bugticket has a a surveyfile attached with EndURL
www.XXX.eu/mailing/mail.cfm?email={A30 }
The bugticket has a a surveyfile attached with EndURL
www.XXX.eu/mailing/mail.cfm?email={A30 }
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.