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

IE7/8 stack overflow at line 0 with ImageField


Reply

1777 Views

Avatar
bartvanirsel

18 March 2011 at 10:01pm Community Member, 94 Posts

Hi,

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);