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 08-21-2016, 10:41 AM
ahmadyousef ahmadyousef is offline
 
Join Date: Aug 2016
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default admincp redirect me to modcp

Hi guys !

I have a problem , I am an administrator and when I am going to the admin area , I see my self in moderators area. I updated my config.php file and put my user ID number there , and it doesn't work. I tried another username , but it doesn't work either.
That is how I updated config file:

PHP Code:
$config['SpecialUsers']['canviewadminlog'] = '129211';
$config['SpecialUsers']['canpruneadminlog'] = '129211';
$config['SpecialUsers']['canrunqueries'] = '129211';
$config['SpecialUsers']['undeletableusers'] = '129211';
$config['SpecialUsers']['superadministrators'] = '129211'
but with no luck ..
What seems to be the problem, Thank you.
Reply With Quote
  #2  
Old 08-21-2016, 01:50 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The userids need to be separated by commas. The way you have it set, the userid 129211 is the only one being affected. If that is your userid, then that isn't the problem, as that only affects what you can do once you are in the AdminCP and whether your profile can be altered from there.
Reply With Quote
  #3  
Old 08-22-2016, 04:52 AM
ahmadyousef ahmadyousef is offline
 
Join Date: Aug 2016
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

129211 is the number of my user id , so what seems to be the problem ?
Reply With Quote
  #4  
Old 08-22-2016, 06:12 AM
alcazarx's Avatar
alcazarx alcazarx is offline
 
Join Date: Jul 2014
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are the values in the config.php file for admin-directory and mod-directory?
Reply With Quote
  #5  
Old 08-22-2016, 07:09 AM
ahmadyousef ahmadyousef is offline
 
Join Date: Aug 2016
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

admin-directory value is for admincp folder
and mod-directory value is for modcp folder

PHP Code:
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp'
Reply With Quote
  #6  
Old 08-22-2016, 03:26 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But are you a member of the administrator usergroup? Check the database and make sure that user.usergroupid is 6 for userid 129211
Reply With Quote
Благодарность от:
kerrghann
  #7  
Old 08-23-2016, 04:00 AM
ahmadyousef ahmadyousef is offline
 
Join Date: Aug 2016
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes the member is in the administrator usergroup and user.usergroupid=6

I don't know what is the problem here ,, I checked like everything I know..

--------------- Added [DATE]1471940018[/DATE] at [TIME]1471940018[/TIME] ---------------

Guys I am so sorry, I guess+
PHP Code:
mod_speling 
was active in my server, and the name of the admin folder was "Admincp" , that's why it kept redirecting me to the modcp url..
Thank you for your time.
Reply With Quote
2 благодарности(ей) от:
Dragonsys, MarkFL
  #8  
Old 08-23-2016, 04:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm glad you got it fixed and thanks for posting what the problem was.
Reply With Quote
Благодарность от:
MarkFL
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 08:18 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.04472 seconds
  • Memory Usage 2,239KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (4)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete