XF 2.1 No longer Super Admin

Stan

Active member
For some reason I am no longer super admin. How can I re-obtain superadmin. Can I do it from phpmyadmin?

Thanks
 

mjda

Active member
As far as I know the only way to set that is in src/config.php.

Code:
$config['superAdmins'] = '1';
...where 1 is your user ID.
 

Steve F

Well-known member
What are the results when you visit /admin.php?admins/ on your site? Do you receive a no permission error or similar?
 

Stan

Active member
I get this error:

You must be a super administrator to access this page. This can be configured in the Administrators section of the Admin CP.
 
Top