Hi everyone,I am new to LimeSurvey and quite desperate at this point.. I created a small survey with 15 questions where participants hear two audiofiles and then have to choose the one they like better and give reasons. I was successful in integrating the audiofiles and randomize the questions. Now I also want to randomize the answer options ("prefer audiofile 1", "prefer audiofile 2"). I know there should be a very simple solution:
survey-consulting.com/how-to-randomize-items-at-limesurvey/
However, nothing happens. I also tried to select all questions and go with "show subquestions and answer items in randomized order". Again, nothing happens. Instead there is a very long error report.
Teilfragen und Antwortoptionen in zufälliger Reihenfolge anzeigen
{"success":false,"message":"CDbCommand konnte das SQL-Statement nicht ausf\u00fchren: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'language' in 'where clause'","error":{"code":500,"type":"CDbException","errorCode":42,"message":"CDbCommand konnte das SQL-Statement nicht ausf\u00fchren: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'language' in 'where clause'","file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/CDbCommand.php","line":543,"trace":"#0 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/CDbCommand.php(415): CDbCommand->queryInternal('fetch', Array, Array)\n#1 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/ar\/CActiveRecord.php(1359): CDbCommand->queryRow()\n#2 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/models\/LSActiveRecord.php(74): CActiveRecord->query(Object(CDbCriteria), false)\n#3 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/ar\/CActiveRecord.php(1464): LSActiveRecord->query(Object(CDbCriteria))\n#4 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/models\/QuestionAttribute.php(169): CActiveRecord->find('qid=:qid and la...', Array)\n#5 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/controllers\/admin\/questions.php(1198): QuestionAttribute->setMultiple('323544', Array, Array, Array)\n#6 [internal function]: questions->setMultipleAttributes()\n#7 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/actions\/CAction.php(109): ReflectionMethod->invokeArgs(Object(questions), Array)\n#8 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/core\/Survey_Common_Action.php(86): CAction->runWithParamsInternal(Object(questions), Object(ReflectionMethod), Array)\n#9 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CController.php(308): Survey_Common_Action->runWithParams(Array)\n#10 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CController.php(286): CController->runAction(Object(questions))\n#11 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CController.php(265): CController->runActionWithFilters(Object(questions), Array)\n#12 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/controllers\/AdminController.php(180): CController->run('questions')\n#13 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CWebApplication.php(282): AdminController->run('questions')\n#14 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CWebApplication.php(141): CWebApplication->runController('admin\/questions...')\n#15 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/base\/CApplication.php(185): CWebApplication->processRequest()\n#16 \/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/index.php(182): CApplication->run()\n#17 {main}","traces":[{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/CDbCommand.php","line":415,"function":"queryInternal","class":"CDbCommand","type":"->","args":["fetch",[2],[]]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/ar\/CActiveRecord.php","line":1359,"function":"queryRow","class":"CDbCommand","type":"->","args":[]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/models\/LSActiveRecord.php","line":74,"function":"query","class":"CActiveRecord","type":"->","args":[{"select":"*","distinct":false,"condition":"qid=:qid and language=:language and sid=:sid","params":{":qid":"566589",":language":null,":sid":"323544"},"limit":1,"offset":-1,"order":"","group":"","join":"","having":"","with":null,"alias":null,"together":null,"index":null,"scopes":null},false]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/db\/ar\/CActiveRecord.php","line":1464,"function":"query","class":"LSActiveRecord","type":"->","args":[{"select":"*","distinct":false,"condition":"qid=:qid and language=:language and sid=:sid","params":{":qid":"566589",":language":null,":sid":"323544"},"limit":1,"offset":-1,"order":"","group":"","join":"","having":"","with":null,"alias":null,"together":null,"index":null,"scopes":null}]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/models\/QuestionAttribute.php","line":169,"function":"find","class":"CActiveRecord","type":"->","args":["qid=:qid and language=:language and sid=:sid",{":qid":"566589",":language":null,":sid":"323544"}]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/controllers\/admin\/questions.php","line":1198,"function":"setMultiple","class":"QuestionAttribute","type":"->","args":["323544",["566589"],["random_order"],["!","A","B","C","E","F","H","K","L","M","O","P","Q","R","W","Z","1",":",";"]]},{"function":"setMultipleAttributes","class":"questions","type":"->","args":[],"file":"unknown","line":0},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/actions\/CAction.php","line":109,"function":"invokeArgs","class":"ReflectionMethod","type":"->","args":[{},[]]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/core\/Survey_Common_Action.php","line":86,"function":"runWithParamsInternal","class":"CAction","type":"->","args":[{},{"name":"setMultipleAttributes","class":"questions"},{"sa":"setMultipleAttributes","iSurveyId":"323544","iSurveyID":"323544","surveyid":"323544","sid":"323544"}]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CController.php","line":308,"function":"runWithParams","class":"Survey_Common_Action","type":"->","args":[{"sa":"setMultipleAttributes","iSurveyId":"323544","iSurveyID":"323544","surveyid":"323544","sid":"323544"}]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CController.php","line":286,"function":"runAction","class":"CController","type":"->","args":[{}]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CController.php","line":265,"function":"runActionWithFilters","class":"CController","type":"->","args":[{},[]]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/application\/controllers\/AdminController.php","line":180,"function":"run","class":"CController","type":"->","args":["questions"]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CWebApplication.php","line":282,"function":"run","class":"AdminController","type":"->","args":["questions"]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/web\/CWebApplication.php","line":141,"function":"runController","class":"CWebApplication","type":"->","args":["admin\/questions\/sa\/setMultipleAttributes"]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/framework\/base\/CApplication.php","line":185,"function":"processRequest","class":"CWebApplication","type":"->","args":[]},{"file":"\/usr\/local\/www\/appl\/limesurvey\/limesurvey-4.3.16+202009\/index.php","line":182,"function":"run","class":"CApplication","type":"->","args":[]}]}}
Does anyone know what that means?? Unfortunately, I have no programming skills. However, friends of mine do. If there is a simple code to randomize items, that would also work.. I am very thankful for any advice! Anna