Support

Admin Tools

#14046 Super admin ID

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 Friday, 09 November 2012 05:15 CST

gulam
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? No
Joomla! version: 2.5.8
PHP version: 5.3.8
MySQL version: 5.1.65
Host: (optional, but it helps us help you)
Admin Tools version: 2.4.1

Description of my issue: I changed the super admin ID, this renamed the old super user to vv9I_admin which is fine BUT now the admin user is not there and so cannot login to the site with admin.

Fortunately I was testing this on a test site so its not a big problem but I'd like to do this on my production site.

Please advice.

Gulam

nicholas
Akeeba Staff
Manager
Please refer to the documentation.

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!

gulam
Ni Nicholas,

Thanks for your response.

I did read the documentation, and I need your help in understanding it:

Your doc says, this function will:

1. It creates a new user with a random ID between 1 and 41 (let's call him "New User"). - It did not do this.

2. It copies all the settings, including the username, password and email address, from the Default User (the one with an ID of 62 or 42) to the New User. - It did not do this.

3. It prefixes the username and email address of the Default User with a string consisting of four random characters and a dash. This is ok

4. It changes the password of the Default User to something completely random. This is ok

5. It sets the "Block" parameter of the Default User to Yes, disabling his ability to log in to the site. This is ok.

What am I missing here? I had an admin user which is not there anymore. I however have another super user account, do you think this could have caused the issue?

Thanks

Gulam

nicholas
Akeeba Staff
Manager
If #1 doesn't happen then nothing else is performed by Admin Tools because the $db->query() in line 118 of administrator/components/com_admintools/models/adminuser.php would raise an exception. Likewise, if #2 failed then line 129 would throw an exception. This means the execution would never proceed to line 145 of that file which performs #4 and #5.

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!