Stan Active member Feb 14, 2020 #1 For some reason I am no longer super admin. How can I re-obtain superadmin. Can I do it from phpmyadmin? Thanks
For some reason I am no longer super admin. How can I re-obtain superadmin. Can I do it from phpmyadmin? Thanks
mjda Well-known member Feb 14, 2020 #2 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. Upvote 0 Downvote
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 Feb 14, 2020 #3 mjda said: 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. Click to expand... That is no longer required with XF 2.x. Super admins are designated in the ACP. Upvote 0 Downvote
mjda said: 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. Click to expand... That is no longer required with XF 2.x. Super admins are designated in the ACP.
whynot Well-known member Feb 14, 2020 #4 Steve F said: That is no longer required with XF 2.x. Super admins are designated in the ACP. View attachment 218405 Click to expand... Can I tick Super administrator when " I am no longer super admin "? Upvote 0 Downvote
Steve F said: That is no longer required with XF 2.x. Super admins are designated in the ACP. View attachment 218405 Click to expand... Can I tick Super administrator when " I am no longer super admin "?
Steve F Well-known member Feb 14, 2020 #5 No, you have to be a Super Administrator to access the Administrator's page. Upvote 0 Downvote
Steve F Well-known member Feb 14, 2020 #7 What are the results when you visit /admin.php?admins/ on your site? Do you receive a no permission error or similar? Upvote 0 Downvote
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 Feb 14, 2020 #8 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. Upvote 0 Downvote
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.
P Paul B XenForo moderator Staff member Feb 14, 2020 #9 I have replied to your ticket. Upvote 0 Downvote
M mally Member Jun 13, 2021 #11 Sorry to bring up an old post but what was the answer? Upvote 0 Downvote
P Paul B XenForo moderator Staff member Jun 13, 2021 #13 How are you losing super admin status? Typically the only way that would happen under normal conditions is if another super admin demotes the account. Upvote 0 Downvote
How are you losing super admin status? Typically the only way that would happen under normal conditions is if another super admin demotes the account.
M mally Member Jun 13, 2021 #14 Managed to fix it using myphp. Here's the answer https://xenforo.com/community/threads/deleted-the-admin-account-help.156919/post-1301087 Upvote 0 Downvote
Managed to fix it using myphp. Here's the answer https://xenforo.com/community/threads/deleted-the-admin-account-help.156919/post-1301087