Forums

private posts don't exist outside the front page - help! (15 posts)

  1. chasmyn
    Member
    Posted 6 years ago #

    I recently installed WP 2.0. Everything was working fine, until last night, when I installed some new plugins. The thing is, I don't know after which plugin install things started getting wonky, because what happened is that when one goes to comment or clicks on the title to go to the individual entry, it gives an error message that says "sorry, no posts match your criteria".

    It's on all of my private posts now and I have no idea why. I uninstalled all of the plugins I had installed, but it's still not working properly.

    My blog is here:

    http://purplegoddessinfrogpyjamas

    Without registering and being approved, the private posts aren't visible.

    I'm using WP 2.0, my server is dreamhost, I have tried in both Firefox and Safari. I'm on Mac OS/X.

    Can anyone tell me how to fix it, what might be wrong?

  2. petit
    Member
    Posted 6 years ago #

    That's the whole idea with private posts.
    I assume you have published the posts logged in as admin.
    You should see the posts if you log in.
    That's how it works on my blog anyhow, and I think that makes sense.

  3. chasmyn
    Member
    Posted 6 years ago #

    No, the private posts not being visible without being logged in isn't part of the problem. I was mentioning that because if someone checked my blog, they wouldn't be visible. As a courtesy.

    The problem is that when a person is logged in, the private posts are only on the main page - meaning that when someone clicks on the title or on the comments, they cannot comment and get the "sorry, no posts match your criteria" error.

    Does anyone have any idea why?

  4. chasmyn
    Member
    Posted 6 years ago #

    MY server info, by the way, is:

    PHP Version 4.3.10

    System Linux soy 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686

    Build Date Dec 7 2005 00:12:43

    Server API CGI

    No Apache info found.

    Client API version 5.0.16

  5. moshu
    Member
    Posted 6 years ago #

    There is something wrong with what you say. Private posts shouldn't be visible even for logged in users.
    On a testbed I created a private post as the admin.
    I have 4 other accounts there: editor, author, contributor and subscriber. None of them is able to see the post if it was made "private" by the admin.

  6. chasmyn
    Member
    Posted 6 years ago #

    My bad. I forgot...I use the user levels plugin. Up until now users at a certain level were able to see and comment on private posts, as long as they are the right level. Now, these posts are visible to these users (and to myself) but no one is able to comment or get to the individual archive (as when one clicks on the title of the post). They seem to not exist outside of the main page.

    Like I said, everything was working fine - people were able to comment and everything - before.

  7. moshu
    Member
    Posted 6 years ago #

    Well, maybe the usage of word "private" related to that plugin is kind of misleading - since there is such a native feature in WP.

    The user level system has been changed in 2.0.
    There is a very detailed article in the Codex about the changes:
    http://codex.wordpress.org/Roles_and_Capabilities
    and see also Owen Winkler's plugin (linked at the bottom of the page) if you want to play with the new settings.

  8. chasmyn
    Member
    Posted 6 years ago #

    I already know that...I have my settings tweaked accordingly. I have everyone set to subscriber, then using the post levels plugin, I have each subscriber's level set to what they can see. I set the post level of the private posts accordingly and until the past couple of days, everything was working perfectly. If the post was private and a level 2, level 2 users and above could view the post, comment on it, click the title and be on the individual post page. Now, even *I*, the admin, cannot do this. I click the comments or the title and get the "sorry, no posts match your criteria" error.

    Do I need to reinstall everything? Is there some way I can clarify even more? It really was all working smoothly until just recently. I have no idea what 'broke' it.

  9. chasmyn
    Member
    Posted 6 years ago #

    I just realized that first sentence sounded...my tone seems impatient. That wasn't my intention, just to say that I am very familiar with the new user level settings. And even how the post level plugin works with user level settings. I appreciate the input, I really do.

  10. chasmyn
    Member
    Posted 6 years ago #

    Do I need to reinstall everything?

  11. chasmyn
    Member
    Posted 6 years ago #

    I also get the same error message if in the admin area, I go to Manage >> Comments >> View post (on any of the private posts).

  12. chasmyn
    Member
    Posted 6 years ago #

    Oh, also in the "post preview" on the write page, the preview has the same error message.

  13. chasmyn
    Member
    Posted 6 years ago #

    I have a new development on this.

    Some people ARE able to comment and see the page - others (including myself, the admin) cannot.

    This just makes no sense.

  14. chasmyn
    Member
    Posted 6 years ago #

    I reinstalled everything and am still getting the same error message. Can someone please help me?

  15. chasmyn
    Member
    Posted 6 years ago #

    Okay, I don't know whether to start a new thread or just continue here, but I have a more clear description of what is happening, because I have a more clear understanding of it now after trying some things. I'll write it here because technically this remains unresolved.

    I created a test user to see if I would be able to see the comments on the "private" posts like apparently most of my readers can. I was able to view them, and the comments, and the individual archive page. So I upgraded that user to administrator status with a user level of 10 to see if somehow it was either of those things that made me get the error (and maybe only me, since when I am logged in as someone else everything works just fine).

    I could still see the posts as long as I was logged in as someone else. I discovered that if I deleted a user, I could attribute all posts and links to another ID, so I created another user with an identical name to my admin and deleted the admin, then attributing all of the admin's posts to my new user (because remember, the new user could see the comments and the individual archived posts and also, in the preview window when creating a post could see the post). As soon as I attributed all of my posts to the new user, the new user suddenly is getting the very same "sorry, no posts matched your criteria" error.

    This is only happening on private posts, which until this all began to happen, were visible to users at level 2 and above. Still are, apparently, except the admin. Or rather, except for the author of all of the blog posts.

    I have a test user if someone wanted to login. The username is 'testy' and the password is 'login'

    You'll see that you can see private posts and view comments.

    So I guess the question is, is there something somewhere in the code, or the database, that is somehow creating some block for the author of the posts only? Where might I look for such an attribute, and how would I change it? Am I way off base with my thinking?

    Also, am I being clear? I am trying to explain this to the best of my ability but I know that sometimes I forget simple details that need to be there. My own little oversight.

    Oh, and also, was it really really stupid to delete my admin account? And if it was, is there any way to get it back? My new user account has exactly the same permissions as the admin did, but I'm wondering if there is something else about the admin account that I might not be aware of that is necessary to the functioning of the blog.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.