Need Help My Moodle Blocked

Need Help My Moodle Blocked

by Yaddy Kusmayadi -
Number of replies: 1
Hi, I'm a teacher at a high school in indonesia, I have make a mistake by trying to block ip an entering 1.1.1.1 in  ip blocker and now my moodle status is , is there any way to roll back ? need help badly, thanks
Average of ratings: -
In reply to Yaddy Kusmayadi

Re: Need Help My Moodle Blocked

by Ken Task -
Picture of Particularly helpful Moodlers
Using whatever you have to browse and edit files, add the following
to the config.php file found at your moodle code root:

$CFG->blockedip='';

and if you also tried to set allowed IP, add the following:

$CFG->allowedip='';

Add them above the comments at the bottom of the config.php file ... NOT below:

// There is no php closing tag in this file,
// it is intentional because it prevents trailing whitespace problems!

Sets both to blank .. no need to rollback or restart services,
just attempt to access the site.

'SoS', Ken