when i try to add questions from question bank browser getting stuck

when i try to add questions from question bank browser getting stuck

- Kanushka Martinus の投稿
返信数: 2

We upgraded from 2.9.1 to 3.5.3. 

we can make a quiz but when i click "edit quiz" and attempt to show the question bank the browser just freezes when trying to load the question bank.  i have made the questions in the bank and  then trying to add them to the quiz.  However the screen just sits there as if it is frozen.  You have to close the browser and reopen it to try again but it continues to happen.

I made a quiz in another course and added questions from the bank.  However in that course, I only had a few questions in the bank rather than a lot .  These other classes have a large number of questions in their categories within their question bank and the bank is not loading.

I turned on debugging but it won't show any errors since the screen just freezes.  I have tried this in both firefox and chrome with no success.

Please help.

Thank you


Kanushka Martinus への返信

Re: when i try to add questions from question bank browser getting stuck

- Tim Hunt の投稿
画像 Core developers 画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Peer reviewers 画像 Plugin developers
Can you try looking in your web browser's developer tools. You can nomally get this by pressing F12, then look for something called 'Console'. Is there anything that looks like an error message in there? If so, please copy and paste the full message here.
Tim Hunt への返信

Re: when i try to add questions from question bank browser getting stuck

- Ahmed Saad の投稿

We are stuck at the same problem this is what we are getting in console, can anyone help


Uncaught SyntaxError: Unexpected token  in JSON at position 0

    at JSON.parse (<anonymous>)

    at i.load_done (yui_combo.php?m/1579675704/question/qbankmanager/qbankmanager-min.js&m/1579675704/mod_quiz/quizquestionbank/quizquestionbank-min.js:2)

    at e.Subscriber._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:40)

    at e.Subscriber.notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:40)

    at e.CustomEvent._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:39)

    at e.CustomEvent._procSubs (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:39)

    at e.CustomEvent.fireSimple (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:39)

    at e.CustomEvent._fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:39)

    at o.fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:40)

    at o._evt (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js&rollup/1579675704/mcore-min.js:206)