Login problems

Login problems

by Aner Behlic -
Number of replies: 4

Hello I am running a small moodle server for my community and a week ago everything was working fine suddenly no one can log in everyone gets the message invalid username or password, I believe that the passwords may have expired, can anyone help me how to fix this to re/enable the passwords, currnetly I cannot do anything because my main admin account isnt working either can anyone help me solve this somehow using the config file, I also cant log in as guest either

Version is 3.0.2, thanks in advance!

Average of ratings: -
In reply to Aner Behlic

Re: Login problems

by Ken Task -
Picture of Particularly helpful Moodlers

Turn on debugging by using the debug lines in config-dist.php into your config.php file.

See https://docs.moodle.org/36/en/Debugging

It would help to know a little more about server ... operating system is?  if linux, what flavor.  If linux, do you have ssh access as root or can do sudo.  Etc.

SoS, Ken

In reply to Ken Task

Re: Login problems

by Aner Behlic -
Its on my Windows 2012 R2 server and moodle is set on MariaDB database, If you'd have some free time I could offer you my contact and teamviewer settings so we can sort it out I'd appreciette it very much, I am not very best with IT knowledge, I am on a pretty basic level, eitherway, I'll enable the debugger and send what it says. Thanks in advance
In reply to Aner Behlic

Re: Login problems

by Ken Task -
Picture of Particularly helpful Moodlers

Debugger first ... Am not Windows person.   Don't own TeamViewer ($$$).

So let's hope Debugger gives clues.

*ANY* Windows oriented community member welcome to jump in here ... all I did was start the conversion. smile

SoS, Ken


In reply to Ken Task

Re: Login problems

by Aner Behlic -

Hi, I enabled the debug with adding $CFG->debugusers = '2'; to my config however, it doesn't give me any debug when I try to login or I don't know where to find it?