Moodle version 3.0.2-0108
Following a change in our IP address Moodle generates the following error message when attempting to view the login page (http://82.47.249.162/moodle/login/index.php):
"Incorrect access detected, this server may be accessed only through "http://82.44.186.55/moodle" address, sorry." (82.44.186.55 is our old IP address).
It seems like wwwroot in config.php needs to be updated with the new IP address.
The problem is that there doesn't seem to be a
$CFG->wwwrootentry in the config.php file.
The only config.php file appears to be located in an 'muc' sub-folder within the main moodle folder. Please see attached for the code that this file contains.
Any advice on how to fix this would be much appreciated.