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

php warning in question/backuplib.php

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      PHP Warning: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in 19_stable/question/backuplib.php on line 469
      PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments. in 19_stable/question/backuplib.php on line 469
      PHP Notice: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 6<br /><br />SELECT c.id, c.id AS dummykeyname FROM mdl_modules m,\n mdl_course_modules cm,\n mdl_context c\n WHERE m.name = 'quiz' AND m.id = cm.module AND cm.id = c.instanceid\n AND c.contextlevel = 70 AND cm.course = 4\n AND cm.instance IN ()<ul style="text-align: left"><li>line 686 of lib/dmllib.php: call to debugging()</li><li>line 1078 of lib/dmllib.php: call to get_recordset_sql()</li><li>line 469 of question/backuplib.php: call to get_records_sql_menu()</li><li>line 52 of mod/quiz/backuplib.php: call to question_insert_c_and_q_ids_for_module()</li><li>line 501 of mod/quiz/backuplib.php: call to quiz_insert_category_and_question_ids()</li><li>line 498 of bac in 19_stable/lib/weblib.php on line 6857

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                scyrma Mathieu Petit-Clair
                Reporter:
                scyrma Mathieu Petit-Clair
                Tester:
                Jérôme Mouneyrac
                Participants:
                Component watchers:
                Tim Hunt, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/08