Welcome, Guest
Username: Password: Remember me

TOPIC: 1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!)

1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!) 2 months 1 day ago #111251

We're planning to upgrade from 1.90 build 9642 to 2.05 very soon (and about time too ;).
Survey links for participants from this version like "limesurvey-test.amc.nl/new/index.php?sid=93512" now go to the public survey list page instead of taking you to the survey - but in L.S. 2.00+ (build 130929) they still work.
What do I have to do to make them work in 2.05+ (build 140302) ?
I'm aware of earlier topics in this forum about this issue, and bug report #8586. They don't have the answers I need....
See attached .htaccess I set up; changed AllowOverrides in httpd.conf to All. Admin urls working fine, but the ...?sid=93512 url is still taking me to public survey list page.
Any help much appreciated!

File Attachment:

File Name: htaccess.txt
File Size: 1 KB
Last Edit: 2 months 1 day ago by fvanderstarre. Reason: Subject corrected
The administrator has disabled public write access.

1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!) 1 month 3 weeks ago #111402

  • ahmadaub
  • ahmadaub's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Any luck with solving this issye?
The administrator has disabled public write access.

1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!) 1 month 3 weeks ago #111409

Still working on it!
The administrator has disabled public write access.

1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!) 1 month 2 weeks ago #111539

This seems to work (Red Hat, Apache), thanks to my colleague J. Vulto!
<IfModule mod_rewrite.c>
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

# Input: https://[you-limesurvey-base-url]/index.php?sid=12185&lang=nl&token=7btn6t66svzif23j9mya8ewjm2dxzp
RewriteCond %{QUERY_STRING} ^lang=([^&]+) [NC,OR]
RewriteCond %{QUERY_STRING} &lang=([^&]+) [NC]
RewriteRule ^index\.php.* $0/lang-%1
# Output index.php/lang-nl

RewriteCond %{QUERY_STRING} ^token=([^&]+) [NC,OR]
RewriteCond %{QUERY_STRING} &token=([^&]+) [NC]
RewriteRule ^index\.php.* $0/token/%1
# Output index.php/lang-nl/token/7btn6t66svzif23j9mya8ewjm2dxzp

RewriteCond %{QUERY_STRING} ^sid=([0-9]{5,}) [NC,OR]
RewriteCond %{QUERY_STRING} &sid=([0-9]{5,}) [NC]
RewriteRule ^index\.php(.*) https://[you-limesurvey-base-url]/index.php/%1$1? [R,L]
# Output index.php/12185/lang-nl/token/7btn6t66svzif23j9mya8ewjm2dxzp

</IfModule>
# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on
The administrator has disabled public write access.

1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!) 1 month 2 weeks ago #111551

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
From my point of view we should try to persuade the developers to give this another try for backward compatibility reasons.
Imagine having a survey with 10.000 particpants. If you had send them an email invitation a month ago and now plan to update from 1.9x to the latest 2.05 version all those participants who have not answered yet will not be able to take the survey anymore.

fvanderstarre, can you file a bug report and post the link here?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

1.90 survey URLs no longer work in LS 2.05 (but they do in LS 2.0!) 1 month 2 weeks ago #111594

Mazi, see bugs.limesurvey.org/view.php?id=8586. Considered "not a bug" .... :(
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.151 seconds
Donation Image