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

Maximum execution time of 30 seconds exceeded when loading some gradebooks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.3.1
    • Gradebook
    • None
    • MOODLE_23_STABLE

      In one of our Moodle classes, clicking on the "Grades" link results in a HTTP Error 500.

      Censored Apache logs show:

      PHP Fatal error: Maximum execution time of 30 seconds exceeded in moodle/lib/grade/grade_category.php on line 920, referer: http://.../course/view.php?id=3191

      This happened once before a few weeks ago in a different course. Backing up and restoring the class resulted in a working grade book in the restored course. I'm willing to try some troubleshooting advice that anyone might have before doing the backup/restore workaround.

      Setup:
      CentOS 6.3
      PHP 5.3.3
      APC cache
      MySQL 5.1.61 (CentOS/yum version) using MyISAM engine

            andyjdavis Andrew Davis
            shaun.meyer Shaun Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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