Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1
  • 2

THEMA: Unable to preview / skips to the end

Unable to preview / skips to the end 1 Jahr 8 Monate her #90760

  • mvdct
  • mvdcts Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Dank erhalten: 1
  • Karma: 0
Hi forum,

I wonder if you can help?

I've been playing around with limesurvey for a few months. I'm now giving my students limesurvey to play around with. In order to help them out I exported a few question groups for them to upload. 'Some' have managed to upload the question groups easily!

However, when I then get them to preview their new questionnaire things seem to come unstuck.
In two instances both students encounter the same issue. The welcome screen and the first uploaded question group previews but then the preview seems to jumps to the end of the questionnaire as if not other questions groups exist. Both students experience this same behaviour from limesurvey even though both have different questions groups on that first page.

I should be clear that question groups preview and behave well in my survey.

I have a feeling I'm missing something obvious, but I'm not sure what it is!
Any ideas?

With thanks in advance.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #90761

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
What version and can you attach the offending survey here?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #90771

  • mvdct
  • mvdcts Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Dank erhalten: 1
  • Karma: 0
Hi,
Thanks for the reply.
In answer to your questions:
1. The latest version: Version 2.00+ Build 130103
2. Do you mean can I attach the *.lss? If so, now attached.
Thanks in advance
Anhang:
Letzte Änderung: 1 Jahr 8 Monate her von mvdct.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #90832

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
I am able to reproduce the issue and have submitted a bug report (bugs.limesurvey.org/view.php?id=7161) that may be related.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mvdct

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #90836

  • mvdct
  • mvdcts Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Dank erhalten: 1
  • Karma: 0
Thanks for the help.

Interestingly, playing around with the order the question groups seem to have resolved the problem. It now previews.

Does that shed any more light on what was cuasing the problem in the first place?

With thanks
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #91008

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
I temporarily fixed my PHP error that I see when attempting to preview the questions and found that if you try to make this survey active you receive the following:
Activate survey(747174)
Error
Survey does not pass consistency check
 
The following problems have been found:
 
    Group gid-205 ("PSS"): This group does not contain any question(s).
    Group gid-206 ("GHQ"): This group does not contain any question(s).
 
The survey cannot be activated until these problems have been resolved.

I thought there was an issue with the first time that I downloaded your file, so I did another download with the same results. Both of the question groups in fact do not have any questions.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mvdct

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #91012

  • mvdct
  • mvdcts Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Dank erhalten: 1
  • Karma: 0
Thank you for your continued help on this topic.

You are right, the .lss did have two empty question groups at the end of the survey. They were empty because the student hadn't created those question groups yet.

i. Any idea why empty question groups right at the end of the survey would prevent viewing the rest of the survey? Why would limesurvey successfully show the welcome screen and then the first page of the questionnaire before then skipping to the end?

ii. Sadly, the other one of my students who was having a problem previewing her survey hadn't created any other question groups. The survey contains no empty question groups. So we may not have quite got to the bottom of this problem.

Again, thank you for your help.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #91014

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
There could be a multiple ways of looking at what LimeSurvey intends for the preview. First, would be that no matter what error that there would be a preview; second, would be to attempt to display as much as possible without running into an error condition - of course, the second appears to be the case here. In addition, the survey logic checker does not check the syntax of potentially incomplete surveys.

Your second problem I believes stems from an error in the LimeSurvey code (see my bug report bugs.limesurvey.org/view.php?id=7161) - to make sure you may want have your second student turn on full debugging by changing their config:

Change the following:
// Use the following config variable to set modified optional settings copied from config-defaults.php
    'config'=>array(
    // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
    // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
    // on your webspace.
    // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
        'debug'=>0,
        'debugsql'=>0 // Set this to 1 to enanble sql logging, only active when debug = 2
    )

to the following:
// Use the following config variable to set modified optional settings copied from config-defaults.php
    'config'=>array(
    // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this
    // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory
    // on your webspace.
    // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates
        'debug'=>2,
        'debugsql'=>1 // Set this to 1 to enanble sql logging, only active when debug = 2
    )
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mvdct

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #91052

  • mvdct
  • mvdcts Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 41
  • Dank erhalten: 1
  • Karma: 0
again, thanks for the ongoing advice.

can i just check a dboule check a couple of things.

1. if we change the code in config-defaults.php it looks like we'll get more strict error message reporting, is that right?

2. i haven't edited a config-defaults.php in limesurvey before. i imagine i have the students users accounts locked down too tightly for them to edit this file. is it one file per user, or one per installation?

best
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Unable to preview / skips to the end 1 Jahr 8 Monate her #91113

  • helper
  • helpers Avatar
  • OFFLINE
  • Expert Lime
  • Beiträge: 126
  • Dank erhalten: 18
  • Karma: 0
The config.php (located in a sub-directory within each installation is at .../application/config/config.php). If your students can only modify the survey itself then this file will not be available for edit for them. Oh, and take note that this file is "config.php" and not "config-defaults.php" -- the second file is used at installation as a template for the creation of config.php.

The good thing about having this switch turned on to "2" is that you get real error reporting instead of something that may be sidestepped by the PHP runtime. And... I have seen no negative affects to have this switch on if your surveys are all in good shape.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: mvdct
  • Seite:
  • 1
  • 2
Moderatoren: ITEd
Ladezeit der Seite: 0.283 Sekunden
Donation Image