Moodle

undefined constant QUESTION_ADAPTIVE

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_16_STABLE

Description

Notice: Use of undefined constant QUESTION_ADAPTIVE - assumed 'QUESTION_ADAPTIVE' in /home/moodtest/public_html/mod/quiz/defaults.php on line 22

Where should this be defined?

Activity

Hide
Martin Dougiamas added a comment -

From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 21 March 2006, 05:06 PM:

Ooops, sorry, that is defined in lib/questionlib.php which I forgot to load in mod/quiz/lib.php. Now fixed.

From Martin Dougiamas (martin at moodle.com) Tuesday, 21 March 2006, 08:38 PM:

I looked everywhere else.

It's all looking pretty good, Gustav, nice job!

Show
Martin Dougiamas added a comment - From Gustav Delius (gwd2 at york.ac.uk) Tuesday, 21 March 2006, 05:06 PM: Ooops, sorry, that is defined in lib/questionlib.php which I forgot to load in mod/quiz/lib.php. Now fixed. From Martin Dougiamas (martin at moodle.com) Tuesday, 21 March 2006, 08:38 PM: I looked everywhere else. It's all looking pretty good, Gustav, nice job!
Hide
Michael Blake added a comment -

assign to a valid user

Show
Michael Blake added a comment - assign to a valid user

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: