Support » Fixing WordPress » Broken upgrade: “0 Comments” and user rights issues

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter rcs1000

    (@rcs1000)

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

    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.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken upgrade: “0 Comments” and user rights issues’ is closed to new replies.