Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error when posting to the forum

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1866 Views
  • xeraa
    Avatar
    Google Summer of Code Hacker
    58 Posts

    Error when posting to the forum Link to this post

    While trying to post a message to the GSoC forum (after writing the message and clicking on "Post"), I got the error "Fatal error: Call to a member function setField() on a non-object in /sites/ssopen/www/forum/code/Forum.php on line 641" - see screenshot below.

    I did nothing special, maybe too much time passed between opening the reply window and actually posting?

    I just waited for another 10 minutes on this post and got the same error, when posting immediately it seems to work...

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: Error when posting to the forum Link to this post

    I've also been running into this issue and have taken to always copying my post just in case.
    I've posted this bug on trac here: Ticket #1371 Fatal error: Call to a member function setField() on a non-object if posted after ~10 minutes

  • Markus
    Avatar
    Google Summer of Code Hacker
    152 Posts

    Re: Error when posting to the forum Link to this post

    It's strange but it's not a bug but a "feature" it happens exactly 15 minutes..

    The problem is that the current forum code creates an empty post for the reply when you click on reply and uses this record then. The problem is that all posts without title and content are deleted after 15 minutes..

    Since I'm currently implementing OpenID support I'll try to find a solution for this. I'll check in my changes as soon as I have SVN access (hope I'll get it soon since I'm waiting for it already quite long!).

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: Error when posting to the forum Link to this post

    > Since I'm currently implementing OpenID support I'll try to find a solution for this. I'll check in my changes as soon as I have SVN access (hope I'll get it soon since I'm waiting for it already quite long!).

    I've sometimes wanted to commit things to SVN repos I didn't have access to, or at least I wanted a way to track my local changes that I didn't want to commit.

    I've been looking into SVK, but it wasn't working for me. I've just started trying out git-svn and it seems to be very nice. I highly recommend reading: An introduction to git-svn for Subversion/SVK users and deserters.

    Hope this helps,

    Elijah

    1866 Views
Page: 1
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.