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?