Support

Admin Tools

#23890 Locked out

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 on Sunday, 10 January 2016 17:20 CST

luciano991
 First of all it's pretty hard to give you server information when I can't login to my back end.

Secondly, I started getting messages yesterday on this url http://hilltop.dependablewebhost.com/administrator that I was a spy or a bad person etc. I read how to change the name of the main.php file to main-disable.php. And BTW in your article you have the path wrong; it's .......admintools/admintools/main.php.

That let me into the back end. I then used an extension called SP Transfer to transfer modules, articles, menus etc. to this sandbox where I am building a new version of http://americaninvestment.com. That worked fine. However, now I can't use my admin account to get in. I even tried the "secret" trick in PHPMyAdmin and nothing works. I need to get to work on this site. This is costing me hundreds of dollars in lost work time.

Please help me ASAP.

Mark

nicholas
Akeeba Staff
Manager
When you rename the main.php file Admin Tools is no longer active. You can of course completely remove the plugin manually by deleting the directory plugins/system/admintools. If you are feeling really paranoid you can also delete the entire component, i.e. the folders administrator/components/com_admintools, components/com_admintools and media/com_admintools. At this point you don't have any trace of Admin Tools on your site.

If the problem persists then it's quite obvious that the problem you have is unrelated to Admin Tools.

I would venture a guess that your problem might have had to do with either caching or a broken / out of sync #__sessions table. I am saying this since you IMPLIED that you were able to get into your back-end, did something and then you could no longer login, all the while the Admin Tools system plugin being disabled.

Finally, I am not sure what is the '"secret" trick in PHPMyAdmin' you are talking about. If you mean disabling the secret URL parameter, let me reiterate that since you have renamed the main.php file the plugin does not load. As a result any kind of Web Application Firewall protection including but not limited to the secret query string parameter and the automatic IP blocking is NOT active.

The only other two things you could have possibly modified on your site with Admin Tools and which will stay behind even if you followed my instructions above are the .htaccess in the root of your site and the .htaccess and .htpasswd files in the administrator directory. Connect to your site by FTP and make sure you've enabled showing hidden files. The remove the .htaccess file from your site's root AND the .htaccess and .htpasswd files (if present) from the "administrator" directory. Finally, create a new .htaccess file in your site's root using the contents from this: https://github.com/joomla/joomla-cms/blob/staging/htaccess.txt (that's the official htaccess.txt shipped with Joomla! itself).

By doing all of the above you have completely undone any possible change you might have ever done to your site with Admin Tools. If you still have a problem after doing that you have a problem unrelated to our software.

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!

luciano991
Well, you were absolutely correct it wasn't Admin Tools. Sorry if I got a little aggressive. Was having a bad day before I got locked out. Somehow after using the Joomla Extension SP Transfer I ended up with an extra database. I deleted that database in my CP and then everything went pretty smoothly from there.

The "secret" trick to which I alluded is going into PHPMyAdmin, editing a user in the Users table and replacing the password hash with the following: d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199

This changes the user's password to secret

Please accept my apologies and my gratitude for taking the time to help me out. Your support and your products are great. Have a great holiday season.

All the best,

Mark

nicholas
Akeeba Staff
Manager
Well, you were absolutely correct it wasn't Admin Tools. Sorry if I got a little aggressive.


No worries :)

The "secret" trick to which I alluded is going into PHPMyAdmin, editing a user in the Users table and replacing the password hash with the following: d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199


Ah, OK. I got confused because that's not quite a secret. I had written a Joomla! Community Magazine article about it circa 2011 and it's part of the on-lien Joomla! documentation. It also happens that I've given instructions on changing the Admin Tools administrator secret url parameter setting through phpMyAdmin, hence the confusion :)

Please accept my apologies and my gratitude for taking the time to help me out. Your support and your products are great. Have a great holiday season.


You're welcome! Have a great weekend and an even better holiday season, Mark!

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!