Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20299

Fatal error when attempting to import questions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0
    • 1.9.6, 2.0
    • Questions
    • None
    • MOODLE_20_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      Simply login as an admin, browse to a course, select questions from the navigation, and then choose import and `wallah` you should see this fatal error.
      The function as it suggests is declared in both files and both files have been included, I'm not too familiar with this side of things and at a quick glace of the under lying code I figured this would be a better left for someone who has some knowledge of this area. If no one claims it however I'll take it.

      Fatal error: Cannot redeclare hotpot_utf8_to_html_entity()
      (previously declared in /var/www/m20.dev1/moodle/mod/hotpot/lib.php:2793) in /var/www/m20.dev1/moodle/question/format/hotpot/format.php on line 673

      1. Time Memory Function Location
        1 0.0103 192992 {main}

        ( ) ../import.php:0
        2 0.2502 50423264 moodleform->moodleform( ) ../import.php:48
        3 0.2513 50443480 question_import_form->definition( ) ../formslib.php:149
        4 0.2524 50673384 get_import_export_formats( ) ../import_form.php:16

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              samhemelryk Sam Hemelryk
              Nobody Nobody
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                21/Oct/09