Board index THIRD PARTY SCRIPTS PhpBB

Access to the Administration Control Panel is not allowed as

Postby a24uall » Tue Aug 07, 2012 2:38 pm

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
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to PhpBB

Who is online

Users browsing this forum: No registered users and 1 guest


cron