Blank white screen when attempting to import question to question bank

Blank white screen when attempting to import question to question bank

by Kim Vickrey -
Number of replies: 6

I recently upgraded to Moodle 2.0.3.  I have read the information about the HotPot module and have uploaded that as well.  However, I still get just a blank white screen when I attempt to import questions.  I never get a box to select format or type or anything.

 

What can I do?  Need help quick!!

Average of ratings: -
In reply to Kim Vickrey

Re: Blank white screen when attempting to import question to question bank

by viral mehta -

Same is happening in my moodle web site. Can anyone help?

In reply to viral mehta

Re: Blank white screen when attempting to import question to question bank

by Andrea Bicciolo -

You may want to set Debugging on so you can see error messages: Administration->Development->Debugging.  Set "Debug message" to "Developer" and check "Display debug messages"

In reply to Andrea Bicciolo

Re: Blank white screen when attempting to import question to question bank

by Kim Vickrey -

Andrea

 

I did as you suggested and set debugging to developer.  Here are the errors that were returned.

Invalid get_string() identifier: 'blackboard_6' or component 'quiz'
  • line 5884 of /lib/moodlelib.php: call to debugging()
  • line 6474 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 2609 of /lib/questionlib.php: call to get_string()
  • line 20 of /question/import_form.php: call to get_import_export_formats()
  • line 152 of /lib/formslib.php: call to question_import_form->definition()
  • line 50 of /question/import.php: call to moodleform->moodleform()
Invalid get_string() identifier: 'blackboard_6' or component 'qformat_blackboard_6'
  • line 5884 of /lib/moodlelib.php: call to debugging()
  • line 6474 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 2611 of /lib/questionlib.php: call to get_string()
  • line 20 of /question/import_form.php: call to get_import_export_formats()
  • line 152 of /lib/formslib.php: call to question_import_form->definition()
  • line 50 of /question/import.php: call to moodleform->moodleform()
Invalid get_string() identifier: 'hotpot' or component 'quiz'
  • line 5884 of /lib/moodlelib.php: call to debugging()
  • line 6474 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 2609 of /lib/questionlib.php: call to get_string()
  • line 20 of /question/import_form.php: call to get_import_export_formats()
  • line 152 of /lib/formslib.php: call to question_import_form->definition()
  • line 50 of /question/import.php: call to moodleform->moodleform()
Invalid get_string() identifier: 'hotpot' or component 'qformat_hotpot'
  • line 5884 of /lib/moodlelib.php: call to debugging()
  • line 6474 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 2611 of /lib/questionlib.php: call to get_string()
  • line 20 of /question/import_form.php: call to get_import_export_formats()
  • line 152 of /lib/formslib.php: call to question_import_form->definition()
  • line 50 of /question/import.php: call to moodleform->moodleform()


Fatal error: Cannot redeclare get_course_media_files() (previously declared in /home/depewps/public_html/moodle/question/format/qti2/qt_common.php:18) in /home/depewps/public_html/moodle/question/format/qti_two/qt_common.php on line 33

 

What can I do to fix these?

In reply to Kim Vickrey

Re: Blank white screen when attempting to import question to question bank

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The qti2 folder should no longer exists.

Did you, by any chance, try to upgrade by copying the new Moodle files on top of the old files? That does not work, as you found.

The correct way to upgrade is (assuming your Moodle is installed with the code in a folder called Moodle):

  1. Upload the new version of moodle in a folder called moodle_new
  2. copy config.php from moodle to moodle_new
  3. rename moodle to moodle_old
  4. rename moodle_new to moodle

(Or, something equivalent to that.)

In reply to Kim Vickrey

Re: Blank white screen when attempting to import question to question bank

by Kimberly Noseworthy -

Kim, It's been a few months, so you may have discovered a resolution to this problem?  If you have, I'd love to know what you did, as we are having the same issue.  We also have problems importing questions from one Moodle course to another. 

The work-around we are currently using is to keep the test banks under 1,000 questions.  Questions are now being stored in courses that only contain 1,000 or less questions.  We then import the questions into the instructor's courses.

Kim

In reply to Kimberly Noseworthy

Re: Blank white screen when attempting to import question to question bank

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If you are getting a blank screen, turn on Debugging to get an error message that tells you what is wrong.