Installing and upgrading help
"Loading failed for script" js errors during moodle 3.5.6 install (and after on cli installed site)
Best Solution
You've redacted the site domain name in the output but the links still contain this. Hopefully this doesn't mean you've leaked any sensitive information. It has the advantage that we can see the problem directly.
It looks like 1) debugging is enabled for the site and 2) config.php contains a deprecated implicit object creation, presumably for $CFG.
This is causing JavaScript content to be served with an HTML fragment containing a PHP warning inserted at the start which the browser isn't expecting.
The sample config-dist.php shows how $CFG should be created (from Moodle 1.9 onwards):
unset($CFG); // Ignore this line
global $CFG; // This is necessary here for PHPUnit execution
$CFG = new stdClass();
ensure the top of config.php matches, these lines should appear before any $CFG->property = … lines.
20th Oct 2021
Top Online Shopping Sites in the Philippines - Best Online Sellers Philippines Lazada – www lazada.com.phShopee – www.shopee.ph Online
2nd Feb 2018
Kenya Institute of Mass Communication Nairobi 2017/2018 September KUCCPS Admission letter INSTRUCTIONS to dow
3rd Jan 2018
Official Bondo Technical Training Institute Contacts P.O. Box 377-40601Bondo bondotti@yahoo.comCourses offered at Bondo Technical Training Institute1. Cra
Comments (0)
Leave a Comment