Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Array filter error

Array filter error 5 years 3 days ago #70438

  • lart01
  • lart01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hello!

I have one problem with array filter.
I have the survey with two question groups, in first group I have one question (Multiple Choice, code 1), in second - one question (Array, code 2). Subquestions are the same. When I use array filter in question 2, the filter works but the question is shown two times.

What I do wrong?
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70439

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
1. Which Limesurvey version do you use?

2. Can you export the survey and attach it here for testing?

3. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70442

  • lart01
  • lart01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Thank you for your answer.

1) I use the last version of lime survey
2) Yes
3) I will try
4) No, there are no errors.
Attachments:
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70447

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
The attached survey has two multiple-options questions and the filter appears to work correctly for me using the "default" template.

Can you activate a sample survey?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70449

  • lart01
  • lart01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70450

  • lart01
  • lart01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
If I turn the Format of the survey to question by question filter will work correctly.
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70451

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
Hmm...that may be a problem with your template. Test with the default template (in group-by-group mode).
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70452

  • lart01
  • lart01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
I change template to default. The result is the same. You can try.
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70456

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6574
  • Thank you received: 1477
  • Karma: 579
Well, I'm afraid I'm stumped. I can see the problem on your server but don't see any errors and can't repoduce it on my system with the latest version (11254).

Mazi (or anyone else), can you reproduce it?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Array filter error 5 years 3 days ago #70459

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9586
  • Thank you received: 1375
  • Karma: 390
I make the test too, no problem, work like a charm.

Maybe you have a problem in your database, can you make a "Check data integrity" ?

And if it's not corrected, try to export/import the survey again .

If it work, i think we can corrected the checkdataintegrity function, but you hav to found the problem in your database ???
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

Array filter error 5 years 2 days ago #70488

  • lart01
  • lart01's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Thank you! I will try.
The administrator has disabled public write access.

Array filter error 5 years 2 days ago #70504

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6029
  • Thank you received: 373
  • Karma: 260
In doubt just re-create the according questions from scratch.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"
The administrator has disabled public write access.
Time to create page: 0.269 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form