By Raymondo on
I manage a drupal site on a part-time basis. I had reason to log in today as 'admin' after not having done so for some weeks. Each time I try to access things to edit/administer etc I get Access denied from drupal. I am still able to access the databse via phpMyAdmin.
Help!
Comments
You may not be getting the
You may not be getting the password right or something. The database uses md5 encrypt to store passwords. I suggest you register as a new user and put in the password you want admin to have. Then go to phpmyadmin to the users table and copy that password (md5 encrypted) from the new user record into the admin record. Then go back and try logging in as admin again.
It's not a password problem,
It's not a password problem, at least, not in the sense that the password is wrong. The site lets me log in, but refuses to let me do anything with admin privileges. In fact, I've been into the db via phpMyAdmin and the password is the one I entered (I kept the md5 encrypted version so that I could verify it by eye).
I'm at a complete loss as to how to proceed as I don't have any idea what could have gone wrong. I also get access denied when I select 'log off'. I suspect that the log on is not actually happening, but how I would check that is beyond me. Even if that is the case, what on earth could I do about it?
Information
It helps to provide some extra information: for example; if you would be running PHP 5.2, we'd know the cause and could point you to a patch (http://drupal.org/node/93945).
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
Sorry, yes, a full
Sorry, yes, a full description of the environment is in order. I don't actually know and don't know how to go about finding out myself. I'll have to ask the web site host.
Whatever has gone wrong, it has done so since the last time I accessed the system. At that time evrything was working very well. Perhaps the host has updated some software (PHP for example) which has interrupted things.
I'll find out and get back as quickly as I can.
I'm having the same problem with 4.7.4
Everything was working ok, and suddenly it said "access denied" I was logged as admin. I tried ro login again, and yes, I can log in but as soon as I click on a link, I get off.
I'm using Drupal 4.7.4
I don't know what to do.