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

ImageField Upload Fails


Reply

2 Posts   1112 Views

Avatar
Krille Brocket

5 May 2011 at 10:44pm Community Member, 10 Posts

Hi, I just encountered a strange problem with my ImageField components.

When I try uploading files through the ImageField the ajax request stops with /admin/EditForm/field/Picture/EditFileForm 500 (internal server error) and then the ImageField goes all gray.

Im running SS v2.4

Avatar
simon_w

5 May 2011 at 11:11pm Forum Moderator, 474 Posts

You can [url=http://doc.silverstripe.com/debugging]enable dev mode[/url] to get an actual error message returned, though the first thing I suggest doing is checking that the server can write to assets/ and assets/Uploads/.