Page 1 of 1

[SOLVED] Internet explorer often show no stylesheet

Posted: Mon Aug 25, 2008 4:10 pm
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

Re: Internet explorer often show no stylesheet

Posted: Tue Aug 26, 2008 3:26 am
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...

Re: Internet explorer often show no stylesheet

Posted: Tue Aug 26, 2008 10:30 am
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

Re: Internet explorer often show no stylesheet

Posted: Tue Aug 26, 2008 11:07 pm
by Dr.CSS
change your tmp/template_c to 775 or 755...

Re: Internet explorer often show no stylesheet

Posted: Wed Aug 27, 2008 2:52 am
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

Re: Internet explorer often show no stylesheet

Posted: Wed Aug 27, 2008 2:56 am
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...

Re: Internet explorer often show no stylesheet

Posted: Wed Aug 27, 2008 4:15 am
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   

Re: Internet explorer often show no stylesheet

Posted: Wed Aug 27, 2008 5:37 am
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.

Re: Internet explorer often show no stylesheet

Posted: Wed Aug 27, 2008 3:30 pm
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.