Gradebook Error

Gradebook Error

by Jennifer Zell -
Number of replies: 4

We have recently began experiencing error messages when we try to access the gradebook. At first, we were getting a timeout error - the page wouldn't load. Then we started getting a server error. Now it is a website error (below). Has anyone else had experience with errors when accessing the gradebook? We cannot figure out why it is happening, and neither can our IT people. Thank you!



In reply to Jennifer Zell

Re: Gradebook Error

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

How large is the gradebook?  Is it happening across all courses or just one?  What version of Moodle?  What are the errors?  Have you turned debugging on?

In reply to Emma Richardson

Re: Gradebook Error

by Jennifer Zell -

The gradebook has 8 courses, and each course has anywhere from 2 to 10 modules in it (total of 30 modules). Our content is all developed in Articulate Storyline.

It happens across most of the courses. Moodle version is 2.8.5.

The two error messages are:

  1. Timed out while waiting for session lock. Wait for your current requests to finish and try again later.
  2. HTTP 500 Internal Server Error - most likely causes: the website is under maintenance OR the website has a programming error

We assume it has something to do with the server, based on the last error message, and that it may be a programming error, we just are not sure what the error is.

With debugging, do you mean turning it on in the Moodle settings on the website or are you talking about on the back-end? Sorry, I don't know a lot about the programming side.

Thanks for your help!

In reply to Jennifer Zell

Re: Gradebook Error

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

The Moodle gradebook is course specific so it cannot have 8 courses in it...but I will just presume you mean there are 8 courses on the site and all of them are having issues.  How many students?  There have been issues where if there are a large number of students and a large number of modules, the gradebook maxes out and will not take new grades.  

Changing php settings normally resolves this.

You are using a very old version of Moodle so an upgrade could not hurt too.  Timeout means that either your php or your database connection is timing out.  

Turn debugging on in Moodle and see if that produces more error messages.  (Send output to screen at full developer mode, go to the gradebook and copy and paste anything you see back here - then turn debugging back off).

In reply to Emma Richardson

Re: Gradebook Error

by Jennifer Zell -

Yes, sorry, that is what I meant. We have over 3,000 students. Thank you for the suggestions, our programmer is looking into the php settings.

Here is the errors I got when accessing the gradebook:

Fatal error: Maximum execution time of 300 seconds exceeded in C:\Bitnami\moodle-2.8.5-1\apps\moodle\htdocs\lib\dml\mysqli_native_moodle_database.php on line 973

Fatal error: Maximum execution time of 300 seconds exceeded in C:\Bitnami\moodle-2.8.5-1\apps\moodle\htdocs\lib\classes\shutdown_manager.php on line 67

We are considering upgrading to the newest version.