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

Error 500 in modules pages after update from 2.4.3+ to 2.4.4+

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide
      1. For user with editingteacher role with default capabilities:
      2. Browse course view page
      3. Create/edit/view module, make sure there are no errors
      4. Take away capability 'manageblocks' from editingteacher
      5. Browse course view page
      6. Create/edit/view module, make sure there are no errors
      Show
      For user with editingteacher role with default capabilities: Browse course view page Create/edit/view module, make sure there are no errors Take away capability 'manageblocks' from editingteacher Browse course view page Create/edit/view module, make sure there are no errors

      After update from 2.4.3+(2012120303.03) to 2.4.4+(2012120304.04) all modules pages (mod/xxx/view.php, mod/xxx/index.php and edit page) generate a error 500 when several users request are done.
      updated: Users with capability 'moodle/course:manageactivities' but without capability 'moodle/course:manageblocks'

      I've done some tests to trouble checking it.

      I found that it can be solved in two way:
      1) unenroll and then re-enroll all the troubled users from courses.
      2) add a missing variable definition $baseurl in moodle/lib/navigationlib.php function load_course_settings produce an error at line 3565; at now $baseurl is defined in if branch (line 3545 and 3549).

      I don't understand why the first solution works, I found it just when I try to reproduce the error.

      Moodle 2.5 is not affected because that function was rewritten.

      If anyone can reproduce this please comment this issue.

            marina Marina Glancy
            upo Roberto Pinna
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.