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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Image attachment failure with 2.3.2 RC2

Go to End

3 Posts   1373 Views


Community Member, 1 Post

5 June 2009 at 1:59am

Hello there, I've installed SS 2.3.2 RC2 and I'm having problems with image attachments. I can browse to the file I want to attach, but when I click on "Attach File" an error happens.

I'm fairly new to SS, I couldn't figure out what's wrong, nor could Google or a search in bug reports. Is it a known issue?



Attached Files

Community Member, 134 Posts

14 July 2009 at 4:58am

I'm having this same issue - can anyone help out on this?


Community Member, 134 Posts

14 July 2009 at 6:49am

Correction - It's working fine for me now, I had made a coding error. In my code I had used two different reference names for the image. In the has_one array I called it 'Picture', but in the addFieldToTab it was called 'Photo':

Stupid, I know, but I wanted to share it just incase this is the same issue that others are having.