Title: Plugin Permision
Last modified: August 30, 2016

---

# Plugin Permision

 *  Resolved [boolean maybe](https://wordpress.org/support/users/boolean-maybe/)
 * (@boolean-maybe)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-permision/)
 * Hi,
 * I’m building a plugin for my wordpress on a hostmetro and admin account server
   the plugin installs fine and wordpress detects it however when I go to settings
   and click the plugin is show an error message.
 * this error message displays:
    You do not have sufficient permissions to access
   this page.
 * here is the plugin code:
 * <?php
    /* Plugin Name: First Plugin Plugin URI: [http://www.panda-ant.com](http://www.panda-ant.com)
   Description: My first pluging lets hope this works Author: Jonathan Version: 
   1.0 Author URI: [http://panda-ant.com](http://panda-ant.com)
 * */
 * add_action(‘admin_menu’, ‘firstplugin_admin_actions’);
 * function firstplugin_admin_actions () {
    add_options_page(‘FirstPlugin’, ‘FirstPlugin’,‘
   manage_options’, __FILE__, ‘firstplugin_admin’); }
 * function firstplugin_admin()
    { ?> <div class=”wrap”> <h4>This is the html message
   the plugin displays</h4> <table class=”widefat”> <thead> <tr> <th> Post Title
   </th> <th> Post ID</th> </tr> </thead> <tfoot> <tr> <th> Post Title </th> <th
   > Post ID</th> </tr> </tfoot> <tbody> </tbody> </div>
 * <?php
 *  }
    ?>

Viewing 1 replies (of 1 total)

 *  Thread Starter [boolean maybe](https://wordpress.org/support/users/boolean-maybe/)
 * (@boolean-maybe)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-permision/#post-6508186)
 * Found the solution:
    My the name of the path didnt match the parameter in the
   firstplugin_admin_actions function.
 * For anyone with the same problem make sure the path to get to the plugin matches
   the parameter in the function.

Viewing 1 replies (of 1 total)

The topic ‘Plugin Permision’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [boolean maybe](https://wordpress.org/support/users/boolean-maybe/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/plugin-permision/#post-6508186)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
