View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
03672Bug reportsSurvey takingpublic2009-09-15 12:30
Reporteruser4829Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.85+ 
Summary03672: Error message after last 5 point array message
Description

Warning: array_unique() [function.array-unique]: The argument should be an array in /var/www/l3s8513/html/home/North_Alliance/limesurvey/index.php on line 2528

Warning: Invalid argument supplied for foreach() in /var/www/l3s8513/html/home/North_Alliance/limesurvey/index.php on line 2530

Warning: Cannot modify header information - headers already sent by (output started at /var/www/l3s8513/html/home/North_Alliance/limesurvey/index.php:2528) in /var/www/l3s8513/html/home/North_Alliance/limesurvey/common.php on line 4146

The error shows up after you click on send after the last question. In that case (enviar = send)

Additional Information

MySQL-Zeichensatz: UTF-8 Unicode (utf8)

Apache/1.3.39 (Unix) (UD Media) PHP/5.2.10-pl1-udmedia with Suhosin-Patch mod_fastcgi/2.4.6 mod_ssl/2.8.30 OpenSSL/0.9.8f DAV/1.0.3

TagsNo tags attached.
Attached Files
limesurvey_survey_56251-short.csv (5,273 bytes)   
# LimeSurvey Survey Dump
# DBVersion 138
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","listpublic","htmlemail","tokenanswerspersistence","usecaptcha","bounce_email","publicstatistics","publicgraphs","assessments","usetokens","attributedescriptions"
"56251","1","Michael Anlauf","N","","","Michael.Anlauf@gmail.com","Y","","S","basic","es","","N","N","0","N","Y","0","N","Y","N","N","N","2009-09-07","N","Y","N","D","Michael.Anlauf@gmail.com","N","N","Y","N",""

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"636","56251","Gestión de la información","0","","es"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"3162","56251","636","A","7","Gestión de la información","","","N","Y","0","0","0","es"

#
# ANSWERS TABLE
#
"qid","code","answer","default_value","sortorder","language","assessment_value"
"3162","1","Reportes contables automáticos","N","1","es","0"
"3162","2","Estados de Resultados mensuales comparados con presupuesto","N","2","es","0"
"3162","3","Estado de Resultados comparados con información proyectada","N","3","es","0"

#
# CONDITIONS TABLE
#

#
# LABELSETS TABLE
#

#
# LABELS TABLE
#

#
# QUESTION_ATTRIBUTES TABLE
#

#
# ASSESSMENTS TABLE
#
"id","sid","scope","gid","name","minimum","maximum","message","language"
"47","56251","T","0","Maximo","97","145"," ","es"
"45","56251","T","0","Mínimo","1","48"," ","es"
"46","56251","T","0","Medio","49","96"," ","es"
"66","56251","G","636","Gestión de la información","1","5","<span class=""Apple-style-span"" style=""font-size: 10px; "">Organice y gestione la informaci&oacute;n y el conocimiento de la organizaci&oacute;n, desde la identificaci&oacute;n de su necesidad hasta su empleo, a fin de tomar decisiones &oacute;ptimas.</span>&nbsp;","es"
"67","56251","G","636","Gestión de la información","6","10","<span class=""Apple-style-span"" style=""font-size: 10px; "">Debe estandarizar el uso de la informaci&oacute;n que le proveen sus sistemas y procedimientos, de manera de obtener indicadores &uacute;tiles y oportunos para la gesti&oacute;n.</span>&nbsp;","es"
"68","56251","G","636","Gestión de la información","11","15","<span class=""Apple-style-span"" style=""font-size: 10px; "">Su sistema permite contar con informaci&oacute;n oportuna y confiable para la toma de decisiones por parte de la direcci&oacute;n.</span>&nbsp;","es"

#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_url","surveyls_endtext","surveyls_dateformat"
"56251","es","Test management","","","","Invitación para participar en la encuesta","Estimado/a {FIRSTNAME} {LASTNAME}:\n\nHa sido invitado a participar en la siguiente encuesta:\n\n«{SURVEYNAME}»\n\n«{SURVEYDESCRIPTION}»\n\nPara hacerlo, por favor pulse en el siguiente enlace:\n\n{SURVEYURL}\n\nMuchas gracias por su interés y colaboración.\nAtentamente,\n\n{ADMINNAME} ({ADMINEMAIL})","Recordatorio para participar en la encuesta","Estimado/a {FIRSTNAME} {LASTNAME}:\n\nRecientemente se le invitó a participar en la encuesta de título\n\n«{SURVEYNAME}»\n\n«{SURVEYDESCRIPTION}»\n\nAdvertimos que aún no la ha completado, y de la forma más atenta queríamos recordarle que todavía se encuentra disponible si desea participar.\n\nPara hacerlo, por favor pulse en el siguiente enlace:\n\n{SURVEYURL}\n\nNuevamente le agradecemos su interés y colaboración.\nAtentamente,\n\n{ADMINNAME} ({ADMINEMAIL})","Confirmación de Registro en la Encuesta","Estimado/a {FIRSTNAME} {LASTNAME}:\n\nUsted, o alguien utilizando su dirección de correo electrónico, se ha registrado para participar en una encuesta en línea titulada \n\n«{SURVEYNAME}»\n\n«{SURVEYDESCRIPTION}»\n\nPara completarla, pulse en la siguiente dirección:\n\n{SURVEYURL}\n\nSi tiene cualquier duda con respecto a la encuesta, o si no se registró para participar y cree que este correo es un error, por favor, póngase en contacto con {ADMINNAME} en {ADMINEMAIL}.","Confirmación de encuesta completada","Estimado/a {FIRSTNAME} {LASTNAME}:\n\nEste correo es para confirmarle que ha completado la encuesta titulada ""{SURVEYNAME}"" y sus respuestas han quedado correctamente guardadas.\n\n ¡Muchas gracias por su participación!.\n\nSi tiene alguna duda o consulta adicional, por favor póngase en contacto con {ADMINNAME} en {ADMINEMAIL}.\n\nReciba un muy cordial saludo,\n\n{ADMINNAME}","","","1"

