Browser doesn't display page with the Moodle CSS

Browser doesn't display page with the Moodle CSS

Guido Gonni發表於
Number of replies: 3

Hello everybody.
I just installed Moodle, on a web site (iovolo.online) which uses https protocol with http being redirected to https.
One of the problems I'm encountering (the other being related to the confirm-logout issue) is that, if I connect to the site with Firefox there's no problem, but if do that with Vivaldi, Konqueror (on Linux) or Safari, Chrome (on MacOS) the displayed page is this:

Initial login

That is, the page is not displayed according to Moodle CSS.  If you notice, in the address area, there is the icon of a lock red-colored. By clicking on it I get

initial message

which tells me that for some reason, even the certificate (provided by Let's Encrypt), the connection is not deemed secure.

Actually Konqueror tells me that the SSL connection is OK:

Konqueror Debug

Now, if I go in the Site settings and I change the following option:

browser setting

to allow for Insecure content, the site is correctly displayed, although with a still insecure connection.

So, since it appears that my Moodle site has some insecure content (but mind you, I haven't uploaded any course yet!) I thought about doing an http-to-https conversion with the security tool provided by Moodle; i.e.,

https conversio 01

And I don't understand why my instance is still running on HTTP. Continuing I get:

https conversio 02

And after having commanded the conversion I get:

https conversio 03

But the process doesn't change the final result, and I am still unable to access the site without allowing the insecure content.

Any idea or suggestion would be highly appreciated.

Have a lovely day!
                Guido

評比平均分數: -
In reply to Guido Gonni

Re: Browser doesn't display page with the Moodle CSS

Benjamin Ellis發表於
Particularly helpful Moodlers的相片

Hi,

Check that in your your config.php, $CFG->wwwroot actually stipulates https.


In reply to Benjamin Ellis

Re: Browser doesn't display page with the Moodle CSS

Guido Gonni發表於
Benjamin, thank you very much for your reply, Actually, that's it, THAT' S IT!!!
Just to more questions:
1. I would like to mark the topic "closed"; do you have any idea how could I do that?
2. Do you confirm that nowhere in the Moodle Docs it talks about this tweaking? Should I open a ticket in "Moodle Tracker"?
Thanks again!
In reply to Guido Gonni

Re: Browser doesn't display page with the Moodle CSS

Benjamin Ellis發表於
Particularly helpful Moodlers的相片

Hi,

Glad I could help.

This is a forum so not really bug tracking so you cannot close the thread.  I think the conversation is automatically closed when the discussion reaches a certain age - 6 months????

It's not a bug so no to raising a Tracker issue.  If you can find a good place to add this information in the documentation, you can edit the page and add it in.    Maybe you want to add it here - https://docs.moodle.org/38/en/Configuration_file#Setting_.24CFG-.3Ewwwroot_correctly

Cheers