You might check if the cookie_domain is uncommented and doesn’t match the domain you are on.  I had this happen recently on a dev site and it was quite confusing.  You’d log in then be told access denied.

 

Gregg Marshall

 

From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of sanjay k. kharwar
Sent: Friday, December 13, 2013 1:54 AM
To: support@drupal.org
Subject: Re: [support] Admin Access Denied Even for Super User

 

HI ,

Can anyone help me with his/ her superior guidance. I really stuck with this problem :(

Thanks and Regards,

Sanjay

 

On Thu, Dec 12, 2013 at 8:36 PM, sanjay k. kharwar <kharwar.sanjay@gmail.com> wrote:

@ Jamie : Thanks for replying.  I have tried adding " $conf['menu_rebuild_needed'] = TRUE; " ... But it didnt worked. :(

 

On Tue, Dec 10, 2013 at 10:00 PM, Jamie Holly <hovercrafter@earthlink.net> wrote:

You haven't started using SSL on /admin* by any chance (ie: https://). If so, you might not have that set right.

Another thing to try is rebuilding the menus. Quick, hacky way of doing this if you don't have drush is to put this in your settings.php file:

$conf['menu_rebuild_needed'] = TRUE;

Visit any page once and then remove it (so you aren't rebuilding every page view) and see if that clears it up.



Jamie Holly
http://hollyit.net

On 12/10/2013 11:08 AM, Steve Kessler wrote:

Try and clear the data in it and see if that helps.

On Dec 10, 2013 7:18 AM, "sanjay k. kharwar" <kharwar.sanjay@gmail.com> wrote:

HI Steve,

Thanks for replying :)

i went through the sessions table of my drupl database using phpMyAdmin and i am able to see the data inside the sessions table properly ; uid, sid, ssid, hostname , timestamp, cache, session attributes and the values.
So i think the sessions table is not corrupt.

So please suggest me something else. Or should i try emptying the sessions table ?

 

On Fri, Dec 6, 2013 at 12:02 AM, Steve Kessler <skessler@denverdataman.com> wrote:

Make sure your sessions table is not corrupt.

On Dec 5, 2013 4:12 AM, "sanjay k. kharwar" <kharwar.sanjay@gmail.com> wrote:

Dear All,

I am stuck with a problem Please Help.! :

I can login through www.mydomain.com/user, but after login when i want to access my web
pages as adming i cant. Whenever i m clicking any link i am getting 'Access
Denied ', although i am login as the super user.

I tried to solve through all possible reasons like deleting cookies, caches
from the browser.

Also tried by un commenting ' $ cookie_domain ' from settings.php but that too doesnt solve my problem.

Tried to login from different user and then as super user. that didnt worked either.

My site is :  http://www.assignmentshelptutors.com

 

--
Sanjay K. Kharwar

---

"now is the time to enquire about the absolute truth"

 

--
[ Drupal support list | http://lists.drupal.org/ ]


--
[ Drupal support list | http://lists.drupal.org/ ]




--
Sanjay K. Kharwar
Computer Science and Engineering
IIT Delhi


---

"now is the time to enquire about the absolute truth"


--
[ Drupal support list | http://lists.drupal.org/ ]

 

 


--
[ Drupal support list | http://lists.drupal.org/ ]




--
Sanjay K. Kharwar
Computer Science and Engineering
IIT Delhi


---
athato brahma jijnasa
"now is the time to enquire about the absolute truth"




--
Sanjay K. Kharwar
Computer Science and Engineering
IIT Delhi


---
athato brahma jijnasa
"now is the time to enquire about the absolute truth"