Urgent problem: "Sorry, but you can not post in this discussion."

Urgent problem: "Sorry, but you can not post in this discussion."

by Taliesin The Bard -
Number of replies: 22

I've upgraded today from Moodle 1.5.3 to 1.7 and I have a serious problem.

Everything seems to work fine, aside from the forums. It would appear that nobody is able to create a topic or reply to the forums within courses. Each time the error "Sorry, but you can not post in this discussion" shows up.

So I've started to look into the forum access settings and set the following settings to "allow":
- Start new discussions
- Reply to posts

And added myself as administrator role.

I have done this for the role "Administrator" in:
- Site Admin -> Users -> Permissions -> Define Roles
- Administration -> Courses -> Add/edit courses -> Assign roles -> Override roles
- Course -> Assign roles -> Override roles
- Course -> Forums -> forum -> Update this forum -> Roles -> Override roles

Still, I am not able to post anything in this particular forum, as administrator.

I am only able to post in the Site News forum, not in any forum of the courses. Nor can anyone else.

I have no idea where else to look for any settings, is there anything I overlooked? Please help!!!

This is an urgent matter because I need this issue resolved before I can reopen my site which I can't keep closed for days.

Thanks!

David

Average of ratings: -
In reply to Taliesin The Bard

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Taliesin The Bard -
Hello? Is there anyone here who can help?
In reply to Taliesin The Bard

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Jeff Wood -
Taliesin,

When you say no one can start/reply to a forum is it the "news" forum on your site?

There used to be a way to control if a user could reply or create a posting, but I've just looked and I do not see this function. Does anyone know if this functionality has been moved or removed?

You may want to check your course setting to make sure the "Default role" is student.

Jeff
In reply to Jeff Wood

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Taliesin The Bard -

Not in the "news" forum, that one actually does work. The problem is at the forums within courses where nobody can post or reply.

I have searched everywhere I could think of but can't find anything. I did also try setting the default role to "student" and that does not solve the problem either, but in fact poses yet another problem:

When the "default role" is not set to student, nobody can enter the courses even if they have the right enrolment key. The page just refreshes but does not let them in.

If I set the "default role" to student, then anyone can enter the courses, even if they don't know the enrolment key or were never enrolled before.

Frankly speaking I'm regretting this upgrade. Yes it's loaded with tons of new features and settings compared to the old version, but it's so chaotic that it's impractical. You have to look in every corner for a setting here and there. I thought it would be more user-friendly but I stumbled on a disappointment there sad

In reply to Taliesin The Bard

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Jeff Wood -
Just out of curiosity, what do you see at the course level when you Administration > Assign roles? Do you see any students indicated beside students?

I too was very frustrated after upgrading to 1.7 and found I had issues I never had before. I think the biggest problem with the 1.7 upgrade was the lack of documentation. During the install process there should have been notifications that said things like "An previous course creator will now become a course creator at the site level"

Roles for me are the biggest hurdle. Clear documentation on their use is needed.

Jeff
In reply to Jeff Wood

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Taliesin The Bard -

No students were listed there except if I added them manually (which makes no sense as the idea of the enrolment key is to make it more automatic). I added myself as admin manually everywhere but that made no difference either. I agree, documentation is lacking here majorly... but even then, I find the system hardly user-friendly, too chaotic and not doing the job it should do for me (I could no longer find a feature that automatically unenrolls students that have not logged in for x days, and so on...).

So I've decided to remove my upgrade to 1.7 and upgraded to 1.5.4 instead... and that's where I'm going to keep it. I can't say anything about 1.6 as I have not had the courage to try that one as well, but all I can suggest to everyone is: don't upgrade to 1.7, you'll lose more than you gain sad

In reply to Taliesin The Bard

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Kok Chee Kean -

Somehow I agree. For some reason, in one of my courses, I am unable to subscribe half my students to a forum, even though they're students of the course. They simply do not show up on the list of potential subscribers.

In reply to Taliesin The Bard

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Timothy Takemoto -

Please take courage and upload to 1.6.3 or 1.6.3+ because they work very well indeed, and support messaging and utf8 (multi-lingual) content. I think that they are also faster. And most modules and plugins are at 1.6 level now.

1.7 gains various things such as roles, per-quiz (not just per question) feedback, drag and drop course editing (using 'Ajax' if you turn it on) but as the latest release it is enevitable that a few users will be unlucky. But, if you upgrade to 1.7 then you can also feel proud to be supporting the community, because it is by upgrading and dealing with the issues that the software progresses.

I am on 1.6.3...I intend to upgrade when term ends and the modules I use are compatible.

Timothy

In reply to Taliesin The Bard

I have the same problem

