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.

Customising the CMS /

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

CMS is not loading properly! (Mostly Internet Explorer)


Go to End


2 Posts   2957 Views

Avatar
DigoART

Community Member, 13 Posts

16 July 2009 at 2:35am

Edited: 23/07/2009 9:57pm

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
Avatar
DigoART

Community Member, 13 Posts

24 July 2009 at 12:42am

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.