Suggestion n.1)
- edited the file administrator/components/com_login/ admin.login.php to comment out line 69 (//LoginController::display() )
- browsed to the login page.
- [tried to login] and got an ‘Invalid token ‘ message.
- Reedited the [administrator/components/com_login/] admin.login.php file to remove my comment at line 69.
- Refreshed the login page in my browser and got the normal login form.
- Logged in [successfully].
try this and if it doesn’t work, then:
Suggestion n.2) [user inoxfire]
- edit file administrator/components/com_login/admin.login.php [to comment out line 57, // JRequest::checkToken('request') or jexit( 'Invalid Token' );]
- browsed to the login page.
- [tried to login] and got an ‘Invalid token ‘ message.
- Reedited the [administrator/components/com_login/] admin.login.php file to remove my comment at line 57.
- Refreshed the login page in my browser and got the normal login form.
try this and if it doesn’t work, then:
Suggestion n.3)
- Log into phpMyAdmin and navigate to the jos_plugins table.
- Look for the "User – Joomla! ".
- Ensure that it is published as mine was not (set published to 1 just in case).
- [Look for] in row "Authentication – Joomla"
- Ensure that it is published as mine was not (set published to 1 just in case).
try this and if it doesn’t work, then:
Suggestion n.4)
- first check your Super Admin status:
[Open PHPmyAdmin] in the "jos_users " table set SuperAdmin to:
– field "id " – value "62"
– field "gid " – value "25" or "26". - in the "jos_core_acl_aro " table find row for "62":
– field "id " – write this down (should be 10 normally) – this is the "aro_id ". - in the "jos_core_acl_groups_aro_map " table find row for "aro_id " = 10
– "group_id " should be "25" or "26".
BONUS :
If, for some reasons, you need to reset your joomla! admin password , or if you need to offer admin access to somebody else, or for whatever the reason, please change it by doing so:
- Open PHPmyAdmin.
- access your joomla DB and goto table jos_users .
- modify "admin"-row and set it’s password code to this: 21232f297a57a5a743894a0e4a801fc3 (it’s the equivalent of ‘admin ‘).
http://www.pwrusr.com/web-master/cannot-login-to-joomla-backend-as-admin