I have a site that has a weird permissions issue... I get "Access Denied" when trying to go to /admin... even when logged in as user 1!

I CAN access anything under that (/admin/build, /admin/config, etc.) but not /admin itself. This kills my admin menu. I have tried clearing all caches, un/reinstalling admin modules, etc... to no avail.

Worse still, I have a dev site without the problem, but running the same codebase. This suggests it has to do with the DB. I am wondering if rebuilding the registry might solve the problem? I am not familiar enough with the registry to know if thats the case, but I am running out of ideas!

thanks,
Ron

Comments

rfay’s picture

I doubt registry rebuild will help your problem.

I did notice this: http://stackoverflow.com/questions/5018029/drupal-admin-user-profile-giv...

I seemed to remember some issue like this. The probability is that it's not *drupal* giving you a 403 for /admin, but rather either Apache or some other administration system.

You might try getting to http://yoursite.com/index.php?q=admin

If you get a 403 there, then I'd say it's probably drupal giving it to you, but if you don't... you'll know something.

omega8cc’s picture

Status: Active » Closed (cannot reproduce)