When uploading users via CSV, (Users > Accounts > Upload user), passwords are not being generated & emails are not being sent to users.
There is no error in the Cron output, because the task "send_new_user_passwords" is not even being executed via cron -- in fact it is completely missing from my "Site Admin > Server > Scheduled Tasks" page
When I try to run the task manually via CLI by typing "php5 send_new_user_passwords_task.php", I get:
PHP Fatal error: Class 'core\task\scheduled_task' not found in /home/onlinei6/public_html/courses/lib/classes/task/send_new_user_passwords_task.php on line 29
When I try to run "php5 schedule_task.php --list" via CLI to see a list of available tasks, I get:
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/onlinei6/public_html/courses/admin/tool/task/cli/schedule_task.php on line 64
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/onlinei6/public_html/courses/admin/tool/task/cli/schedule_task.php on line 64
PHP Parse error: parse error, unexpected T_STRING in /home/onlinei6/public_html/courses/admin/tool/task/cli/schedule_task.php on line 64
I am very desperate to try to figure out how to add this scheduled task to my scheduled tasks page in moodle, because I have no idea why it's missing - I'm sure other tasks might be missing too.
I'm running moodle version 2.8.1 (Build: 20141113) and my hosted server is running PHP 5.5