Web interface issue

Web interface issue

Дмитрий Еднерал發表於
Number of replies: 2

Hi !

I installed the documentation version 3.9. But after configuring the browser, the web interface looks like this. And I couldn't create an admin user. What to do? Please help me.web interfce issue

nginx config:

```
# Default server configuration
#
server {
    listen 80 default_server;
    listen [::]:80 default_server;

    # Add index.php to the list if you are using PHP

    server_name _;

    location / {
        try_files $uri $uri/ =404;
    }

     location ~ \.php$ {
        include snippets/fastcgi-php.conf;
                fastcgi_split_path_info  ^(.+\.php)(/.+)$;
                if (!-f $document_root$fastcgi_script_name) {
                    return 404;
                }
                fastcgi_pass             127.0.0.1:9000;
                #include                  fastcgi_params;
                fastcgi_param   PATH_INFO       $fastcgi_path_info;
                fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
     }

    root /var/www/html;

    index index.php index.html index.htm index.nginx-debian.html;

}
```


評比平均分數: -
In reply to Дмитрий Еднерал

Re: Web interface issue

Leon Stringer發表於
Core developers的相片 Particularly helpful Moodlers的相片

The web interface is broken because the JavaScript and CSS resources aren't being loaded. You can use your browser's developer tools (e.g. Network Monitor in Firefox) to see what the web server is returning for these, e.g. 404 Not Found.

Check $CFG->wwwroot matches the URL you are using in the browser. It's important that the https: or http: matches.

Why is include fastcgi_params commented out? I've attached my .conf file for comparison, I'm using CentOS 8.

This reply may help.