Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8510827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:48:42+00:00 2026-06-11T03:48:42+00:00

I have a site where I tried to fix some encoding issues by editing

  • 0

I have a site where I tried to fix some encoding issues by editing my wp-config.php file. The changes didn’t help, so I changed it back again. Now, when I try to log in to admin, I get the dreaded “You do not have sufficient permissions” message. Unfortunately, I have no backup of the config but I am 100% sure that it looks like it did before.

I’ve tried this:
– Saving wp-config.php in different encodings
– Copying a fresh wp-config-sample.php, just adding my DB settings

I’ve found a lot of people on the web who have had this error after upgrading, migrating or for other reasons, but I haven’t done one of these things, only edited the wp-config.php and then back again. There are solutions about repairing the DB, deleting plugins etc. but I’m afraid to try them in case WP decides to do some “magic” and take the whole site down. Besides, I can’t see how the DB could get damaged just by editing the wp-config.php file.

Any other ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:48:44+00:00Added an answer on June 11, 2026 at 3:48 am

    We managed to solve it by copying all the info in the wp_user_roles row in the wp_options table in the database from another installation where everything worked. Now it works as it should.

    A question: how can this value become screwed up by editing wp-config.php?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried this question on the site of Titanium and several tweets to
I have tried almost all the techniques to apply sticky footer to my site
I have tried to search for an answer in google, and this site, but
Update I have just tried Pinning my site to the Taskbar again (after removing
I have some problem with the Facebook plugins in the site: www.talnavarro.com In some
I have looked at previous asks for help in a cross browser fix for
I have an upload form that uploads mp3s to my site. I have some
I have a MVC 3 site with some big forms. They have just got
EDIT: Corrected the site header IE7 code in my original post. Have tried that
I have a site that uses a menu control tied to a sitemapdatasource which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.