#
# QUOTA TABLE
#

#
# QUOTA_MEMBERS TABLE
#

#
# QUOTA_LANGUAGESETTINGS TABLE
#

Bug heat6
Complete LimeSurvey version number (& build)1.85
I will donate to the project if issue is resolved
BrowserSafari Version 4.0.3 (6531.9)
Database type & versionMySQL-Client-Version: 5.0.70
Server OS (if known)Linux
Webserver software & version (if known)Apache/1.3.39 (Unix)
PHP Version5.2.10-pl
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

user4829

2009-09-10 14:32

  ~09493

Same error message in Firefox 3.5.2 OS X

Mazi

Mazi

2009-09-10 14:58

updater   ~09494

I can reproduce the problem with yesterdays dev version. It doesn't matter whether the survey is activated or not.
I can also reproduce the problem if only the last group remains and all other groups are deleted. I attached a shorter survey (only last group/question) for testing.

c_schmitz

c_schmitz

2009-09-10 16:51

administrator   ~09500

The original reason is that there are assessments set on this question - even though this question type does not support assessments. Please refer to the assessment documentation on supported question types. Remove the assessments on this question and the error will be gone.

I fixed the error message in the current dev version.

user4829

2009-09-10 17:33

  ~09502

Hi first thanks for you work on this problem.
After reading the instruction i understand you cant set assesments at all to array question. The script will use, in that case, the 5 points as value 1,2,3.4.5.
From here: http://docs.limesurvey.org/tiki-index.php?page=Assessments&structure=English+Instructions+for+LimeSurvey
"Array (Multi Flexible) (Numbers)
In this question type the chosen values in the select boxes will used as the value for assessment."
What i did actually was only define assessment rules for what should shown after finishing.
Or did i misunderstand something?

Saludos, Michael

c_schmitz

c_schmitz

2009-09-10 17:40

administrator   ~09503

The manual says

Question types not being assessed

* 5 point choice
* Array (5 point choice) 

"Array (Multi Flexible) (Numbers)" is a different question type than the one you are using in your survey

Mazi

Mazi

2009-09-10 17:41

updater   ~09504

The question type you used is "5 point choice" which is listed as not being assessed: http://docs.limesurvey.org/tiki-index.php?page=Assessments&structure=English+Instructions+for+LimeSurvey#Question_types_not_being_assessed

user4829

2009-09-10 18:08

  ~09507

Sorry, yes was my mistake.
Thanks for your help.

Michael

Mazi

Mazi

2009-09-10 18:45

updater   ~09509

You're welcome. If you like Limesurvey chekc donate.limesurvey.org.

Issue History

Date Modified Username Field Change
2009-09-10 14:26 user4829 New Issue
2009-09-10 14:26 user4829 Status new => assigned
2009-09-10 14:26 user4829 Assigned To => user372
2009-09-10 14:26 user4829 File Added: limesurvey_survey_56251.csv.zip
2009-09-10 14:26 user4829 Build Number => 1.85
2009-09-10 14:26 user4829 Browser => Safari Version 4.0.3 (6531.9)
2009-09-10 14:26 user4829 Database & DB-Version => MySQL-Client-Version: 5.0.70
2009-09-10 14:26 user4829 Operating System (Server) => Linux
2009-09-10 14:26 user4829 Webserver => Apache/1.3.39 (Unix)
2009-09-10 14:26 user4829 PHP Version => 5.2.10-pl
2009-09-10 14:32 user4829 Note Added: 09493
2009-09-10 14:58 Mazi Note Added: 09494
2009-09-10 14:58 Mazi File Added: limesurvey_survey_56251-short.csv
2009-09-10 15:00 Mazi Assigned To user372 => c_schmitz
2009-09-10 16:51 c_schmitz Note Added: 09500
2009-09-10 16:57 c_schmitz Status assigned => resolved
2009-09-10 16:57 c_schmitz Resolution open => fixed
2009-09-10 17:33 user4829 Note Added: 09502
2009-09-10 17:40 c_schmitz Note Added: 09503
2009-09-10 17:41 Mazi Note Added: 09504
2009-09-10 18:08 user4829 Note Added: 09507
2009-09-10 18:45 Mazi Note Added: 09509
2009-09-15 12:30 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking