Troubleshooting / Debugging

Writing to Log

  • $fh = fopen("/path/to/file.txt", "a");
  • fwrite($fh,"Text to write\n");
  • fclose($fh);

Sorry, you have exceeded the allowed number of login attempts. Restart your browser.

  • http://docs.moodle.org/23/en/error/moodle/errortoomanylogins
  • States to wait 10-15 minutes, restart browser and try again.
  • With CAS this shouldn't happened (??)
  • The login count is tracked through session data (see lib/moodlelib.php --> update_login_count() and reset_login_count()
  • Deleting the session from mdl_session  might resolve this

 

Taxonomy: