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

IE7/8 stack overflow at line 0 with ImageField

Go to End



Community Member, 96 Posts

18 March 2011 at 10:01pm


I'm using firefox and Silverstripe CMS works great. Unfortunately a client uses Internet Explorer
and has the following problem:

When using the ImageField selecting a file to upload works ok, but selecting a file from the assets in the image archive
and clicking the select, makes the following error appear in a javascript alert: 'stack overflow at line 0'
Same problem occurs when directly viewing admin/EditForm/field/RightImage/iframe and clicking browse for files.

Did someone have a similar problem and maybe solved this? Below is the code placing the Imagefield.
My Silverstripe version is 2.4.5 and i discovered that this error does not occur in devmode.

$rightImage = new ImageField('RightImage', 'Image Right');
$fields->addFieldToTab('Root.Content.RightColumn', $rightImage);