Reputation: 11774
i have a wordpress site on my local server. I am able to access all the pages but only http://samplesite.com/wp-admin/theme-editor.php
it shows
You do not have sufficient permissions to access this page.
I changed the directory permissions to 777 using chmod. Still it shows the same thing.
I am able to access all other pages like /wp-admin
all post links, i can install new themes, plugins create posts edit, add widgets etc.
Upvotes: 0
Views: 393
Reputation:
The reason behind this, is your user permissions. Like wordpress assign some permissions to different types of users. Like everything is allow for admin but other users have limits. Maybe you're not the admin or You're using a plugin which block it.
Deactivate all the plugins then try again. If this error is because of any plugin then /wp-admin/theme-editor.php
file will start opening correctly.
Upvotes: 2