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

Unable to create a quiz because of weird language string error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Language, Questions
    • None
    • Linux debian (2.6.34-0.slh.5-sidux-amd64), Mozilla/5.0 (X11; U; Linux x86_64; ca; rv:1.9.1.9) Gecko/20100501 Iceweasel/3.5.9 (like Firefox/3.5.9), Server version: 5.1.47-1 (Debian), PHP5 (API 20090626 )
    • MySQL
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      I was able to create a questionnaire, but never add any question. I've updated Moodle by cvs (now 2.0 version 3) and at a maximum level of debbugging support, this is the description I get:

      Coding error detected, it must be fixed by a programmer: Attempt to re-define already required string 'cancel' from lang file 'moodle'. Did you already ask for it with a different $a?

      Stack trace:

      • line 647 of /lib/outputrequirementslib.php: coding_exception thrown
      • line 250 of /lib/outputrequirementslib.php: call to page_requirements_manager->string_for_js()
      • line 863 of /lib/outputrequirementslib.php: call to page_requirements_manager->init_requirements_data()
      • line 317 of /lib/outputrenderers.php: call to page_requirements_manager->get_head_code()
      • line 23 of /theme/boxxie/layout/general.php: call to core_renderer->standard_head_html()
      • line 612 of /lib/outputrenderers.php: call to include()
      • line 570 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      • line 448 of /mod/quiz/edit.php: call to core_renderer->header()

      (It was on my first attempt to create the questionnaire, an the questions table is empty)

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              quelet Miquel Escarrà
              Nobody Nobody
              David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10