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

Whoops SilverStripe


Go to End


4 Posts   1830 Views

Avatar
haswalt

Community Member, 16 Posts

23 October 2008 at 3:08am

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

Forum Moderator, 5523 Posts

25 October 2008 at 1:07pm

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

Community Member, 16 Posts

27 October 2008 at 10:26pm

Is the modified image uploader code on svn yet?

Harry

Avatar
Willr

Forum Moderator, 5523 Posts

28 October 2008 at 4:02pm

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