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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1378 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, 136 Posts

14 July 2009 at 4:58am

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

Avatar
neilcreagh

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