[solved] Take Quiz Bug

Profile picture for user adon
adon
Forums
Hello, I have an issue with Quiz .After importing the quizzes on excel file and when I want to take or start the quiz, I have the following error in french : " Aucune question trouvée. Veuillez ajouter des questions ou contacter un administrateur de la plateforme. " But when I go to admin/Content, I can see them all there ? Please , what can cause this ? Thanks
Profile picture for user adon
adon

I can this in logs after take

I can this in logs after take a quiz : Type php :" Notice : Undefined offset: 3 dans _menu_translate() (ligne 777 dans localhost//elearning/includes/menu.inc)."
Profile picture for user James Aparicio
James Aparicio

Hi adon,

Hi adon, I cannot reproduce this bug. Can you test with this file please? http://www.opigno.org/quiz.xlsx Please send me your file aswell, probably it is a file formatting problem. Best regards
Profile picture for user adon
adon

OK, Thanks, I finally

OK, Thanks, I finally reinstall the core.But here is a sample of our file, the column names are different to yours. http://www.enligne-ci.net/FYLES/NH_CM_Histoire_201312281.xlsx What do you suggest us to use ? Thanks
Profile picture for user James Aparicio
James Aparicio

Hi adon,

Hi adon, After the your update, it still doesnt work? I tried your file and it worked fine. Best regards
Profile picture for user adon
adon

Ok.I was able to reproduce

Ok.I was able to reproduce the bug with the new installation.It happen when I create or import a Quiz and modify the parameters after taking once.Yes this is what is happening !!! I have reproduced several time.Here is the what I did : 1. Create or import the Quiz 2. Take the Quiz at least once 3. Modify it and save it 4. Taking it again is impossible !!! Thanks
Profile picture for user James Aparicio
James Aparicio

Hi adon,

Hi adon, I followed your instructions and can not reproduce the bug. Can you please elaborate on the steps. Exacty what question types you have, what you modified on the quiz, users roles, as detailed as possible so i can reproduce it. Best regards
Profile picture for user adon
adon

Ok.I will get back to you

Ok.I will get back to you.Thanks
Profile picture for user adon
adon

You Can have the steps here :

You Can have the steps here : http://enligne-ci.net/FYLES/ We never have this issue before.It started last sunday.We think that one of the module from drupal site may be the root cause.We will do an other install and keep only the basics features of Opigno and test again.Because on your demo site, we never have this issue. Thanks
Profile picture for user adon
adon

We ve just done some tests

We ve just done some tests and found that we are doing someting wrong on the Quiz creation procedure.What should we do first and next on Creating Class, Lesson, Cours and Quiz ? We think that they should be an order that we don't know. Thanks
Profile picture for user James Aparicio
James Aparicio

Hi adon,

Hi adon, After you choose Categorized random questions, you have to configure the categorized random questions in node/xxx/questions, otherwise no question will be selected, this is normal behavior. Best regards