CSS file not loading (moodle 2.5)

CSS file not loading (moodle 2.5)

por Luis Ibhiabor -
Número de respostas: 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

Em resposta a 'Luis Ibhiabor'

Re: CSS file not loading (moodle 2.5)

por 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.


Em resposta a 'Luis Ibhiabor'

Re: CSS file not loading (moodle 2.5)

por Richard Oelmann -
Foto de Core developers Foto de Particularly helpful Moodlers Foto de Plugin developers Foto de 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.

Em resposta a 'Richard Oelmann'

Re: CSS file not loading (moodle 2.5)

por 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,

Em resposta a 'Luis Ibhiabor'

Re: CSS file not loading (moodle 2.5)

por Gareth J Barnard -
Foto de Core developers Foto de Particularly helpful Moodlers Foto de 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.

Em resposta a 'Gareth J Barnard'

Re: CSS file not loading (moodle 2.9.5)

por Armando Pi -

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


Problemas con moodle

Em resposta a 'Armando Pi'

Re: CSS file not loading (moodle 2.9.5)

por cristiano Etzo -

we have the same issue with moodle 3.0.4