Jump to:

17488 Posts in 4473 Topics by 1978 members

Archive

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

Our old forums are still available as a read-only archive.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo

Page: 1
Go to End
Author Topic: 767 Views
  • bartvanirsel
    Avatar
    Community Member
    79 Posts

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

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

    767 Views
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.