yk26
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageI have worked around to the issue by adding a view as submenu of a hidden menu. So it will no longer appear in the menu items still will be registered with the word press workflow and works as usual. Strange that there is no mention about such restriction in wordpress.
Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageCool thanks for your directions. I know it seems like closed wall to me also. Thanks anyways.
Regards
YK26Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageYes I am developing a custom plugin where in few admin pages are to be displayed. On choice of the selected options, different views should be displayed for admin/monitoring users on the admin area.
Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageIf I create a view as submenu (that gets registered on the side bar) and such view is used as Click me gets loaded from the admin page but if I use link to any other view file, it throws the permission error.
Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageYes it does the same. It feels like more of directory/files access issue. I have no .htaccess file on my dev server. Do the default permissions need to be elevated somehow?
Regards
YK26Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageHello MacManX, thanks for your directions
1) I found that the capabilities were set to ‘manage_options’ using current_user_can. The ‘edit_plugins’ was coming false.
2) I did elevated the capabilities to ‘edit_plugins’ using User->add_cap, and it started showing ‘edit_plugins’ to be true.
3) The click on the click here on page still showing me “you do not have sufficient per…..”The error log in this issue in wordpress is not at all helpful.
Regards
YK26Forum: Fixing WordPress
In reply to: You do not have sufficient permissions to access this pageThanks Macmanx, I will investigate the property and see if this is the issue. However in my wp_capabilities I have modified the default “administration” to whole lot of those that allow many of the activities. I will call this suggested function and check it ‘edit plugin’ is active.
Regards
Yk26