MyBB Community Forums

Full Version: Error message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I don't know why but this error message appeared after i download a mod:

Forbidden

You don't have permission to access /admin/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I am unable to use the mod and this appears when i press on it.

This is the mod i want to download: http://mods.mybb.com/view/menu-manager

Thanks.
What page are you on specifically when you get that error?? What's the URL??
When i press on "Menu manager" in the admin ACP.
Then this is because the plugin has not been updated to 1.6 properly; it has the old style ACP URLs an a setting on your host is denying access to it 9some servers would do this with the old style URLs, which is why we changed them in 1.6). You need to make the following fixes.

Line 205:

'link' => 'index.php?module=config/menumanager'

to:

'link' => 'index.php?module=config-menumanager'

Line 233:

'link' =>'index.php?module=config/menumanager',

to:

'link' =>'index.php?module=config-menumanager',

Line 239:

'link' => 'index.php?module=config/menumanager&action=add',

to:

'link' => 'index.php?module=config-menumanager&action=add',

Line 252:

$form = new Form("index.php?module=config/menumanager&action=update", "post");

to:

$form = new Form("index.php?module=config-menumanager&action=update", "post");

Line 271:

$table->construct_cell('<a href="index.php?module=config/menumanager&amp;action=disable&id=' . $menuRow['id'] . '">'.($menuRow['disable'] ? '<font color="#FF0000">' . $lang->menumanager_disabled . '</font>' : $lang->menumanager_enabled) . '</a>', array('class' => 'align_center'));

to:

$table->construct_cell('<a href="index.php?module=config-menumanager&amp;action=disable&id=' . $menuRow['id'] . '">'.($menuRow['disable'] ? '<font color="#FF0000">' . $lang->menumanager_disabled . '</font>' : $lang->menumanager_enabled) . '</a>', array('class' => 'align_center'));

Line 272:

$table->construct_cell('<a href="index.php?module=config/menumanager&action=edit&id=' . $menuRow['id'] . '">' . $lang->menumanager_edit . '</a>');

to:

$table->construct_cell('<a href="index.php?module=config-menumanager&action=edit&id=' . $menuRow['id'] . '">' . $lang->menumanager_edit . '</a>');

Line 338:

admin_redirect("index.php?module=config/menumanager");

to:

admin_redirect("index.php?module=config-menumanager");

Line 351:

$form = new Form("index.php?module=config/menumanager&amp;action=add2", "post");

to:

$form = new Form("index.php?module=config-menumanager&amp;action=add2", "post");

Line 433:

admin_redirect("index.php?module=config/menumanager");

to:

admin_redirect("index.php?module=config-menumanager");

Line 446:

$form = new Form("index.php?module=config/menumanager&amp;action=edit2", "post");

to:

$form = new Form("index.php?module=config-menumanager&amp;action=edit2", "post");

Line 503:

admin_redirect("index.php?module=config/menumanager");

to:

admin_redirect("index.php?module=config-menumanager");

Line 510:

admin_redirect("index.php?module=config/menumanager");

to:

admin_redirect("index.php?module=config-menumanager");

Line 531:

admin_redirect("index.php?module=config/menumanager");

to:

admin_redirect("index.php?module=config-menumanager");

So... yeah, not many edits Undecided But you'll have to make them for it to work, as the author of the plugin didn't.
Thanks. It works now.

EDIT: I need help. The mod doesn't even work.
Then you'll need to contact the creator, we didn't write the plugin.