Jump to content

Topic on Extension talk:Access Control Panel

217.10.95.100 (talkcontribs)

Hello everybody.

With a fresh installation of MediaWiki, i just installed to Extensions:

  • LockDown
  • AccessControlPanel.

If i let the following configuration:

# The following permissions were set based on your choice in the installer

$wgGroupPermissions['*']['edit'] = false;

$wgGroupPermissions['*']['createaccount'] = false;

$wgGroupPermissions['*']['createtalk'] = false;

$wgGroupPermissions['*']['createpage'] = false;

$wgGroupPermissions['user']['edit'] = true;

$wgGroupPermissions['bureaucrat']['createaccount'] = true;

# Permisos definidos por SyNP | Soluciones Y No Problemas

# AccessControlPanel

$wgGroupPermissions['Teacher'] = $wgGroupPermissions['sysop'];

# Grupo MELIA

$wgGroupPermissions['MELIA'] = $wgGroupPermissions['user'];

$wgGroupPermissions['MELIA']['purge'] = false;

$wgGroupPermissions['MELIA']['sendmail'] = false;

$wgGroupPermissions['MELIA']['createaccount'] = false;

$wgGroupPermissions['MELIA']['upload'] = false;

$wgGroupPermissions['MELIA']['move'] = false;

And

require_once "$IP/extensions/Lockdown/Lockdown.php";

$wgSpecialPageLockdown['*'] = array('sysop');

$wgNamespacePermissionLockdown[NS_PROJECT]['*'] = array('sysop');

$wgNamespacePermissionLockdown[NS_PROJECT]['read'] = array('*');

#Access Control Extension

require_once("$IP/extensions/UMEduWiki/AccessControlPanel/AccessControlPanel.php");

$wgAccessControlPanelAllowedGroup = 'sysop';

$wgGroupPermissions[$wgAccessControlPanelAllowedGroup]['read']   = true;

$wgGroupPermissions[$wgAccessControlPanelAllowedGroup]['edit']   = true;

Always receive the following error:

[959137daed0b0b469705ddf7] 2017-02-20 06:30:19: Fatal exception of type "Error"

But if i comment the AccessControlPanel configuration, MediaWiki works normally.

Any suggestions?

Regards

Reply to "Internal error"