Support

Admin Tools

#30694 Unable to access admin after disabling Admin Tools

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 muddauber on Wednesday, 19 December 2018 12:41 CST

muddauber
I received the following message on the home page and admin page of my site:
Access to www.mysite.com was denied You don't have authorization to view this page.
HTTP ERROR 403

So I disabled Admin Tools by renaming main.php as suggested in your guidelines. This
allowed me to see the site, confirming the problem had something to do with admintools.

Unfortunately, I added the extra token to access my admin section with the secret word like
?fFHcvIH0
So, now I get a 404 error when trying to access the admin section of my site.
Get the same thing with entering the standard access like
https://www.mysite.com/administrator/index.php or with the
https://www.mysited.com/administrator/index.php?fFHcvIH0

I am unable to get into my admin section at this time. Do you have any suggestions
so I can access my admin section now?

nicholas
Akeeba Staff
Manager
The secret word is applied by the Admin Tools plugin. By renaming the main.php file you are disabling the plugin. Also, if the feature is enabled, if you try to access the site's backend login page without the correct secret word you are simply redirected to the frontend.

Your problem is with the administrator password protection. First, how to fix that. Use FTP or your host's control panel file manager to go into your site's administrator folder. Make sure you have set up your FTP client of the host's control panel file manager to display hidden files. Delete the .htaccess and .htpasswd files from the administrator folder. Now you can access your site.

Why did you have that problem? It is NOT a bug in Admin Tools, it is a configuration issue with your host. Please contact your host and paste them the following paragraph so they can fix it:

Hello. I have tried to apply password protection to my site's administrator folder using .htaccess and .htpasswd. However, upon trying to access that folder I get a 404 error. My developer explained to me that this happens because you have set up custom error pages on Apache. Therefore, when Apache tries to send an HTTP 401 Authentication Required status to the browser it sees that there is a custom page to display it. Since the file does not actually exist, Apache converts this to a 404 Not Found. Please disable custom error pages in Apache or tell me how I can do that myself. Thank you.

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!

muddauber
Thanks

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!