Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: SURVEYURL is not correct on registration mail

SURVEYURL is not correct on registration mail 1 Jahr 9 Monate her #89269

  • Zedas
  • Zedass Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 1
Hi all

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:

mkt.ceatt.com.br/pesquisa/index.php/9885...R/tk-fcctgwsnsjacdee

Here follows the correct link through the reminder email sent:
mkt.ceatt.com.br/pesquisa/index.php/surv...qw7vgi25f/lang/pt-BR

Any ideas, quick fix or ....?

Thank you;_)
Letzte Änderung: 1 Jahr 9 Monate her von Zedas. Begründung: forget to add info
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: SURVEYURL is not correct on registration mail 1 Jahr 9 Monate her #89273

  • c_schmitz
  • c_schmitzs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 755
  • Dank erhalten: 104
  • Karma: 88
Actually the first one is a short form and is correct too.
I think the additional hyphen in pt-BR creates a problem


Open /application/config/routes.php
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.
Support us, too. Donate to the LimeSurvey project and help keep us going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: Zedas

Aw: SURVEYURL is not correct on registration mail 1 Jahr 9 Monate her #89275

  • jelo
  • jelos Avatar
  • OFFLINE
  • Platinum Lime
  • Beiträge: 467
  • Dank erhalten: 52
  • Karma: 16
Looks like a bug,since the reminder template is using the same {SURVEYURL} for generating the link.

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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: Zedas

Re: SURVEYURL is not correct on registration mail 1 Jahr 9 Monate her #89332

  • Zedas
  • Zedass Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 1
@c_schmitz

Yeah \0/ The fix works on both cases: registration and reminder email.

@jelo
After this post I´ve found : bugs.limesurvey.org/view.php?id=6977

Thank you for your time
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.189 Sekunden
Donation Image