White screen of death on survey completion

Plus d'informations
il y a 2 mois 3 semaines #171674 par DB1324
DB1324 a créé le sujet : White screen of death on survey completion
Hi there,


We are running Version 2.65.1+170522


I have created a survey and when participants submit their answers on the last page, an error seems to occur because rather than seeing the end message, they get a white screen of death. When I inspect this page, I see the following:

Uncaught ReferenceError: setJsVar is not defined


Has anyone come across this before?


I have lots of surveys up and running which work fine indicating it's something specific to this particular questionnaire, but I'm not a code expert and can't seem to fix this.

Any help much appreciated.

Thanks :)

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #171679 par Joffm
Joffm a répondu au sujet : White screen of death on survey completion
Hi,

if it seems to be specific to this questionnaire you should provide it (*.lss), so we can inspect and hopefully find the error.

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #171682 par DB1324
DB1324 a répondu au sujet : White screen of death on survey completion
Hello,

I'm not sure that I can share that file without authorisation. I was hoping the error message might be familiar to someone, but I understand if this isn't enough information to work from; back to the old trial and error.


I did find mention of this same error in another post , but my French isn't good enough to understand it..!

Thanks

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #171715 par jelo
jelo a répondu au sujet : White screen of death on survey completion
The function "setJsVar" tries to get all globally used variables.
It ensures that all JavaScript variables are set before rendering the page.

Was the survey created from scratch? Or a copy from the current LS installation? Or from a different LS installation?

Depending on the structure and length of the surveyfile, I would remove parts and check if the issue vanishes. Any question with RegExpressions?
First copy the survey and activate again. Same issue?
Then copy the survey again.
Removing all questions except one. Same issue?
If no, then use a new copy and remove parts to find the issue.
If yes, remove last question and add a question. If it still is buggy, you might need to create a new survey and start importing questions.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
Les utilisateur(s) suivant ont remercié: DB1324

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #171720 par DenisChenu
DenisChenu a répondu au sujet : White screen of death on survey completion
SetJsVar is send even if Survey broke somewhere else.

Maybe another issue elsewhere and page are broken.

1: set template to Vanilla
2: activate debug mode
3: Test again

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Les utilisateur(s) suivant ont remercié: DB1324

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #171880 par DB1324
DB1324 a répondu au sujet : White screen of death on survey completion
Thanks everyone for the guidance.

I rebuilt the survey question by question, and (naturally) the problem was with the final question:

'Date completed'
- Defaulting to today , always hidden

If I take off 'always hide this question', the survey works.

If I keep the question hidden, but take out the default, the survey works.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines #171881 par DenisChenu
DenisChenu a répondu au sujet : White screen of death on survey completion
Are you on the last version ?

Quick fix : use a short text question (finally you have same value). What default value you use : this one : www.limesurvey.org/forum/design-issues/9...date-question#110101 ?
If you are on 3.12 or 13 : please report the issue (we must accept bad value and fix it transparently)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 3 semaines - il y a 2 mois 3 semaines #171882 par tpartner
tpartner a répondu au sujet : White screen of death on survey completion
Try hiding the question by assigning a CSS class "hidden".

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Dernière édition: il y a 2 mois 3 semaines par tpartner.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 1 semaine #173775 par DB1324
DB1324 a répondu au sujet : White screen of death on survey completion
Thank you all for your help.

DenisChenu, I have gone with your solution and it works brilliantly.

We are not on the latest version, and sadly have little scope to change that at the moment.

Thanks again everyone!

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!