CSS file not loading (moodle 2.5)

CSS file not loading (moodle 2.5)

by Luis Ibhiabor -
Number of replies: 8

Hi Folks,

I have a problem with my moodle site please. When I visit the page, the CSS file doesn't load. The file just displays un-formatted HTML text. It wasn't like this before. The problem only started after we upgraded our sever to PHP 5.4

Any suggestions, please? Your suggestions will be appreciated.

Thanks

Average of ratings: -
In reply to Luis Ibhiabor

Re: CSS file not loading (moodle 2.5)

by Helson C -

You can try purge all caches or/and change the theme.

if it don't work try this:

Sites Administration > Server > HTTP and uncheck Use slash argument if it is checked.


In reply to Helson C

Re: CSS file not loading (moodle 2.5)

by Luis Ibhiabor -

Hi, 

Thank you for your response . I have  tried both methods that you suggested and it is still not working. Any other ideas please?


Thanks.

In reply to Luis Ibhiabor

Re: CSS file not loading (moodle 2.5)

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Please can you tell us:

1. What version of moodle

2. What theme (and version)

3. Have you tried with any other themes (which ones - if one of the latest Moodle versions, preferably Clean) and what happens

4. Is the php upgrade the only change, or have any other upgrades or plugins been added

5. The upgrade to php 5.4 - 5.4.what? Latest versions of Moodle require 5.4.4 or above, so 5.4.0 etc may cause problems for these later versions.

In reply to Richard Oelmann

Re: CSS file not loading (moodle 2.5)

by Luis Ibhiabor -

Hello,

It is moodle version 2.5. It was anomaly theme. I have tried Afterburner, Arialist, etc as well and the problem remains the same. Nothing changed. 

Most annoying part of it is that we have different sites on this server and this is the only one with the problem.

Any other suggestions, please?

Thanks,

In reply to Luis Ibhiabor

Re: CSS file not loading (moodle 2.5)

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

It sounds like some odd CSS is killing the cache mechanism that generates the CSS.  Have you checked the log files?

Are you running Apache on Windows? Then add the following to your httpd.conf and restart:

<IfModule mpm_winnt_module>

   ThreadStackSize 8388608

</IfModule>

Refs: https://github.com/bmbrands/theme_bootstrap/issues/342#issuecomment-58152495https://code.google.com/p/minify/issues/detail?id=62.

Also see this thread on the themes forum: https://moodle.org/mod/forum/discuss.php?d=271448.

In reply to Gareth J Barnard

Re: CSS file not loading (moodle 2.9.5)

by Armando Pi -

they can help me solve this problem loads of css files moodle 2.9.5


Problemas con moodle