Can't Login as Admin

Can't Login as Admin

by Jayson Nadolny -
Number of replies: 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

Average of ratings: -
In reply to Jayson Nadolny

Re: Can't Login as Admin

by chris jones -
Hi Jayson

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

Chris jones
In reply to Jayson Nadolny

Re: Can't Login as Admin

by chris jones -
Hi Jayson

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

Chris jones
In reply to Jayson Nadolny

Re: Can't Login as Admin

by chris jones -
Hi Jayson

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

Chris jones
In reply to chris jones

Re: Can't Login as Admin

by Shane Elliott -
Picture of Core developers Picture of 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
In reply to Shane Elliott

Re: Can't Login as Admin

by 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

In reply to dougal bett

Re: Can't Login as Admin

by dougal bett -

i've just upgraded to 1.4.4 (from 1.4) and that seems to haver fixed the problem!

Dougal

In reply to Shane Elliott

Re: Can't Login as Admin

by 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

In reply to Yuda Mubiru

Re: Can't Login as Admin

by Shane Elliott -
Picture of Core developers Picture of 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?