General help

Moodle: Error reading from database

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Rob Johnson
Re: Moodle: Error reading from database
Group Particularly helpful Moodlers

I suggest looking at the Docs for how to enable debugging in your config.php since you can't get to the admin settings.  Debugging should give you more information as to what is wrong.

Average of ratings: -
Picture of Olja Petrovic
Re: Moodle: Error reading from database

The instructions on getting more debugging info by modifying your config.php and in other ways if you can't do that, can be found here:

I quote:

In config.php

In moodle/config.php you can add the lines:

$CFG->debug = 2047;
$CFG->debugdisplay = 1;
Or even more debugging messages:

$CFG->debug = 6143;
$CFG->debugdisplay = 1;

Good luck!

Average of ratings: -