Welcome, Guest
Username: Password: Remember me

TOPIC: Questions randomly disappear

Questions randomly disappear 11 months 1 week ago #101551

  • Spronk
  • Spronk's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi everyone,

for my survey the participants need to fill in properties that are true for given objects. Those objects are pictures. So I've made a question group (question by question) with 30 questions. Every question is basicly a picture with a "long range text" underneath it. However. While running a preview of the whole survey, some questions disappear randomly. For example, sometimes picture #11 disappears but sometimes it does not. Also the order of disappearence is random. Sometimes the third question gives a blank screen, sometimes it does not. Usually around the half of all questions don't appear. According to the Question-Logic file, everything works fine... but it does not!

Please help me out.

Thank you very much!

__
I use LimeSurvey 2.00+
The administrator has disabled public write access.

Questions randomly disappear 11 months 1 week ago #101573

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4263
  • Thank you received: 801
  • Karma: 367
Are there any conditions or relevance applied to the questions?

Does the whole question disappear or just the images.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: Spronk

Questions randomly disappear 11 months 1 week ago #101588

  • Spronk
  • Spronk's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Well, the whole question disappear. The thing I could think of, is that the questions are randomised. But I didn't find an error on that. But redoing everything. And so far, that version works fine. Thank you for your reply though :)
The administrator has disabled public write access.

Questions randomly disappear 11 months 6 days ago #101605

  • mofog
  • mofog's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 3
  • Karma: 2
Hi there. I think I'm experiencing the same strange behavior. Did you resolve this by just re-doing everything? If so, what did you do differently the second time? Thanks.

I discovered that this only happens if the question groups as well as the individual questions are randomized via one randomization group. If I remove that randomization group – and make the survey thus static – no question disappears.
Attachments:
Last Edit: 11 months 6 days ago by mofog.
The administrator has disabled public write access.

Questions randomly disappear 11 months 6 days ago #101617

  • Spronk
  • Spronk's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
Hi mofog,

I had the exact same screen. I made the same discovery while re-doing everything. This problem is solved now. Topic closed?
The administrator has disabled public write access.

Questions randomly disappear 11 months 6 days ago #101618

  • mofog
  • mofog's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 3
  • Karma: 2
Hi Spronk!
Spronk wrote:
I made the same discovery while re-doing everything.

Does that mean that you're still facing this problem or did it go away just after deleting and creating a new survey? I don't really feel that this is solved, is it?
The administrator has disabled public write access.

Questions randomly disappear 11 months 6 days ago #101619

  • Spronk
  • Spronk's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 4
  • Karma: 0
For my survey, it is solved now though.
The administrator has disabled public write access.

Questions randomly disappear 11 months 10 hours ago #101726

  • mofog
  • mofog's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 3
  • Karma: 2
I'm sorry, I re-created the same survey over and over again and I'm still facing this problem. Could anyone help me out, please? Thanks.

Edit:
I narrowed it down to the following line of code in SurveyRuntimeHelper.php:
foreach ($qanda as $qa) // one entry per QID
{
  if ($gid != $qa[6]) {
    continue; // <-- this happens
  }

Apparently, the question's group id does not match the id of the currently presented group. Strange.
Since there are quite a few magic numbers and ambiguous variables in the code, I could not discover the root of the problem yet.
Last Edit: 11 months 9 hours ago by mofog.
The administrator has disabled public write access.

Questions randomly disappear 11 months 8 hours ago #101740

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4263
  • Thank you received: 801
  • Karma: 367
Please file a bug report and...

1. Give as much information as possible.
2. Provide step-by-step instructions how to reproduce the problem.
3. Provide screenshots and a sample survey.
4. Post the link to the bug here so we can follow the progress.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Questions randomly disappear 11 months 7 hours ago #101745

  • mofog
  • mofog's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 3
  • Karma: 2
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.180 seconds
Donation Image