Welcome, Guest
Username: Password: Remember me

TOPIC: "newtest=Y" causing survey fail

"newtest=Y" causing survey fail 3 years 2 weeks ago #63007

  • viatriskel
  • viatriskel's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
New installation working fine after tweaking various settings as described in the documentation and here EXCEPT for one persistent error. Executing "Test Survey" brings up the message "Ce questionnaire n'a pas encore de question et ne peut être testé ou finalisé." (Yeah - it's in French, probably because I'm in France, but I've tried to set all settings to English ... but that's not really the problem).

The inactive survey (7 questions in two groups at the moment) exists and runs fine when clicking the link on the admin page or entering the URL directly into a browser, but NOT when I click "Test Survey" or the "Exit/restart survey" links in a running survey. The only difference that I can see is the inclusion of the parameter "&newtest=Y" in the failing URL.

No-one else seems to have reported this problem, so I'll accept that it's something to do with my local settings - but which ones? The problem did not occur when I used the limesurvey demo on this same PC.
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63011

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1061
  • Thank you received: 234
  • Karma: 74
Le problême est probablement qu'il y a plusieurs langues habilitées pour le questionnaire et qu'il n'est pas encore traduit...Donc il existe en une langue au moins (7 questions et 2 groupes..) et en français (0 question 0 groupe). Donc le message qui sort en français, pour moi, est ok...
Jette un oeuil du côté des différences d'URL avec le dernier paramètre pour la langue:
...index.php?sid=1234&newtest=Y&lang=fr
...index.php?sid=1234&newtest=Y&lang=en

Qu'elle est la langue par défaut de ton questionnaire (pas le texte mais l'option de configuration)?
As tu commencé à traduire?

lang.gif



Pardon de répondre en français et s'il le faut je traduirai...!:whistle:
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Last Edit: 3 years 2 weeks ago by Ben_V.
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63019

  • viatriskel
  • viatriskel's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
(Merci, benitov, pour ta réponse rapide. Je t'ai répondu plus tôt mais mon message n'est pas apparu :unsure: )

Non, je n'ai choisi que l'anglais partout, mais il ne semble pas être une problème de traduction "sur le champ" :

limesurvey/index.php?sid=34738&lang=en - works perfectly !

sid=34738&newtest=Y&lang=en - shows correct survey title and description, "contact" name and e-mail, but "no questions" message in French, even when called from the "Restart this survey" link in a correctly executed survey.

sid=34738&lang=fr and sid=34738&newtest=Y&lang=fr - no title, no description, no contact info, and "Ce questionnaire n'a pas encore de question" which I would have thought was the correct behaviour.
Last Edit: 3 years 2 weeks ago by viatriskel.
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63027

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1061
  • Thank you received: 234
  • Karma: 74
So if I'm right:
a) main language=en
b) 2nd language =fr

If your survey is already translated in french I don't understand why it's not working perfectly...:(
..and I hope that someone here can help you because for the moment I'm quiet stuck...

Is it possible to give us a link (or a file) to your survey?
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63034

  • viatriskel
  • viatriskel's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
No, there is no translation at all - the survey is aimed at a specific, English-speaking population. Using lang=fr in the URL returns no title or description which makes sense if there is no French version.

The survey URL is www.viatriskel.com/limesurvey/index.php?sid=34738&lang=en - (inactive). This works correctly, but when I exit and re-start (i.e. just adding in the &newtest=Y parameter) it finds the Title and Description but no questions. :S

Edit: Hmmm, no it doesn't - only if I call it from the link in the limesurvey admin panel. That's the first time I've tried it before logging in. This time the error is "You don't have permissions ..." - in English, which is how it should be, I suppose, for an inactive survey.
Last Edit: 3 years 2 weeks ago by viatriskel.
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63042

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6192
  • Thank you received: 786
  • Karma: 238
Hello,

What is your LS version ( complete version, with the last number) ?
Can you export the survey structure and put the file here ?

Denis
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63045

  • viatriskel
  • viatriskel's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
LS Version 1.91+ Build 10377

Survey file attached.
Attachments:
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63053

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1061
  • Thank you received: 234
  • Karma: 74
I've tried your survey (both activated & desactivated);
It's working like a charm with my local installation (using 1.91 10377 too)
Clear & restart working fine ..I get the whole survey...
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
Last Edit: 3 years 2 weeks ago by Ben_V.
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63100

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6192
  • Thank you received: 786
  • Karma: 238
The administrator has disabled public write access.

Re: "newtest=Y" causing survey fail 3 years 2 weeks ago #63110

  • viatriskel
  • viatriskel's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 11
  • Karma: 0
Thank you all for your responses. I still haven't found out why there is a problem, but it is definitely local to the machine I've been working on. Following Benitov's "all OK" test, I booted up another PC with the same IP address, same OS and same browser version and everything works as it should. Obviously just one of those things ... :blink:
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.118 seconds
Donation Image