+ Post New Thread
Results 1 to 10 of 10
Virtual Learning Platforms Thread, Logs not running in Moodle in Technical; I have a problem with our Moodle (hosted in house Server2008+IIS7) in that I can no longer access the logs. ...
  1. #1

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Logs not running in Moodle

    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. #2

    Join Date
    Dec 2009
    Location
    Peterborough
    Posts
    19
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Which database are you using?

    Oracle? or MySql?

  3. Thanks to StevieC from:

    beeswax (4th January 2010)

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,956
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448
    He is using MySQL, i helped setup the server.

    Z

  5. Thanks to FN-GM from:

    beeswax (4th January 2010)

  6. #4

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131
    Thanks Zak. ^^Bump^^

  7. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,956
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448
    Is the Cron Script running? Has it ever worked on IIS7?

    What Version are you running? Might be worth trying to update

  8. #6


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,691
    Thank Post
    352
    Thanked 796 Times in 715 Posts
    Rep Power
    347
    Quick google to moodle forums reckons db corruption (here) suggesting you repair your dbs with the info here.

  9. Thanks to kmount from:

    beeswax (31st December 2009)

  10. #7

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131
    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.

  11. #8

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131
    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.

  12. #9


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,691
    Thank Post
    352
    Thanked 796 Times in 715 Posts
    Rep Power
    347
    Brill news, good start to the year

  13. Thanks to kmount from:

    beeswax (4th January 2010)

  14. #10

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131
    Yes it was. Thanks.

SHARE:
+ Post New Thread

Similar Threads

  1. Quick question for those running Moodle SSO
    By MACIT in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 22nd June 2010, 09:46 AM
  2. Running MOSS alongside Moodle
    By beeswax in forum Virtual Learning Platforms
    Replies: 5
    Last Post: 12th November 2009, 12:54 PM
  3. Sharepoint Logs
    By Sylv3r in forum How do you do....it?
    Replies: 3
    Last Post: 19th July 2009, 06:44 PM
  4. Running moodle and mahara on same linux server - OUCH virtual hosts
    By reggiep in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 1st June 2009, 01:50 PM
  5. Moodle logs
    By alan-d in forum Virtual Learning Platforms
    Replies: 7
    Last Post: 21st November 2007, 02:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •