Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2014, 05:11 PM
TomDac TomDac is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Cannot get into Administrator Permissions

Hi all,
Been the admin for many years and thought it was time to make one of the other guys an admin too, so I can take a vacation. So I made him admin, by switching his usergroup to Administrators.

I go into usergroup manager for Administrators and see him in there. But he still cannot access all the stuff in the admin CP that I can. That led me to try going into the Administrator permissions, which I don't think I've ever done before... When I try, I get the message saying:

Sorry, you are not allowed to edit administrator permissions.

If you think you should have permission to access this page, you will need to edit the $config['SpecialUsers']['superadministrators'] variable in the includes/config.php file.

To allow the administrators to access this page, edit the variable to include the user IDs of those administrators should have access, separating each user ID with a comma, like this:

$config['SpecialUsers']['superadministrators'] = '1,25,57';

To allow only a single administrator to access this page, simply add that user's ID with no commas, like this:

$config['SpecialUsers']['superadministrators'] = '1';


OK.. so I opened the config.php file and put in my user ID, which is 1, saved the config.php and tried getting into the Administrator Permissions again, but it gave me the same error.

Do I have to re-start apache or anything to get this to work?? What am I doing wrong? I'm pretty sure this is the correct config.php file because the first time I edited it, I made a typo and after I saved it when I brought up the forum, I got an error message... I went back into the config.php, found the mistake and fixed it and now the forum comes up, but I still can't get into Admin permissions in the Admin CP.

Any suggestions would be appreciated. I'm using 4.2.2

Tom
www.martinloganowners.com/forum/
Reply With Quote
  #2  
Old 06-12-2014, 06:24 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure your user is userid 1?
Reply With Quote
  #3  
Old 06-13-2014, 12:43 PM
TomDac TomDac is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep.. absolutely sure it's userid 1.

Weird, right?
Reply With Quote
  #4  
Old 06-13-2014, 01:53 PM
TomDac TomDac is offline
 
Join Date: Dec 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are a couple of screen shots
Attached Images
File Type: jpg ScreenHunter_306 Jun. 13 07.48.jpg (30.2 KB, 0 views)
File Type: jpg ScreenHunter_306 Jun. 13 07.49.jpg (73.8 KB, 0 views)
Reply With Quote
  #5  
Old 07-18-2014, 01:48 PM
thedino thedino is offline
 
Join Date: Jan 2010
Location: Brno
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have same issue not sure what to do... I am testing if forum upgrade will work so there might be some cookies problem but that should be clear... and I should not be able to access admin page also.
Did you find solution?
Reply With Quote
  #6  
Old 07-18-2014, 05:20 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Be sure to check the config file, by default userid ! is typed into the line:
Code:
$config['SpecialUsers']['superadministrators'] = '1';
So check config.php for $config['SpecialUsers']['superadministrators'] = '1'; <-- Ensure the one (1) is actually there. If you cloned a site i.e. made a test site and did not change the cookie setting i.e. $config['Misc']['cookieprefix'] = 'bb'; to something different then when you login the test admincp while you were previously on the live admincp it will log you out.
Reply With Quote
  #7  
Old 07-21-2014, 03:47 PM
Bluemax712 Bluemax712 is offline
 
Join Date: Oct 2010
Posts: 186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also check if same account is also a member of another lower group like moderators
which may prevent access - it might depend on which is the Primary group
Reply With Quote
  #8  
Old 07-21-2014, 04:55 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't, the only thing administrator permissions cares about is the superadmin setting, or can give administrator settings setting, which is also on that page.

If their userid was really correct, they'd be able to get in.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:29 PM.


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.03970 seconds
  • Memory Usage 2,246KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete