[SOLVED] Internet explorer often show no stylesheet

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
thile
Forum Members
Forum Members
Posts: 25
Joined: Mon Aug 25, 2008 3:57 pm

[SOLVED] Internet explorer often show no stylesheet

Post by thile »

Hi
I am creating a new website for at sports club. Right now I’m experimenting with cmsmadesimple and getting the templates up and running.
I run my test/sample site on a free webhost - byethost.com

I have experienced some problems with the site, then I surf with Internet explorer. Half the time the site looks very ugly. It is like it does not read the CSS information. Or do it take the print stylesheet?
I have currently not set any pages to use the print stylesheet, so I don’t understand.
The problem goes away after a few hits with F5. But comes again when you change pages.

I have no problems with firefox/opera.

using CMS Made Simple version 1.3.1
•  Apache version 2.2.8 (Unix)
•  PHP version 5.2.6
•  MySQL version 5.0.51

Looks like this.
Image
Image
Last edited by thile on Wed Mar 04, 2009 1:25 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Internet explorer often show no stylesheet

Post by Dr.CSS »

It may be that the host isn't giving you enuf memory, if you upgrade to 1.4.1 you will get a page in admin to check server config and it will have checks for whether you have what you need or use the Support Tool linked in bottom...
thile
Forum Members
Forum Members
Posts: 25
Joined: Mon Aug 25, 2008 3:57 pm

Re: Internet explorer often show no stylesheet

Post by thile »

CMS Made Simple Version: 1.3.1

Installed Modules:

    * CMSMailer: 1.73.13
    * FileManager: 0.3.2
    * MenuManager: 1.5
    * ModuleManager: 1.1.6
    * News: 2.8
    * nuSOAP: 1.0.1
    * Printing: 0.2.3
    * Search: 1.5
    * ThemeManager: 1.0.8
    * TinyMCE: 2.4.0

Current PHP Version: 5.2.6

PHP Configuration:

    * Maximum Post Size: 2M
    * Maximum Upload Size: 1M
    * PHP Memory Limit: 32M
    * PHP Safe Mode: Off
    * Maximum Execution Time: 20 seconds
    * Session Save Path: /tmp

MySQLi Server Version:

Server Software: Apache
Server API: APACHE2HANDLER
Server OS: Linux v 2.6.18-12-fza-amd64 on i686 architecture

Directory Permissions:

    * tmp/cache - 0751
    * tmp/templates_c - 0751
    * uploads - 0751
    * modules - 0751

Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Internet explorer often show no stylesheet

Post by Dr.CSS »

change your tmp/template_c to 775 or 755...
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am

Re: Internet explorer often show no stylesheet

Post by fredp »

Hi,

You might want to read this thread:  http://forum.cmsmadesimple.org/index.ph ... 856.0.html

I ran into problem with IE and pages with multiple (4+) css stylesheets. IE would intermittently ignore one or more of the stylesheets. :(   Not sure if it's a timing issue or what.  Anyway, there is a workaround: put all of your css into a single file (e.g. foo.css) and to that stylesheet instead of using the {stylesheet} tag.  Crude, but effective.  :)

Hope this helps,
Fred
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Internet explorer often show no stylesheet

Post by Dr.CSS »

You can make one CSS/stylesheet in CMSMS and still use the {stylesheet} tag, just copy all of them to one and attach it to the template...
fredp
Forum Members
Forum Members
Posts: 218
Joined: Sun Jul 27, 2008 1:36 am

Re: Internet explorer often show no stylesheet

Post by fredp »

mark wrote: You can make one CSS/stylesheet in CMSMS and still use the {stylesheet} tag, just copy all of them to one and attach it to the template...
Thanks for the clarification. I missed that point in your reply to the other thread.

Oh, I thought of a way to automate the "single stylesheet" workaround from inside the {stylesheet} tag itself:
     http://forum.cmsmadesimple.org/index.ph ... #msg122184

Comments are welcome.

Fred   
Nearly all men can stand adversity, but if you want to test a man's character, give him power.
- Abraham Lincoln
thile
Forum Members
Forum Members
Posts: 25
Joined: Mon Aug 25, 2008 3:57 pm

Re: Internet explorer often show no stylesheet

Post by thile »

fredp wrote: Hi,

You might want to read this thread:  http://forum.cmsmadesimple.org/index.ph ... 856.0.html

I ran into problem with IE and pages with multiple (4+) css stylesheets. IE would intermittently ignore one or more of the stylesheets. :(  Not sure if it's a timing issue or what.  Anyway, there is a workaround: put all of your css into a single file (e.g. foo.css) and to that stylesheet instead of using the {stylesheet} tag.  Crude, but effective.  :)

Hope this helps,
Fred
Hi thanks for the suggestion. I will try this then I get back home from work.
thile
Forum Members
Forum Members
Posts: 25
Joined: Mon Aug 25, 2008 3:57 pm

Re: Internet explorer often show no stylesheet

Post by thile »

Ok. I have done a bit of testing.

Adding it all to one style sheet and association only that with the template did not do the trick.
Placing it all in a real file did however.
Post Reply

Return to “The Lounge”