Jump to content

Recommended Posts

Posted

I have a problem with our Moodle (hosted in house Server2008+IIS7) in that I can no longer access the logs. This is the debug message I get -

 

Error: Could not insert a new entry to the Moodle log

  • line 1961 of lib\datalib.php: call to debugging()
  • line 52 of course\report\log\index.php: call to add_to_log()

Does anyone have a solution to this?

  • 2 weeks later...
Posted
Thanks kmount, that's actually a reply to one of my posts on the Moodle forums which I hadn't seen as I was too busy getting my final dissertation ready for handing in. I haven't had a chance to check the dbs yet as I spent most of the first week of Christmas hols asleep/recovering from coursework.
Posted
Managed to resolve this problem by opening MySQL Administrator on the server, selecting the mdl_log table and running the Check Table option from the Maintenance button. I assumed that if a table was "faulty" it would be highlighted in red, as has happened to me previously and I could simply use the Repair function from the Maintenance button. This wasn't the case this time but the Check Table function brought up some irregularities which have been corrected by running the Repair option. Thanks for all your help.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...