Support » Plugin: WP-DownloadManager » You don't have permission to access /wp-admin/admin.php on this server.

  • I installed this plugin on a wordpress 3.5 version and when I wan’t to upload an item I get the following error:

    “You don’t have permission to access /wp-admin/admin.php on this server.”

    Does this mean the plugin is not compatible with 3.5 or is something going wrong. Would be great to get a quick help.
    Thanks a lot.

    http://wordpress.org/extend/plugins/wp-downloadmanager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Looking at source code, rights to upload are only given to admins roles…

    $role = get_role('administrator');
    	if(!$role->has_cap('manage_downloads')) {
    		$role->add_cap('manage_downloads');
    	}

    Test if you can edit wp-downloadmanager.php ikf you only have editor role (or author, or however low you want to set it.).

    //$role = get_role('administrator');
    	$role = get_role('editor');
    	if(!$role->has_cap('manage_downloads')) {
    		$role->add_cap('manage_downloads');
    	}

    I am myself surprised that this seems to be hardcoded or does it expect another plugin managing capabilities?!

    As I can work around this my code change of this “dead” piece of software, I mark it as solved (see second last comment of mine, where EDITOR becomes minimum role for upload)

    Okay, not my thread. Shepstar, can you live with the solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘You don't have permission to access /wp-admin/admin.php on this server.’ is closed to new replies.