Can't Login as Admin

Can't Login as Admin

Jayson Nadolny -
回帖数:9

I just installed Moodle and there was a fatal error right before I was able to select an admin login.  I tried the trick listed in the instructions, login as admin and password admin, but that did not work.  How can I reset this? 

Jayson Nadolny

回复Jayson Nadolny

Re: Can't Login as Admin

chris jones -
Hi Jayson

I am encountering the same problem -have you been able to resolve this yet

Chris jones
回复Jayson Nadolny

Re: Can't Login as Admin

chris jones -
Hi Jayson

I am encountering the same problem -have you been able to resolve this yet

Chris jones
回复Jayson Nadolny

Re: Can't Login as Admin

chris jones -
Hi Jayson

I am encountering the same problem -have you been able to resolve this yet

Chris jones
回复chris jones

Re: Can't Login as Admin

Shane Elliott -
Core developers的头像 Plugin developers的头像
If you can access the database directly (eg using phpMyAdmin) then you can manually create your admin account. Check out:
http://moodle.org/mod/forum/discuss.php?d=19561&parent=92786
回复Shane Elliott

Re: Can't Login as Admin

dougal bett -

I'm getting the same error.

I've tried editing the tables and my 'guest' now has some admin rights... but can't edit user accounts....

Dougal

回复Shane Elliott

Re: Can't Login as Admin

Yuda Mubiru -

Hello Shane,

I've tried the solution you highlighted in the post http://moodle.org/mod/forum/discuss.php?d=19561&parent=92786
but with no luck.

I even tried deleting my database and re-populating it via the installation process but this too proved futile (but then again i did manually fill in and create the config.php file from config-dist.php: could this be the cause). I don't get a screen asking me to set a password for the admin account and instead the installation takes me directly to the moodle frontpage.

When i try to login, no error is displayed and i get the frontpage once again telling me that i am not logged in. This happens even from the admin login page.

I am running a Fedora Core 3 machine with Php 4.3.9 and Apache 2.0.52

Any help appreciated

Yuda

回复Yuda Mubiru

Re: Can't Login as Admin

Shane Elliott -
Core developers的头像 Plugin developers的头像
If you are not staying logged in then it sounds like a problem with cookies, sessions etc and/or caching - try to bypass any proxies while you are setting up.

Are you able to log in as the guest user?