Bug #3640
closed
Logged out of commons when trying to publish a post
Added by Matt Gold about 10 years ago.
Updated over 9 years ago.
Description
I was just logged out of the Commons when I tried to publish a post. Here's what happened'
-- I was in the forum of a hidden group
-- wrote a forum post and clicked publish
-- reached a page that said this content cannot be found!
-- noticed I was now logged out of the commons
I am wondering if this is because i was posting similar messages in different groups? Perhaps my content was seen as spam and I was logged out by the system because of it?
- Assignee changed from Boone Gorges to Daniel Jones
Hm, I have never seen this before.
I am wondering if this is because i was posting similar messages in different groups? Perhaps my content was seen as spam and I was logged out by the system because of it?
It's possible that the forum content might have been rejected as duplicate - I see a a place in bbPress where such detection takes place - but it definitely should not have logged you out.
Given #3642, it could be that there is a specific problem with the way that your browser/setup is handling WP-related cookies. In the absence of other reports, I will assume for the time being that this issue is peculiar to your setup.
I'm assigning this ticket to Dan to do some additional experimentation regarding duplicate forum posts in different groups. Dan - the potentially problematic line in bbPress is wp-content/plugins/bbpress/includes/topics/functions.php, where it checks `bbp_check_for_duplicate()`. Can you play with this a bit to see what you find?
- Target version set to Future release
Let's move this back into a named milestone when we've got a better sense of what our next steps are. Dan, please do continue to take a look at it.
Just looking at the code the check for duplicate content really shouldn't have kicked you out - nothing in bbpress itself does, it just cancels the post and throws an error message. The check does provide an action hook triggered by an attempt to post duplicate content, but I couldn't find anything that hooked into that to take any further actions.
I ran into an issue where I'm getting the "page not found" page when I try to go to groups' forums on my local install. I need to spend some time figuring out why that is, but it'll be tough to really test until I figure that out. Sorry!
ran into an issue where I'm getting the "page not found" page when I try to go to groups' forums on my local install. I need to spend some time figuring out why that is, but it'll be tough to really test until I figure that out. Sorry!
See #3649. cherry-pick db6cc8978b50e70f06641f1 from the master branch.
Just getting back around to this - looks like my version of wp-content/plugins/cac-bp-custom-includes/forums.php has the changes that were introduced in the changeset you linked me to, but I'm still getting "Page not found" when I try to visit a hidden group's forum. Will continue to look into it.
Okay. Maybe worth closing if we can't find anything; I can reopen if I do. Up to you whether you want to keep looking.
If this hasn't come up again maybe it isn't something we need to spend more time working on.
In terms the trouble I was having accessing group forum pages, I noticed that I didn't have bbPress activated on my local install. I activated and could access forum pages, but none of them were set up yet. Boone - is bbPress activated on the live Commons and being used for the group forums?
- Status changed from Assigned to Rejected
Boone - is bbPress activated on the live Commons and being used for the group forums?
Yes. You might need to run the bbPress 1.x migration script; look in Dashboard > Tools > Forum. If you have problems, let me know and I can look into generating a fresh SQL export.
If this hasn't come up again maybe it isn't something we need to spend more time working on.
I agree with this. I'm going to close the ticket.
Also available in: Atom
PDF