Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Error when posting to the forum


Go to End


4 Posts   2294 Views

Avatar
xeraa

Community Member, 58 Posts

2 August 2007 at 2:16am

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

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

3 August 2007 at 2:28am

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

Avatar
Markus

Google Summer of Code Hacker, 152 Posts

3 August 2007 at 3:10am

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

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

4 August 2007 at 8:57am

> 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