🔍 SafeVoice Login Debug Tool

1. Database Connection

✓ Database connection successful
Database: popya_safe
Host: localhost
User: popya_safe

2. Users Table Check

✓ Found 5 user(s) in database
IDUsernameRoleCategoryFull NameActiveLast Login
1adminsuper_admin-System Administrator✓ Yes2025-11-10 08:02:54
2lifelineexpertLifeline/ChildlineLifeline Namibia✓ Yes2025-12-15 11:19:46
3NAMPOLexpertPoliceNamibian Police✓ Yes2025-11-03 11:24:15
4MGECWexpertMinistry of GenderMinistry of Gender Equality✓ YesNever
5MOHSSexpertMinistry of HealthMinistry of Health and Social Services✓ YesNever

3. Password Verification Test

Test Login Credentials:


4. Session Configuration

Session Status: Active
Session Name: safevoice_session
Session Lifetime: 3600 seconds
Current Session ID: 1tdpual0bmpght6054a5k0bnd5
Session Data: Contains data

5. File Permissions

PathStatus
uploads/✓ OK
logs/✓ OK
includes/config.php✓ OK
includes/database.php✓ OK
includes/auth.php✓ OK

6. Quick Fixes

If login still doesn't work:
1. Run generate_passwords.php to create correct password hashes
2. Copy the SQL UPDATE statement and run it in your database
3. Make sure all users have is_active = 1
4. Clear your browser cookies and try again
5. Check that PHP sessions are working on your server
SafeVoice Debug Tool | Go to Login | Public Form