CodeIgniter Forums
Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. (/showthread.php?tid=53478)



Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. - El Forum - 07-25-2012

[eluser]monika123[/eluser]
Plugin folder:oscommerce_importer
Plugin folder files:oscommerce_import_admin.php
: oscommerce_importer.php
Code inside the file oscommerce_importer.php is given below
Quote:You do not have sufficient permissions to access this page.
This shows when i click on ------
Worpress dashboard->setting->OSCommerce Product Display
Please tell whats wrong with this code
reference is taken from:http://net.tutsplus.com/tutorials/wordpress/creating-a-custom-wordpress-plugin-from-scratch/
<?php
/*
Plugin Name: OSCommerce Product Display
Plugin URI: http://www.orangecreative.net
Description: Plugin for displaying products from an OSCommerce shopping cart database
Author: C. Lupu
Version: 1.0
Author URI: http://www.orangecreative.net
*/
?>
<?php
function oscimp_admin() {
include('oscommerce_import_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');
?>


Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. - El Forum - 07-26-2012

[eluser]term25[/eluser]
WTF is going on on this forum??? Is somebody testing a spambot or what?


Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. - El Forum - 07-26-2012

[eluser]monika123[/eluser]
[quote author="term25" date="1343300536"]WTF is going on on this forum??? Is somebody testing a spambot or what?[/quote]
What does it mean what you said ?????????????


Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. - El Forum - 07-26-2012

[eluser]term25[/eluser]
[quote author="monika123" date="1343302638"][quote author="term25" date="1343300536"]WTF is going on on this forum??? Is somebody testing a spambot or what?[/quote]
What does it mean what you said ?????????????[/quote]

This is CodeIgniter forum, try to solve your problem on WordPress forum.

Btw.: http://www.wtf.org


Wordpress first Plugin developement error :You do not have sufficient permissions to access this page. - El Forum - 07-26-2012

[eluser]monika123[/eluser]
[quote author="term25" date="1343310431"

This is CodeIgniter forum, try to solve your problem on WordPress forum.

Btw.: http://www.wtf.org[/quote]
Thanks but i never got the answers on wordpress fourms even a single answer
and this also uses the php code thats why i did thisSad