What I'm trying to do is add my admin so he can edit under the "Limited Guest Viewing System" &
"Register Take-Over Message Count" message in admin control panel in the forum.
When he clicks on the edit link ^ he gets
Under that there's another link "Administrator Permissions" he gets thisSorry, you don't have permission to access the administrative controls on this page.
If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.
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';
I'm adding them from here in cPanel under the in the config.php file:
Account name>File manager>Web Root (public_html/www)>Forum>Includes>config.php and click Edit
So the whole point of this post is the error I get when his user ID is inserted to try to make him a super administrator:
And of course the the whole forum is unusable.Parse error: syntax error, unexpected T_VARIABLE in /home/database name/public_html/forum/includes/config.php on line 116
It says in the php code that I can add another user in there & think I'm doing it right. My ID is already in there so there will be two users.
My ID is like this already & works fine '1';
I've tried every which way to add him after me but get the same results
Why is this error coming up & what can I do about it?
I'll add this too. And what extra permissions will he get if he's added?
Thanks



LinkBack URL
About LinkBacks
Reply With Quote






