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

Oracle error in questiontype.php on line 919 (invalid character)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.8
    • 1.9.9
    • Quiz
    • None
    • Redhat Linux, Oracle 11g
    • Oracle
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

    Description

      There is an error in the sql where a semi-colan has been accidently placed into the questiontype.php file on like 919. I have removed this error and uploaded a patch for the fix

      Reproduce :

      Go into a quiz and try to create a new question eg http://moodle-techdev.cqu.edu.au/question/question.php is the page that will cause the error.

      Thu Apr 29 11:54:19 2010] [error] [client 138.77.10.72] SQL ORA-00911: invalid character in /usr/local/moodle-core/releases/rel-20100113-8/lib/dmllib.php on line 966. STATEMENT: SELECT i.,d. FROM m_question_datasets d, m_question_dataset_definitions i WHERE i.id = d.datasetdefinition AND i.category = 8349; with limits (, ), referer: http://moodle.cqu.edu.au/question/question.php?returnurl=http%3A%2F%2Fmoodle.cqu.edu.au%2Fmod%2Fquiz%2Fedit.php%3Fqpage%3D0%26amp%3Bcat%3D8349%252C17241%26amp%3Bcmid%3D58047&cmid=58047&id=54247

      Attachments

        Activity

          People

            timhunt Tim Hunt
            donkeyx David Binney
            Nobody Nobody
            Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jun/10