Access to the Administration Control Panel is not allowed as

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Access to the Administration Control Panel is not allowed as

Post by a24uall »

Getting the below error while trying to login to phpBB admin page
Access to the Administration Control Panel is not allowed as you do not have administrative permissions.
Solution :
Comment lines 2248 to 2257
/*

if ($admin && !$auth->acl_get('a_'))
{
// Not authd
// anonymous/inactive users are never able to go to the ACP even if they have the relevant permissions
if ($user->data['is_registered'])
{
add_log('admin', 'LOG_ADMIN_AUTH_FAIL');
}
trigger_error('NO_AUTH_ADMIN');
}

*/
Comment lines 2289 to 2294
/*

if ($admin && !$auth->acl_get('a_'))
{
// Not authd
// anonymous/inactive users are never able to go to the ACP even if they have the relevant permissions
if ($user->data['is_registered'])
{
add_log('admin', 'LOG_ADMIN_AUTH_FAIL');
}
trigger_error('NO_AUTH_ADMIN');
}

*/

NOTE :
Above is just a temporary fix.
Above steps disables the authentification checks, so make sure to re-enable them after the work.
Arun
WebhostingDevelopment.com
Post Reply

Return to “PhpBB”