User 1 lost all privilages

Events happening in the community are now at Drupal community events on www.drupal.org.
Aleet's picture

Hello,

I've got Drupal 5 site that won't let user 1 (or anyone else with privilages) to stay logged in.

It lets me login. I see the admin the menu. But as soon as I click on ANY admin link, it says "Access Denied" and the admin menu disappears and I'm logged out.

Another user has the experience on his machine so I know it's not particular to my box, like a browser cookies issue.

Does anyone know how to troubleshoot this. I couldn't find any posts on drupal.org that matched my scenario.

thanks.

ali

Comments

Check the modules

Chris Charlton's picture

Sometimes a module can be a culprit. Is there any modules added recently?

Chris Charlton, Author & Drupal Community Leader, Enterprise Level Consultant

I teach you how to build Drupal Themes http://tinyurl.com/theme-drupal and provide add-on software at http://xtnd.us

Sounds like a sessions issue

btmash's picture

It doesn't sound like the sessions are being set properly. You mentioned using Drupal 5 - what version of php are you using? There were conflicts with Drupal session handling and certain versions of php. http://drupal.org/node/192151 deals with that issue - I applied the patch from this and my site worked like a charm after that. You could also check to see that user with uid 0 exists on your site. If not, that may also be a possible culprit.

https login maybe?

dotnoise.com's picture

I saw this happen with a drupal site that was using a module that did https logins that didn't have a valid ssl certificate configured. I had to disable the module in the database to get admin access back for the client.

============
Peter Prins
http://dotnoise.com

==========
Peter Prins
http://dotnoise.com