WordPress.org

Ready to get started?Download WordPress

Forums

Can't Post After Upgrade (18 posts)

  1. spagornasm
    Member
    Posted 8 years ago #

    I just upgraded from version 1.2.2 to version 2.0.2. I can log in, as can my various authors, but whenever I try to access the "profile.php" page, or even the "post.php" page, or anything off the main admin page, including as Admin, I get a "you don't have permission to view this" message.

    How can I fix this?

  2. Samuel B
    moderator
    Posted 8 years ago #

    Did you follow these steps?

    Upgrading from any previous WordPress to 2.0:

    1. Delete your old WP files, saving ones you've modified
    2. Upload the new files
    3. Point your browser to /wp-admin/upgrade.php
    4. You wanted more, perhaps? That's it!

  3. spagornasm
    Member
    Posted 8 years ago #

    Yeah, I did that, I could upgrade just fine. It's more like my user permissions seem different from what they were before, and I can't change them. I can log in, I can view my site just fine. But as for actually posting anything... well... I can't.

  4. Samuel B
    moderator
    Posted 8 years ago #

    Hmmmm...you can post comments, though.
    Something weird though. The footer doesn't have the usual WordPress version at the bottom.
    I'll register and see what's up. Can I post if I register?

  5. spagornasm
    Member
    Posted 8 years ago #

    No, I never enabled that in the previous version... and I can't change that now, since I can't access any of the admin tools.

    It's also not counting comments right, as it says "no comments" for old posts, when they clearly have comments.

  6. Samuel B
    moderator
    Posted 8 years ago #

    Flying sort of blind here. Have you experimented with different file permissions?
    Normally 644 works on all files except if you want to edit theme files in the theme editor, then it's 666.
    All folders usually work on 755.

  7. spagornasm
    Member
    Posted 8 years ago #

    Well, it's not that sort of permissions. It's not an error message from my server, it's from wordpress, telling me I don't have permission to post, or edit user info, or anything.

  8. Samuel B
    moderator
    Posted 8 years ago #

  9. spagornasm
    Member
    Posted 8 years ago #

    Maybe I haven't made myself clear. The problem is not with post.php. I am logged in with an account with a permission level of 10, and when I try to access any page other than the default admin page, I get the following error message: "You do not have sufficient permissions to access this page."

    That is not a big from bad code in post.php, it is an issue with wordpress not recognizing that I have permissions to access these pages.

  10. Samuel B
    moderator
    Posted 8 years ago #

    Sorry - I've never heard of such.
    Hopefully someone here has.

  11. spagornasm
    Member
    Posted 8 years ago #

    Well, if someone else knows how to solve this, please jump in.

  12. spagornasm
    Member
    Posted 8 years ago #

    I think I may have figured out what the problem is... for some reason, my user_metadata table is completely empty. I installed an identical version of wordpress on my local machine, and with no posts and one author it's populated. So, since I backed up my database before upgrading, can I just reimport that old database info, and use my old user-metadata?

  13. spagornasm
    Member
    Posted 8 years ago #

    I tried importing a good user_metadata table from my working local copy of my blog. Instead, all that happened is I got an error: "You have an error in your SQL syntax near 'ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ' at line 9" and now there is no user_metadata table.

    WHAT IS GOING ON???

  14. Chris_K
    Member
    Posted 8 years ago #

    I think you needed to go to 1.5x before migrating to 2.x

    I'd lean towards suggesting you restore your database and the 1.2 install you were using, then do the 1.5.2 upgrade, THEN do the 2.0.2 upgrade. Those upgrade.php scripts seem to assume (at least to me) that you're not skipping releases.

    You can find all the various releases here: http://static.wordpress.org/archive/

  15. spagornasm
    Member
    Posted 8 years ago #

    I thought about that, too, but in the other threads where this is addressed, it is people upgrading from 1.5 to 2.0.1 or 2. So I'm pretty sure that's not it.

  16. Chris_K
    Member
    Posted 8 years ago #

    Okie dokes. That's your decision to make if you're positive there were not any major changes from 1.2 to 1.5.2 I guess.

    But I'll stand by my suggestion as something to try. :-)

  17. spagornasm
    Member
    Posted 8 years ago #

    Alright, just for grins, even when I upgrade to 1.5, I get the same error message.

  18. Michael Adams (mdawaffe)
    Member
    Posted 8 years ago #

    Did you have any plugins activated at the time of the upgrade? If so, try backing up and then deleting your wp-content/plugins/ directory. Then run wp-admin/upgrade.php again.

Topic Closed

This topic has been closed to new replies.

About this Topic