by Katherine Horton -
I just updated to 1.7. My existing forum would not allow students to reply. What a pain. Like everyone else, I tried all kinds of combinations with roles. Nothing worked. So, I created a brand new forum. Now it works. Students can reply and edit.
In reply to Katherine Horton

Re: I have the same problem

by Matt Gibson -

I have just encountered this problem. I upgraded to 1.7+ and now, I've created a new forum with visible groups and ratings. I started a discussion, but once my students started replying, I found I was locked out. I get the error:

Sorry, you cannot post in this discussion

I can still add new discussion topics, but no replies. (I am admin BTW)

I also tried to enable ratings, but my students can't rate any posts even though the capability is enabled for students sitewide (I did this after making the forum) Any ideas on what is wrong?

In reply to Matt Gibson

Re: I have the same problem

by Matt Gibson -
In reply to Matt Gibson

Re: I have the same problem

by Kevin Audleman -
MDL-7760 says this problem is fixed. I downloaded the latest revision from CVS today and installed it and the problem persists. Do I need to download revision 1.112.2.11 of post.php to make this work as the MDL-7760 says? This seems unlikely as there are already several revisions after it.

I have faculty who can't respond to posts from their students and it is a serious problem. Any help is greatly appreciated.

Kevin Audleman
In reply to Kevin Audleman

Re: I have the same problem

by Rick Barnes -

I am having the same problem but for pupils.

I have a class who all logged on to moodle at the same time, some are able to reply to my post in the forum and some are not.

I have tried changing the settings for the forum, and even making new forums.

I aslo don't seem to be able to see the posts as separate groups.

Rick

In reply to Rick Barnes

Re: I have the same problem

by Rick Barnes -

The only solution that I have foound if for the students to unerol and re enrol on the course.

However I ca still see all posts, not just a selected group.

Rick.

In reply to Matt Gibson

Re: I have the same problem

by Tomasz Walasek -
I have the same problem. What is more I am not notificated by mail of new posts.
It is starting to be a huge problem for me. Can somebody help?
In reply to Tomasz Walasek

Re: I have the same problem

by Matt Gibson -
Are you sure the mail outs are working at all? Check that your cron is running - I had the same problem but realised that during upgrade I had renamed the moodle folder but forgot to update the cron settings.
In reply to Tomasz Walasek

Re: I have the same problem

by John Donaldson -
Has this problem been fixed yet? I have the same problem and just updated the forum mod files and it still won't all the instructor to reply to posts.
In reply to John Donaldson

Re: I have the same problem

by Martin Anderson -
I had this same problem, so I played around and modified the following part of the mod/forum/post.php file. The green highlighted piece of code is the modified code. The red highlighted piece is the original code. Since Admins (and anyone else with moodle/site:accessallgroups permissions, including Teachers) have inherited permissions to the $coursecontext this seems to work.

Lines 400-408:

if (groupmode($course, $cm)) { // Make sure user can post here
$mygroupid = mygroupid($course->id);
if (!( (empty($mygroupid) and $discussion->groupid == -1)
|| (ismember($discussion->groupid)/*$mygroupid == $discussion->groupid*/)
|| has_capability('moodle/site:accessallgroups', $coursecontext, NULL, false)
|| has_capability('moodle/site:accessallgroups', $modcontext, NULL, false) )) {
print_error('nopostdiscussion', 'forum');
}
}
In reply to Martin Anderson

Re: I have the same problem

by Leopoldo Sanczyk -
Just excellent! =D

Thank you Martin!
In reply to Leopoldo Sanczyk

Re: I have the same problem

by Dominic Maricic -
I'm having this problem in the latest 1.8 version I downloaded last week. When a simple forum discussion is set to separate groups, students can't post. Changing the option to No Groups allows posting again. any ideas?
In reply to Taliesin The Bard

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Robb Lightfoot -
I see that you posted this back in Nov, so I assume that you've sorted it out. I had this sort of problem when GROUPS were set incorrectly. Make sure that your imported forums have NO GROUPS or at least do NOT force groups.

In short, I'd play with the groups settings.

Hope this helps.
In reply to Robb Lightfoot

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Pieterjan Heyse -
Folks, I'm having the same issues here. I upgraded from 1.6 to 1.7 to 1.8, where I am now.
Separated groups do not work anymore, and I don't see a way to activate them. Is this feature removed, and if so, can I 'downgrade' to 1.6 again?
In reply to Pieterjan Heyse

Re: Urgent problem: "Sorry, but you can not post in this discussion."

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
There was a bug like this in 1.8 beta from last week, now fixed ... are you sure that you have the latest version from today?

(Note 1.8 is not actually released yet)