Hi, I was editing the administrator functions and accidentally deleted the tick in the box allowing the administrator to enter the administration panel.
Now I can't enter the admin panel... Please advise.
do you have a back up database you could restore that which will restore the setting
or you could try and manipulate the db in phpadmin.
try running this sql query
UPDATE dbname
.mybb_usergroups
SET cancp
= '1' WHERE mybb_usergroups
.gid
=4;
where db name is the name of your database
Or, just put your userid in the inc/config.php variable for super admin.
I've changed that manually and then with this query - still I don't have access to the admin panel. Only to the moderator panel.
Did you change dbname to whatever your database name is?? Try this query:
UPDATE mybb_usergroups SET cancp="1" WHERE gid="4"
My user ID is '1' and it is in the config file as super admin: $config['super_admins'] = '1';
If that query isn't working then either your userid isn't 1 or your not part of the administrators usergroup...
My user ID is 1 and I'm the only member of the administration usergroup. While in the admin panel, I unticked the group's permission to enter the admin panel. Hence the problem.
Run this query in phpMyAdmin:
UPDATE mybb_usergroups SET cancp='1' WHERE gid='4'
Fatal error: require_once() [function.require]: Failed opening required './admin/inc/functions_themes.php' (include_path='.:/home/fusionclub/etc') in /home/fusionclub/b-maxclub.ru/docs/forum/inc/plugins/cfi.php on line 56