WordPress.org

Ready to get started?Download WordPress

Forums

Broken upgrade: "0 Comments" and user rights issues (5 posts)

  1. rcs1000
    Member
    Posted 8 years ago #

    Hi,

    My upgrade to WordPress 2.0 was not a success. Fortunately I always work on a back-up :-) I've searched the forums but not seen my issues (at least not in the way I've had them).

    Issue 1: all my stories now say "0 Comments" on the main page, irrespective of how many comments there are. If you go into the story, the comments are there, so it's just a counting issue.

    Issue 2 (and this is quite a big one): the user permissioning system doesn't seem to be working. When I try and use the admin pages, I get to the main screen, but when I try and - say - change the profile, then I get a "You do not have sufficient privileges to access this page." screen. Similarly, if I try and post. Playing with the source code (to find the issue, not break the system) by making user_can_access_admin return 1, I discovered that somewhere the current_user_can function is not returning anything useful. I have looked through the database, and the user_level for admin is set to 10 (so that isn't the issue). What else could be causing the problem?

    Many thanks,

    Robert

  2. schestowitz
    Member
    Posted 8 years ago #

    I am not sure about Issue 2 (probably the more urgent one), but regarding 1, empty your cache which is under /wp-content/ if I recall correctly. Also disable all plug-ins and enable them one at a time to see if any of them causes a problem.

  3. rcs1000
    Member
    Posted 8 years ago #

    Alas: I have no plug-ins enabled, and I have deleted everything in cache. But to no avail. It still says "0 Comments" or "No Comments".

  4. schestowitz
    Member
    Posted 8 years ago #

    Since you have backups readily available and you have two unusual problem, I suggest that you attempt a re-installation. This seems to have done the trick for a few people. Get the very latest version from the wp.org site. Bugs are being fixed as we speak.

  5. schestowitz
    Member
    Posted 8 years ago #

    Also see the following thread and the URL's it cites.

Topic Closed

This topic has been closed to new replies.

About this Topic