Support

Admin Tools

#36960 Unable to log in

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 20 April 2022 01:47 CDT

Pespe

Hello, I installed Admin Tools without any problems but the site was no longer visible due to an incorrect redirect. I uninstalled Admin Tools (with Admin Tools package) and the problem went away. I have always reinstalled Admin Tools without problems but now I can't access the administration page. I enter username and password but I do not log in. I'm sure the credentials are correct. Thanks for your help.

nicholas
Akeeba Staff
Manager

Please follow the instructions on https://www.akeeba.com/documentation/admin-tools-joomla/athtaccess500.html

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Pespe

Good morning,

sorry i forgot to mention that my problem is only with the admin page. If I enter my username and password in the new login form and click on "Login" nothing happens.

I still followed the instructions on the web page (I replaced the .htaccess file with a new one) but I couldn't solve the problem.

I deleted the .htaccess and .htpasswd files in the administration folder but only got a redirect to the website.
How can I solve my problem?
Thanks for your help.

nicholas
Akeeba Staff
Manager

Let's make sure that the problem is indeed caused by Admin Tools. In order to do so, try the following:

Try to replicate the issue after disabling the "System - Admin Tools" plugin. If you can still replicate the issue, it is not caused by Admin Tools. Disabling that plugin means that Admin Tools code (including the Web Application Firewall) is not running on your site.

If doing any of the above resulted in the issue still occurring, it's not related with Admin Tools and we can't help you. If doing any of the above did stop the issue from occurring, we'll have to do some troubleshooting.

First go to Admin Tools, Web Application Firewall, Configure WAF. Make sure "Log security exceptions" is set to Yes; if it's not, set it to Yes and click on Save. Now try reproducing your issue. Immediately after that, please go to Admin Tools, Web Application Firewall, Security Exceptions Log. The latest log entry at the top should have the date and time of when the issue occurred. Please copy the Reason and Target URL here so that we can further help you.

If, however, you do not see a log entry, or the Date and/or IP address do not match your last access, this problem is not caused by Admin Tools' WAF. In this case, you will have to do some .htaccess troubleshooting. You may need to read the general .htaccess troubleshooting page, as well as the page on finding out necessary .htaccess exceptions.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Pespe

I apologize but I cannot access the administration page.

After installing Admin Tools when I try to access this is what I see: https://www.oculistiaimo.it/administrator.

Even if I enter the correct username and password, nothing happens.

Can I try to disable the "System - Admin Tools" plugin directly from the database?

Thanks

Pespe

ok solved.
- I replaced the .htaccess file in the root folder
- I deleted the .htaccess and .htpasswd files in the administrator folder
- Deactivated the "System - Admin Tools" plugin from the database

nicholas
Akeeba Staff
Manager

There was not enough information to go by in your original ticket text. Now that we have all the information, here's what was going on. Two issues are apparent:

1. You had enabled the administrator password protection (.htaccess and .htpasswd files in the administrator folder). That's what my first reply told you to do. You can use that feature but do make sure that you note down the username and password. Also note that some older versions of Apache may only accept passwords up to 8 characters long. If it looks like the server doesn't recognise the password try using one that's only 8 characters long. If that works, your version of Apache is very old and should be replaced.

2. You had enabled the administrator secret URL parameter. If you set it to foobar and your site is https://www.example.com you need to access your administrator login as https://www.example.com/administrator/index.php?foobar (note the bold part). If you forget the secret word yes, one way around it is disabling the plugin from the database, the other is following the instructions in https://www.akeeba.com/documentation/admin-tools-joomla/atwafissues.html

I am not sure why you removed the .htaccess file from the site's root or if your login issues were about the former two points or something else. If it's something else, tell me what was going on so I can help.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!