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

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

- Taliesin The Bard の投稿
返信数: 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

Taliesin The Bard への返信

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

- Taliesin The Bard の投稿
Hello? Is there anyone here who can help?
Taliesin The Bard への返信

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

- 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
Jeff Wood への返信

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

- 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 悲しい

Taliesin The Bard への返信

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

- 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
Jeff Wood への返信

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

- 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 悲しい

Taliesin The Bard への返信

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

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

Taliesin The Bard への返信

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

- 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

Taliesin The Bard への返信

I have the same problem

- 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.
Katherine Horton への返信

Re: I have the same problem

- 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?

Matt Gibson への返信

Re: I have the same problem

- Matt Gibson の投稿
Matt Gibson への返信

Re: I have the same problem

- 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
Kevin Audleman への返信

Re: I have the same problem

- 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

Rick Barnes への返信

Re: I have the same problem

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

Matt Gibson への返信

Re: I have the same problem

- 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?
Tomasz Walasek への返信

Re: I have the same problem

- 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.
Tomasz Walasek への返信

Re: I have the same problem

- 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.
John Donaldson への返信

Re: I have the same problem

- 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');
}
}
Martin Anderson への返信

Re: I have the same problem

- Leopoldo Sanczyk の投稿
Just excellent! =D

Thank you Martin!
Leopoldo Sanczyk への返信

Re: I have the same problem

- 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?
Taliesin The Bard への返信

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

- 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.
Robb Lightfoot への返信

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

- 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?
Pieterjan Heyse への返信

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

- Martin Dougiamas の投稿
画像 Core developers 画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 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)