- Posts: 7
- Karma: 1
- Thank you received: 0
SURVEYURL is not correct on registration mail
This is my first install of Limesurvey and i´m loving It
I´ve created my first survey and EVERYthing is working pretty well except the link provided on the registration mail which always lead me to a Page not found error:
Page Not Found
Unable to resolve the request "988539/lang-pt-BR/tk-fcctgwsnsjacdee".
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
I´m running the last stable branch 2.00 + and according to my backend version checker there is no a newer one to update.
The funny thing is that on a reminder email the link works pretty well.
Here follows the "wrong" link:
Here follows the correct link through the reminder email sent:
Any ideas, quick fix or ....?
I think the additional hyphen in pt-BR creates a problem
and replace the first two lines of code (17-18) with these ones:
$route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>/tk-<_token:\w+>'] = "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>"; //This one must be first $route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>'] = "survey/index/sid/<_sid>/lang/<_lang>";
Please check if that solves the problem.
LimeSurvey project leader
I would create the tokenlinks with Excel and use a merge mailing with e.g Word to create emails if you need to start the survey soon.
Yeah \0/ The fix works on both cases: registration and reminder email.
After this post I´ve found : bugs.limesurvey.org/view.php?id=6977
Thank you for your time