XF 1.5 NO Super Admins


I've just started helping a friend on their Xenforo site.. However the forum has NO Super Admins on there. I've checked the Config file and it does have the following line $config['superAdmins'] = ‘1’; on there which in theory should give User 1 Super Admin Access. However this doesn't seem to be the case...

Any thoughts on how to fix this? As I can't even create an Admin to give them Super Admin Access :/

Thanks :)


XenForo developer
Staff member
It only makes an admin a super admin; it doesn't make anyone else a super admin. You would need to change that to (or add) a current admin's user ID to give someone super admin access.


The current Admin (which is an account I have access to) I've added it to Config as the ID is 1..
However when I go to click on Administrators in the backend or check logs.

"You must be a super administrator to access this page. This can be configured in the file library/config.php."

^ this is the error I get.



$config['db']['host'] = '---';
$config['db']['port'] = '---';
$config['db']['username'] = '---';
$config['db']['password'] = '---';
$config['db']['dbname'] = '---';

$config['superAdmins'] = ‘1’;

I desperately need the Super Admin situation fixed as the site is meant to be going live tomorrow :(
Last edited: