Discussion Board Bugging Out
Permalink Browser Info Environment
Hey Guys,
I can't get Discussion's to work properly. It might be a combination of permissions and bugs but I wanted to swing this past you guys for some ideas.
As an administrator, I can add, edit, delete posts with no problem.
I have set up advanced user permissions and on the main discussion board I have given the "Moderators" group the following access: Read, Admin. With the sub pages to inherit the pages permissions.
When logged in as a Moderator, I will try to add a page (Start Discussion). I'll full out the form then post. Then it hangs up and never populates the page with the post. If I refresh, then the post title will populate but the content will not show up. The same happens when I attempt to edit. If I try to delete, it kicks me to the home page without deleting the page.
I have already attempted to uninstall and reinstall the package with no effect.
Please help!
I can't get Discussion's to work properly. It might be a combination of permissions and bugs but I wanted to swing this past you guys for some ideas.
As an administrator, I can add, edit, delete posts with no problem.
I have set up advanced user permissions and on the main discussion board I have given the "Moderators" group the following access: Read, Admin. With the sub pages to inherit the pages permissions.
When logged in as a Moderator, I will try to add a page (Start Discussion). I'll full out the form then post. Then it hangs up and never populates the page with the post. If I refresh, then the post title will populate but the content will not show up. The same happens when I attempt to edit. If I try to delete, it kicks me to the home page without deleting the page.
I have already attempted to uninstall and reinstall the package with no effect.
Please help!
Type: | Discussion |
---|---|
Status: | Archived |
Is your site public somewhere?
Yes.
here is a link to the discussion board.
http://www.phacanada.ca/index.php/en/community/discussion-board/our...
It should be set for public view. I have enabled anonymous postings.
Thx!
here is a link to the discussion board.
http://www.phacanada.ca/index.php/en/community/discussion-board/our...
It should be set for public view. I have enabled anonymous postings.
Thx!
Hmm. I think I'm going to need access as an admin, so I can create a user who's a moderator, and view the various permissions that you have setup.
Did this ever get sorted out?
I have a forum that hangs on clicking 'post' as well. The spinner image pops up but nothing seems to be loading.
Unfortunately mine is private right now, so I'm just hoping for a point in the right direction.
EDIT: I should add that if I reload the page, the new topic/reply is there... but it seems that the page would never refresh on its own after clicking "post".
I have a forum that hangs on clicking 'post' as well. The spinner image pops up but nothing seems to be loading.
Unfortunately mine is private right now, so I'm just hoping for a point in the right direction.
EDIT: I should add that if I reload the page, the new topic/reply is there... but it seems that the page would never refresh on its own after clicking "post".
Found this in the error logs:
[31-Jan-2011 08:04:15] PHP Fatal error: Call to a member function getUserEmail() on a non-object in /home8/pelegtop/public_html/packages/discussion/models/discussion_track.php on line 121
Could it be because a user who is set to monitor no longer exists?
[31-Jan-2011 08:04:15] PHP Fatal error: Call to a member function getUserEmail() on a non-object in /home8/pelegtop/public_html/packages/discussion/models/discussion_track.php on line 121
Could it be because a user who is set to monitor no longer exists?
In my case I think it was because I was tinkering with automatically having new users monitor a category, but then not removing them automatically if the user was deleted.
So I found the proper db table 'discussionTrack' and manually deleted the non-existing users from there. Works fine now!
So I found the proper db table 'discussionTrack' and manually deleted the non-existing users from there. Works fine now!
I just deleted 5 different users (I think) from this table via phpMyAdmin and it worked! I hope this isn't going to be an ongoing problem. I just deleted everything that had a 0 value under both "hasViewed" and "notifySent" columns...
it was complete guesswork on my part, but it seems to have worked. Thanks for pointing me in the right direction.
Disturbing, though, I just posted a bunch of stuff to test it out and now I see another 0 0 has shown up at the bottom (please see attached)... is this a problem? Or did I just get lucky and delete one of the right entries?
it was complete guesswork on my part, but it seems to have worked. Thanks for pointing me in the right direction.
Disturbing, though, I just posted a bunch of stuff to test it out and now I see another 0 0 has shown up at the bottom (please see attached)... is this a problem? Or did I just get lucky and delete one of the right entries?
I think as long as "notifySent" is 0 you should be fine (even if that user is deleted from c5 but still exists in the Discussions tables). Or at least, I seem to remember that was my issue. Glad you got it working again!
Yes. It took a long while so I forgot to close this discussion. The User_posts attributes was deleted so that corrected the problem thanks to Andrew.
Yeah, that makes sense, I'll add this bug to our todo list for discussions.
I guess it would be nice if a non-existing user just got skipped during the notification process. Or maybe even cleaned from the 'discussionTrack' table.
I think this is the problem I am having. It spins forever on post for no reason. If I refresh the page, the new post is there, so there's no reason it should be spinning because it's not slow. It's checking for something and not getting what it wants, apparently.
How can I fix this myself in 5.4.2.1 with an older version of Discussion? I can't upgrade due to the fact that this sold project has been "in development" for the last 6 months. Do I just go into phpMyAdmin and delete something?
How can I fix this myself in 5.4.2.1 with an older version of Discussion? I can't upgrade due to the fact that this sold project has been "in development" for the last 6 months. Do I just go into phpMyAdmin and delete something?
On further exploration it seems that when a user is deleted that user is not removed from the discussionTrack table, period (just tried it). So deleting a user who is monitoring a category or topic creates a fatal PHP error when another user later tries to post to that same category or topic. The post modal window hangs and scripts are killed.
There's an on_user_delete event that I'll tie into with the discussion package to clean things.
it was deleted and you put it back? or you deleted it and that fixed the problem?
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.