Jump to:

23355 Posts in 17734 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » IE7/8 stack overflow at line 0 with ImageField

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

Page: 1
Go to End
Author Topic: 1725 Views
  • bartvanirsel
    Community Member
    94 Posts

    IE7/8 stack overflow at line 0 with ImageField Link to this post


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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.