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.

Archive

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

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

Whoops SilverStripe


Reply

4 Posts   1202 Views

Avatar
haswalt

23 October 2008 at 3:08am Community Member, 16 Posts

Hi,

just tried to post a reply and broke the forums :P

url: http://www.silverstripe.com/extending-hacking-silverstripe-forum/?executeForm=ReplyForm

Error: Fatal error: Call to a member function setField() on a non-object in /sites/ssopen/www/forum/code/Forum.php on line 647

Sorry :)

Harry

Avatar
Willr

25 October 2008 at 1:07pm Forum Moderator, 5511 Posts

Yea this is a bug with the current forum, if you take longer then 30mins to type a reply the garbage collector deletes your forum post before you post. It is was bit of a hack in this version to create the 'Post' before you posted as it was needed for the attachment field to work.

The next version of the forum will not have this problem as I redesigned image uploader so you dont need to create the post before hand.

Avatar
haswalt

27 October 2008 at 10:26pm Community Member, 16 Posts

Is the modified image uploader code on svn yet?

Harry

Avatar
Willr

28 October 2008 at 4:02pm Forum Moderator, 5511 Posts

Yes it it available if you use the trunk or a recent daily build - http://dailybuilds.silverstripe.com