https is not loading my css on adaptable theme

https is not loading my css on adaptable theme

by Alex Briones -
Number of replies: 3

Hi, 

When I use http: on my site, all is well, but when I use  https, it fails to load some of the Adaptable scripts and ALL my CSS on my site fails as described in this error message from "inspect" in my Chrome browser: 

 //<br /> M.str = {"moodle":{"lastmodified":"Last modified","name":"Name","error":"Error","info":"Information","morehelp":"More help","loadinghelp":"Loading...","cancel":"Cancel","yes":"Yes","confirm":"Confirm","no":"No","areyousure":"Are you sure?","closebuttontitle":"Close","unknownerror":"Unknown error"},"repository":{"type":"Type","size":"Size","invalidjson":"Invalid JSON string","nofilesattached":"No files attached","filepicker":"File picker","logout":"Logout","nofilesavailable":"No files available","norepositoriesavailable":"Sorry, none of your current repositories can return files in the required format.","fileexistsdialogheader":"File exists","fileexistsdialog_editor":"A file with that name has already been attached to the text you are editing.","fileexistsdialog_filemanager":"A file with that name has already been attached","renameto":"Rename to \"{$a}\"","referencesexist":"There are {$a} alias\/shortcut files that use this file as their source","select":"Select"},"admin":{"confirmation":"Confirmation"}};<br /> // 

Any help is appreciated.

Thanks

Average of ratings: -
In reply to Alex Briones

Re: https is not loading my css on adaptable theme

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Forum rules

Before starting a new discussion topic, please check the Themes FAQ and try a forum search.

When asking a question PLEASE:

  • DO tell us which Moodle version you are currently using. To find the version, go to: Site administration -> Notifications.
  • DO tell us the name and version of the theme you are using. To find the version, go to: Site administration -> Plugins -> Plugins overview, then click on 'Additional plugins'.
  • DO post a screen shot if possible.  An image speaks a thousand words.
  • DON'T expect an answer if you have not followed the above DOs.
In reply to Alex Briones

Re: https is not loading my css on adaptable theme

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

To provide support first follow the forum rules as already indicated.

Then, provide more information about the problem. What you pasted is a random code not related with Adaptable.

If the SSL certificate is installed correctly then Adaptable will work. All our servers run under SSL and we never detected any issue.

Verify first the certificate is correct. Use https://www.ssllabs.com/ssltest to verify it. If it is correct then follow the rules and add more information to help you.

 

 

 

In reply to Alex Briones

Re: https is not loading my css on adaptable theme

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi,

I had similar problems with Moodle, however I don't think this is a theme specific problem, more likely to be forgetting to change your Moodle site's config.php $CFG->wwwroot  where previously you had the site as http:// you need to tell Moodle it's now https://

for example:

$CFG->wwwroot  = https://your-moodle-site-url/


You may like to read this document which explains how to move to HTTPS://

https://docs.moodle.org/33/en/Transitioning_to_HTTPS

Hope this helps?

Cheers

Mary

Average of ratings: Useful (1)