Jump to:

1033 Posts in 809 Topics by 313 members

Forum Module

SilverStripe Forums » Forum Module » * Solved* cannot post on forum module

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2522 Views
  • mattclegg
    Avatar
    Community Member
    56 Posts

    Re: * Solved* cannot post on forum module Link to this post

    I found that by editing sapphire/security/Security.php

    line 179

    from;
    if($member = Member::currentUser()) {
    $member->logOut();
    }

    to;
    if($member = Member::currentUser()) {
    //$member->logOut();
    }

    fixed the problem in blackcandy theme & showed useful output to the user.

  • jseth
    Avatar
    Community Member
    98 Posts

    Re: * Solved* cannot post on forum module Link to this post

    I'm having the same problem, however I've gone into the Security.php file and made the suggested changes, however now it tells me "I'm sorry, but you can't post to this forum until you've logged in. If you want to log in as someone else, do so below. If you're logged in and you still can't post, you don't have the correct permissions to post." while telling me who I am logged in as. I am in the administrator's group, I've tried changing the permissions in the CMS so that anyone can post, but it won't allow it. Any other suggestions? Thanks.

    ---I am using External Authentication and wonder if that is what is causing the problem? Also, I don't get a "registration" option. When I go to the forum page, it knows me even though I am not in the Forum Members in the CMS (I added me as a forum member in the CMS but it made no difference, still no access).

  • thomas820
    Avatar
    Community Member
    2 Posts

    Re: * Solved* cannot post on forum module Link to this post

    I also have done the suggested fix and have the same result as the last post -- how to fix this???

    2522 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.