Jump to:

5513 Posts in 1732 Topics by 1218 members

Customising the CMS

SilverStripe Forums » Customising the CMS » CMS is not loading properly! (Mostly Internet Explorer)

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1711 Views
  • DigoART
    Avatar
    Community Member
    13 Posts

    CMS is not loading properly! (Mostly Internet Explorer) Link to this post

    Hi,

    I Have a Clean install of 2.3.2 + DataObjectManager

    I've got his strange thing with the CMS - It won't load the CMS properly (I assume CSS ?) from the first load. Even you you hit Refresh on the browser it won't help. However if you press "Site Content" -The CMS starts functioning properly. (See the attached image to this post). This mostly happens on IE (however you can see this in Firefox if the cache is cleaned.

    I tried setting apaches timeout for bigger values, however it didn't help.

    Any Idea on how I can debug / fix that ?
    Thanks.

    PS - The situation is even worth with DataObjectManager - see the second file attached

    Attached Files
  • DigoART
    Avatar
    Community Member
    13 Posts

    Re: CMS is not loading properly! (Mostly Internet Explorer) Link to this post

    Hi ALL,

    Just an update on the issue. It looks like you can get this error if there are empty lines after the php closing tag "?>" in your code in any of the classes ... It took me 3 days to find it out.... Going mental....

    Not sure if its a SS bug or a php, however if anyone believes it is a SS bug -please push it to the buglist.

    How to recreate in IE:

    Install SS - 2.3.2
    Write any custom class
    Ad some empty lines after the "?>"

    Clean the cache in IE (can put the "Reload page every visit" on)
    Restart IE
    Login to CMS, open any of the pages

    PS - if cache is enabled - from the second load everything will load fine
    PPS- Firefox also displays fine after caching.

    1711 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.