• Resolved imkamalkumar

    (@imkamalkumar)


    I just upgraded to version 3.0. But before that I was frequently getting 500 Internal Server Error in wp-admin. I deleted w3 total cache plugin. Now I am having another problem. When I click add new post in admin area I get following error message.

    edit_posts capability to your user, in order to be authorized to post.
    You can also e-mail the admin to ask for a promotion.
    When you’re promoted, just reload this page and you’ll be able to blog. :)'), get_option('admin_email')); ?>

    Please Help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    It sounds like your account may have lost admin privileges for some reason.

    Access your database via phpMyAdmin (most hosting providers offer this in their control panel), go to the wp_users table and find the row for your user_login . Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id . Set the value of this row to a:1:{s:13:"administrator";b:1;}

    Thread Starter imkamalkumar

    (@imkamalkumar)

    Thank you so much for your reply.

    I am so sorry to say that I could not properly follow your instruction. I managed to go to phpMyAdmin and find the user_login row under wp-users. But I could not find any id. I also went to wp_usermeta table but could not find wp_capabilities. I would be really thankful if you could reply with detailed instruction. I am just a beginner 🙁

    Moderator James Huff

    (@macmanx)

    If they aren’t there, then your database has been severely damaged. Do you have a recent backup that you can restore from?

    Thread Starter imkamalkumar

    (@imkamalkumar)

    Sorry, I misunderstood my database. They are fine. And I found all the rows you mentioned. wp_capabilities already have the value a:1:{s:13:”administrator”;b:1;}

    Please help

    Thread Starter imkamalkumar

    (@imkamalkumar)

    The problem seems to be solved now. It was because of some crappy plugins. I deactivated all of them and the problem is solved. Thank you macmanx for your support. 🙂

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Cannot Add new Post’ is closed to new replies.