Since this *really* sounds just like the &quot;cookies not enabled in browser&quot; situation, I just wanted to mention something I&#39;m sure you already tried, which is accessing it from a different browser or computer.<br>
<br>It&#39;s trivial to make all drupal logins stop working: You just turn off cookies in the browser, and it works just like you&#39;re describing.<br><br>-Randy<br><br><div class="gmail_quote">On Tue, Feb 23, 2010 at 5:30 PM, <a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a> <span dir="ltr">&lt;<a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You can always edit the database directly.<br>
<br>
It sounds like a cookie problem, though.  Try setting the cookie domain explicitly in your settings.php file to just <a href="http://example.com" target="_blank">example.com</a> (not <a href="http://www.example.com" target="_blank">www.example.com</a>, or whatever).<br>

<br>
Also, check to make sure that uid 0 is still intact in the database. That&#39;s another common source of weirdness, in my experience.<br>
<br>
--Larry Garfield<div><div></div><div class="h5"><br>
<br>
Tomáš Fülöpp (<a href="http://vacilando.org" target="_blank">vacilando.org</a>) wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Is there a backdoor way to force admin login if everything fails? Something like the way $update_free_access is changed to TRUE to allow running update.php....?<br>
<br>
A client got locked out of D6.15 completely, including admin. Login seems to work (I see admin only links on logon), cookies are set, but only on the initial page.... any subsequent click is treated as done by an anonymous user (checked the watchdog this way). I&#39;ve cleared all browser caches, Drupal caches via the db, also the Drupal sessions table, checked the cookie domain, the admin user record exists in the user table, etc. in settings.php, deleted and re-uploaded D6.15. Nothing in the php logs. Nothing unusual in watchdog - just access denied by anonymous... Spent an equivalent of a day on this but I know there is a ton of things I can still try - e.g. rebuild access rights. But I do need to log in first, only by myself. So... is there a way to force admin login? Cannot find this info anywhere.<br>

<br>
Thanks!<br>
<br>
Tomáš<br>
<br>
</blockquote>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Randy Fay<br>Drupal Development, troubleshooting, and debugging<br><a href="mailto:randy@randyfay.com">randy@randyfay.com</a><br>+1  970.462.7450<br><br>