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.

Data Model Questions /

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

adding image to dataobject ends in 500 error


Go to End


1488 Views

Avatar
danzzz

Community Member, 175 Posts

25 September 2009 at 9:37pm

hi there,

please can you look at this code:
http://pastebin.com/m378f9523

I'm adding 1 photo to each Supportkontakt.

Could it be that the class "Reference_FotoImage" is wrong in this file?

If I activate the "out-commented" code I cant save any pages any more, this ends up in this error:
http://pastebin.com/m12d591e4

thank you

daniel