• 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?

Viewing 15 replies - 1 through 15 (of 17 total)
  • 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!

    Thread Starter spagornasm

    (@spagornasm)

    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.

    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?

    Thread Starter spagornasm

    (@spagornasm)

    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.

    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.

    Thread Starter spagornasm

    (@spagornasm)

    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.

    Thread Starter spagornasm

    (@spagornasm)

    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.

    Sorry – I’ve never heard of such.
    Hopefully someone here has.

    Thread Starter spagornasm

    (@spagornasm)

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

    Thread Starter spagornasm

    (@spagornasm)

    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?

    Thread Starter spagornasm

    (@spagornasm)

    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???

    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: https://static.www.ads-software.com/archive/

    Thread Starter spagornasm

    (@spagornasm)

    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.

    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. ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Can’t Post After Upgrade’ is closed to new replies.