beeswax Posted December 11, 2009 Posted December 11, 2009 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?
StevieC Posted December 17, 2009 Posted December 17, 2009 Which database are you using? Oracle? or MySql? 1
FN-GM Posted December 17, 2009 Posted December 17, 2009 He is using MySQL, i helped setup the server. Z 1
FN-GM Posted December 26, 2009 Posted December 26, 2009 Is the Cron Script running? Has it ever worked on IIS7? What Version are you running? Might be worth trying to update
kmount Posted December 26, 2009 Posted December 26, 2009 Quick google to moodle forums reckons db corruption (here) suggesting you repair your dbs with the info here. 1
beeswax Posted December 31, 2009 Author Posted December 31, 2009 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.
beeswax Posted January 4, 2010 Author Posted January 4, 2010 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now