vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   I can't edit my user account via AdminCP (https://vborg.vbsupport.ru/showthread.php?t=324639)

Snowhog 03-08-2017 07:53 PM

I can't edit my user account via AdminCP
 
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

Quote:

Originally Posted by Paul M (Post 2583508)
Could any number of things.

For example ;

You are editing the wrong file.

Nope. Editing config.php
Quote:

You be are editing the wrong option.
Nope. Editing:
Quote:

// ****** 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
Quote:

You have an php cache running, which has file checking disabled.
Where/what would I check for this?


All times are GMT. The time now is 04:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01070 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete