When disabling the HTTP Authentication module and log out I can no longer login. I get "Page not Found" on all pages but the front page. The URL reads http://localhost/?q=httpauth&destination=admin.

To get back in I have to enable the module with MySQL Administrator > System > Status=1, and run update.php.

But then it's enabled again, and I want it disabled.

What do I do?

Comments

decafdennis’s picture

The problem is that your access denied pages are broken. Instead of an access denied page, they show a page not found page. This problem has been solved in the latest development release per issue #272029. I'm sorry for the inconvenience.

However, it's weird that you cannot login. You should be fine going to /user, since that should never give an access denied page.

Anyway, apparently you know how to edit your database, so these are instructions on how to fix your access denied page:

  1. in the variable table, remove the record with name = site_403;
  2. in the cache table, remove the record with cid = variables (or you can just truncate/clear the entire cache table).

When it's available (should be soon) you should upgrade to httpauth-6.x-1.1 to prevent the problem from occurring again.

decafdennis’s picture

(The issue # should have been a link... here it is: #272029: hook_disable)

erikkramer’s picture

Ok, downloaded the new version, 6.x-1.1. All systems go. Thanks!

decafdennis’s picture

Status: Active » Fixed

You're welcome.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.