vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   admincp redirect me to modcp (https://vborg.vbsupport.ru/showthread.php?t=323307)

ahmadyousef 08-21-2016 10:41 AM

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.

MarkFL 08-21-2016 01:50 PM

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.

ahmadyousef 08-22-2016 04:52 AM

129211 is the number of my user id , so what seems to be the problem ?

alcazarx 08-22-2016 06:12 AM

What are the values in the config.php file for admin-directory and mod-directory?

ahmadyousef 08-22-2016 07:09 AM

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'


Lynne 08-22-2016 03:26 PM

But are you a member of the administrator usergroup? Check the database and make sure that user.usergroupid is 6 for userid 129211

ahmadyousef 08-23-2016 04:00 AM

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.

Lynne 08-23-2016 04:24 PM

I'm glad you got it fixed and thanks for posting what the problem was.


All times are GMT. The time now is 03:12 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.01183 seconds
  • Memory Usage 1,726KB
  • 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
  • (3)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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