Sync_Users.php Errors When Trying to Run it from the CLI

Re: Sync_Users.php Errors When Trying to Run it from the CLI

by Emma Richardson -
Number of replies: 0
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Do you have no support with your server

You could try replacing the whole if clause with:

$CFG->wwwroot   = 'http://yourdomain.com';

and see if that makes any difference..not sure if you are using https or not...adjust accordingly if you are..