Support
Troubleshooting
// Check system status
require_once($CFG->dirroot . '/admin/tool/diagnostics/index.php');
// View error logs
tail -f $CFG->dataroot . '/moodledata/error.log'
// Test database
require_once($CFG->dirroot . '/lib/dml/tests/dml_test.php');
Common Issues
Authentication Problems
# Check LDAP connection
ldapsearch -H ldap://server -D "user" -w "password"
# Verify SSL certificates
openssl verify server.crt
Performance Issues
-- Check slow queries
SHOW FULL PROCESSLIST;
-- Analyze query performance
EXPLAIN SELECT * FROM mdl_user WHERE id = 1;