CSS file not loading (moodle 2.5)

CSS file not loading (moodle 2.5)

от Luis Ibhiabor -
Количество ответов: 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

В ответ на Luis Ibhiabor

Re: CSS file not loading (moodle 2.5)

от 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.


В ответ на Luis Ibhiabor

Re: CSS file not loading (moodle 2.5)

от Richard Oelmann -
Изображение пользователя Core developers Изображение пользователя Particularly helpful Moodlers Изображение пользователя Plugin developers Изображение пользователя 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.

В ответ на Richard Oelmann

Re: CSS file not loading (moodle 2.5)

от 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,

В ответ на Luis Ibhiabor

Re: CSS file not loading (moodle 2.5)

от Gareth J Barnard -
Изображение пользователя Core developers Изображение пользователя Particularly helpful Moodlers Изображение пользователя 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.

В ответ на Gareth J Barnard

Re: CSS file not loading (moodle 2.9.5)

от Armando Pi -

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


Problemas con moodle

В ответ на Armando Pi

Re: CSS file not loading (moodle 2.9.5)

от cristiano Etzo -