I have to change a website, but I cannot log in. The problem is, that the login page does not appears in any way. I get a 403 error when accessing /user. That should come from a change that I did in the past to deactivate the login page at all. Even I cannot remember what I did or (last conclusion), the database has an error and the login page does not appear.
I setup a new Drupal installation with the same version, but I cannot see any significant difference of the folders.
Is there a hack to activate for a moment to allow anonymous user act as an administrator?
I am using Drupal 6.19.
Querying the database, I get the following.
drupal=> SELECT path FROM menu_router WHERE path LIKE '%user%'; user/login user/password user/register user/autocomplete admin/user user/% user/%/view user/login/lightbox2 user/login/thickbox admin/user/rules admin/help/user user/%/contact user/%/delete admin/user/permissions admin/user/roles admin/user/settings admin/user/user user/%/edit admin/user/rules/list admin/user/user/list user/%/edit/account admin/user/rules/add admin/user/user/create admin/user/rules/check admin/user/roles/edit admin/user/rules/edit admin/user/rules/delete admin/views/ajax/autocomplete/user user/reset/%/%/% (30 rows)
drush cc all
and hope that the problem resolvs itself.SELECT path FROM menu_router WHERE path LIKE "%user%";
? If any module denies access to the login form, try disabling any non-core modules with drush, clear the cache again, and see if that helps.page_callback
,page_arguments
,access_callback
,access_arguments
andinclude_file
between stock drupal (which uses core user module) installation and the troubled installation for entry user/login.. maybe usingdrush uli
to try login to site might help do some damage control..