geoffmackey2
Member
Posted 1 year ago #
I performed an automatic update to WordPress 3.1.1 and no errors were reported. After the upgrade, I noticed that I was no longer able to perform routine administrative tasks. I first noticed the problem when I tried to upload images to my media gallery. The upload appears to work alright, and I can see the thumbnail of the right image in the gallery - but when I try to insert the image into a post I just get a link to the attachment, which results in a 404 error. If I try to edit the properties of the image in the media gallery, I get a "You are not allowed to edit this attachment." error.
It seems like my administrative privileges are all messed up or something. Similar things happen when I try to add a new user as an administrator - I get a "Cheatin' uh?" error.
Have you tried:
- deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
- switching to the Twenty Ten theme to rule out any theme-specific problems.
- resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
- re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.
geoffmackey2
Member
Posted 1 year ago #
Tried all of those things just now. No change. Could it be that the data in my wp_users table is somehow corrupt? Is there a way to create a fresh super admin without going through the wp-admin interface?
Are you running a WordPress network? If so, you may need to post this in the Multisite forum.
geoffmackey2
Member
Posted 1 year ago #
No, just running one site. I guess "super admin" was the wrong phrase to use there.
Only an admin can create another admin user. Try:
- switching to the Twenty Ten theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.
- resetting the plugins folder by FTP or phpMyAdmin.
- re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.
- re-running the upgrade manually using wp-admin/upgrade.php.