PDA

View Full Version : I can't edit my user account via AdminCP


Snowhog
03-08-2017, 07:53 PM
I am an Administrator, but a little while back I added myself to the UNDELETABLE / UNALTERABLE USERS section of config.php. I need to update my email address and when I clicked on Save (in the AdminCP) I got this message:

Sorry, this user is protected from being altered in the config.php file by the $config['SpecialUsers']['undeletableusers'] variable.

I've edited the config.php file and removed my ID from this section, cleared the System Cache, and even logged out and logged back in to the AdminCP, but it still won't allow me to edit my information, i.e., it won't Save any changes.

What am I missing? :confused:

Added:

Well, I can change my email address through Settings > Edit Email & Password and the change is reflected in my User account settings as viewed in AdminCP. So at least I was able to change it. But my question still remains: If I removed my ID from the section in config.php, why am I not able to edit my information from within the AdminCP?

Paul M
03-09-2017, 03:06 AM
Could be any number of things.

For example ;

You are editing the wrong file.
You are editing the wrong option.
You have an php cache running, which has file checking disabled.

Snowhog
03-09-2017, 03:25 AM
Could any number of things.

For example ;

You are editing the wrong file.
Nope. Editing config.php
You be are editing the wrong option.
Nope. Editing:
// ****** UNDELETABLE / UNALTERABLE USERS ******
// The users specified here will not be deletable or alterable from the control panel by any users.
// To specify more than one user, separate userids with commas.
$config['SpecialUsers']['undeletableusers'] = 'x'; <<< userIDs redacted, but mine was in the comma separated list
You have an php cache running, which has file checking disabled.
Where/what would I check for this?