I created a custom plugin. When in the admin area, I click the link under the settings section, and get the following error. I have made no chmod changes anywhere. The plugin folder is 755.
You do not have sufficient permissions to access this page.
(This is the only thing on the page, no menus)
file 1 (chmod 644)
<?php
/*
Plugin Name: Community Profile Manager
Plugin URI: http://www.amitx.com
Description: Manage AMI Community Profiles
Version: 1.0
Author: Thad Fiebich
Author URI: http://www.amitx.com
*/
function oscimp_admin() {
include('comm_profile_admin.php');
}
function oscimp_admin_actions() {
add_options_page("OSCommerce Product Display", "OSCommerce Product Display", 1, "OSCommerce Product Display", "oscimp_admin");
}
add_action('admin_menu', 'oscimp_admin_actions');
?>
File 2 (chmod 644)
<div class="wrap">
hi
</div>
Thank you!