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, biapar, Willr, Ingo, swaiba, simon_w

Image attachment failure with 2.3.2 RC2


Reply


3 Posts   1180 Views

Avatar
ncadou

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?

Thanks.

Nicolas

Attached Files
Avatar
neilcreagh

Community Member, 97 Posts

14 July 2009 at 4:58am

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

Avatar
neilcreagh

Community Member, 97 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.