Upgrading from 3.5.11 to 3.6. CSS not working?

Upgrading from 3.5.11 to 3.6. CSS not working?

by Ian Cockram -
Number of replies: 4

Just tried to upgrade from 3.5 to 3.6. Everything checked out okay whilst installing. But now the CSS doesn't seem to be loading. The CSS didn't seem be loading correctly either when going through the steps of installation either. 

I had the boost theme installed previously. But I'm unsure what I have done wrong for it all not to show correctly?

Site link is: http://tutorials.biometricsltd.com

---

---

Average of ratings: -
In reply to Ian Cockram

Re: Upgrading from 3.5.11 to 3.6. CSS not working?

by Ken Task -
Picture of Particularly helpful Moodlers

Try purging the cache by url:

https://site/admin/purgecaches.php

Button for purge all caches.

Also, in whatever browser using, clean cache.

Then TIA (try it again).

If that doesn't clear it up, use whatever you have to browse files in your hosting account and delete moodledata/cache and moodledata/localcache folders.

Safe to do as Moodle will/should regenerate them + contents.

Don't get confused ... that's moodledata/cache and moodledata/localcache

Path to moodledata can be seen in your config.php file of moodle code.

'SoS', Ken

In reply to Ken Task

Re: Upgrading from 3.5.11 to 3.6. CSS not working?

by Ian Cockram -

Thanks Ken,

I found a solution here: https://docs.moodle.org/38/en/Using_slash_argumentsI simply unchecked the option to 'use slash arguments'. Not sure if this is the best solution for it to work though. 

I did try your advice but it didn't change anything when I retesting with 'use slash arguments' selected.

I don't use any SCORM files so I hope this should be no problem for me in the future.

Ian

In reply to Ian Cockram

Re: Upgrading from 3.5.11 to 3.6. CSS not working?

by Ken Task -
Picture of Particularly helpful Moodlers

Strange.   IF your 3.5.x was working fine it too had a  Slash arguments (on by default me thinks) ... known to apache as 'acceptpathinfo' ...   setting.   Upgrade to 3.6.x and themes go wonky.  In apache config, can be set via server config, virtual host, directory, or .htaccess and default is on.

So the upgrade of moodle lost settings upon upgrade?

Anyhoo ... all is well that ends well, I guess.

Congrats on solving your own issue!

'SoS', Ken

 

In reply to Ian Cockram

Re: Upgrading from 3.5.11 to 3.6. CSS not working?

by Luis de Vasconcelos -
Picture of Particularly helpful Moodlers
Did you change anything in your PHP configuration?

Are you running the site under http or https? Did the url in $CFG->wwwroot in your config.php file change from https to http during the upgrade?

Disabling Slash Arguments is not a valid long term fix. You need to find and fix the undelrlying issue. If you use scorm packages in your courses you need Slash arguments to be enabled. And apparently Slash Arguments will one day be compulsory in Moodle, according to https://docs.moodle.org/38/en/Using_slash_arguments#Slash_arguments_environment_check.

Have you installed any non-core plugins? If you have then check that you've installed the latest version of those non-core plugins and that the latest versions of those are compatible with your new version of Moodle.

Lastly, check the permissions on your Moodledata directory and that Moodle / Apache has the correct read/write access to all the folders in Moodledata.


Lastly, try deleting your Moodle config.php file again. The Moodleinstaller will recreate it again.