Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 47076

Re: Theme not displaying (new installation)

$
0
0
by Matteo Scaramuccia.  

Hi Luis,
if you already know the Moodle interface - no beauties here due to the lack of the CSS files - it could be easy to disable it being logged in as the administrator; otherwise, you could hack the config.php file using $CFG->slasharguments = 0 or, better, to change it on the database - as explained above - to be able to still configure it from the WebUI in the future.

The key point here is that having PATH_INFO not supported is not a wise server configuration choice, regardless the PHP web app you want to deploy.

Receiving an HTTP 404 on a Moodle URL containing a PHP file whose scope is "to serve a file" (described in the PATH_INFO) is the key to understand the lack of the slash arguments support, e.g. in javascript.php/1417038529/lib/javasctipt-static.js the PHP file is designed to serve the PATH_INFO provided after, 1417038529/lib/javasctipt-static.js, where 1417038529 is the timestamp of the last theme cache purge (Moodle update/upgrade or a new theme i.e. it is a mechanism to force browser cache update on each code/theme change) and lib/javasctipt-static.js is the real file Moodle should provide to the browser.

Mine is actually a guess: the OP could explore each request and read the body of the HTTP 404 response where Moodle should write the reason for that error.

HTH,
Matteo


Viewing all articles
Browse latest Browse all 47076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>