New Moodle Install - Cant Access

New Moodle Install - Cant Access

by Jay M -
Number of replies: 1

Hi,

I have installed Moodle many times in the past, but this time its not letting me log in. I just installed  Moodle: 3.9.7 and I tried to login as an admin, with the username and pswd given and it does nothing, it doesn't say error or anything, just nothing after I submit it. I deleted this version and tried an older one and a newer one and nothing, all the same, the login field clears as if nothing has happened. Can anyone shed any light on why this is happening?

Average of ratings: -
In reply to Jay M

Re: New Moodle Install - Cant Access

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

In the first instance I'd suggest enabling debugging by adding these lines to config.php:

@error_reporting(E_ALL | E_STRICT); 
@ini_set('display_errors', '1');
$CFG->debug = (E_ALL | E_STRICT);
$CFG->debugdisplay = 1;

These need to come before the require_once(__DIR__ . '/lib/setup.php'); line at the end.

Then try logging in again and see if there's any error message on screen or in your web server's error log.