Moodle

Quiz does not display questions - displays a blank page

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
     Linux fiji 2.4.32-grsec-opteron-peon-1.1.1 #1 SMP Fri Dec 21 15:45:17 PST 2007 i686 - php 5.2.6
  • Affected Branches:
    MOODLE_19_STABLE

Description

When I create a quiz I cannot see the questions - I get a blank page. However, I can preview the quiz (have seen this problem in the forums, but can't find a resolution)
If I change the URL from //...moodle/mod/quiz/view.php?id=4 to //...moodle/mod/quiz/attempt.php?id=4, then I can view the questions successfully.
When I turn bugging on, I get the following error when I click on a quiz:
Page class mapping requested for unknown type: http:--www.theremittancemen.co.nz-moodle-mod-quiz-view

  • line 100 of /moodle/lib/pagelib.php: call to debugging()
  • line 65 of /moodle/lib/pagelib.php: call to page_map_class()
  • line 50 of /moodle/lib/pagelib.php: call to page_create_object()
  • line 49 of /moodle/mod/quiz/view.php: call to page_create_instance()

Notice: Undefined index: http:--www.theremittancemen.co.nz-moodle-mod-quiz-view in /home/.massey/donh/theremittancemen.co.nz/moodle/lib/pagelib.php on line 103

Notice: Undefined index: http:--www.theremittancemen.co.nz-moodle-mod-quiz-view in /home/.massey/donh/theremittancemen.co.nz/moodle/lib/pagelib.php on line 104
Page class mapping for id "http:--www.theremittancemen.co.nz-moodle-mod-quiz-view" exists but class "" is not defined

  • line 104 of /moodle/lib/pagelib.php: call to debugging()
  • line 65 of /moodle/lib/pagelib.php: call to page_map_class()
  • line 50 of /moodle/lib/pagelib.php: call to page_create_object()
  • line 49 of /moodle/mod/quiz/view.php: call to page_create_instance()

Notice: Undefined index: http:--www.theremittancemen.co.nz-moodle-mod-quiz-view in /home/.massey/donh/theremittancemen.co.nz/moodle/lib/pagelib.php on line 107

Fatal error: Class name must be a valid object or a string in /home/.massey/donh/theremittancemen.co.nz/moodle/lib/pagelib.php on line 67

Issue Links

Activity

Hide
Tim Hunt added a comment -

The linked issue, MDL-11061, has quite a lot of information about what causes this. Basically, it is a configuration issue.

Show
Tim Hunt added a comment - The linked issue, MDL-11061, has quite a lot of information about what causes this. Basically, it is a configuration issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: