Problems with CMSMS and the styles

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
raednesh

Problems with CMSMS and the styles

Post by raednesh »

I installed a fresh copy of CMSMS .10 on one of my sites and I noticed a strange problem. Lot of times, the pages are displayed in IE without styles, if I try to refresh the page, I get the correct layout. There is no definite pattern but it occurs around 30% of time.

Here are links to screenshots I made so you can see what I'm getting:

Admin homepage - Bad: http://putfile.com/pic.php?pic=9/25012112317.jpg&s=x4

Admin homepage - Good: http://putfile.com/pic.php?pic=9/25012132762.jpg&s=x4

Site Admin - Bad: http://putfile.com/pic.php?pic=9/25012140947.jpg&s=x4

Site Admin - Good: http://putfile.com/pic.php?pic=9/25012144366.jpg&s=x4


I'm not sure if that's an IE issue or not but what I know for sure is that I had this problem with all the sites that use CMSMS. I tried accessing the sites from different computers (even different countries while I travel) but I'm still having the same problem.

What do you think of that? Anyone having the same issue, and is there a possible fix?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Problems with CMSMS and the styles

Post by Ted »

I think I've found the problem...

There is a check to see that it's IE.  If it is, it sends out a link for an additional stylesheet that isn't there.

If you want to test this with one of your installs, open up lib/classes/class.admintheme.inc.php, go to around line 1160 and remove:

Code: Select all

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="style.php?ie=1" />
<![endif]-->
See if that helps (I bet it does)

I'll have this fixed in 0.11 if it is.

Thanks!
raednesh

Re: Problems with CMSMS and the styles

Post by raednesh »

yes, that fixed the issue. Now my question is does this IE check happens on the site itself too or is it only the admin? One of my sites is having this problem with the site pages themselves. Is there an IE check there too?
Locked

Return to “CMSMS Core”