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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


2153 Views

Avatar
bartvanirsel

Community Member, 96 Posts

18 March 2011 at 10:01pm

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