Moodle doesn't show CSS and theme with linux server

I have a problem with Moodle.

I installed the installation on a Linux server, but CSS and themes are not displayed, so I only have plain text.

How is this possible and how to solve it?

Thank.

+3
source share
5 answers

This solution should work. I ran into the same problem after switching from local to production, and I had to disable the use of slash arguments in

Site Administration> Server> HTTP.

This is the first element that you see on the page. Just deselect if checked and save to see if this helps.

+10
source

moodle 3.2 Linux Ubuntu Apache2 PHP5.6. css js . . ERR_CONTENT_DECODING_FAILED URL-

/theme/yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.css 

, zlib php.ini .

php.ini, php.ini

sudo vi /etc/php/5.6/apache2/php.ini

2

zlib.output_compression = on
zlib.output_compression_level = 6

apache

sudo service apache2 restart

.

: https://moodle.org/mod/forum/discuss.php?d=324581#p1421502

+1

, moodle .

moodle . , .

, .

 Administration > Site administration > Appearance > Themes > Theme Selector

.

: moodle

0

nginx, , /etc/nginx/sites-enabled/[ ] moodle. https://docs.moodle.org/32/en/Nginx

0

-, , ?

-, , ( 404 )?

, , Moodle ( ) , .

You can also verify that all of your Moodle data folders are writable, as otherwise Moodle may have problems creating cached theme files.

-1
source

All Articles