๐ Corporate HR Login Debugger
This page helps diagnose why Corporate HR Access login is failing.
๐ System Check
โ Database connection: OK
โ Schema ensured: OK
๐ Total companies in database: 2
=== ALL COMPANIES IN DATABASE ===
๐ข Company ID: 3
Name: LAPANDAY
Prefix: LP
Code: LP
Portal Enabled: YES โ
Password Hash: SET โ
Hash Type: password_hash() format
Created: 2026-05-06 11:12:10
๐ข Company ID: 0
Name: SUMILAO MUNICIPALITY GYM
Prefix: MUNICIPALITYOFSUMILAO
Code: MUNICIPALITYOFSUMILAO
Portal Enabled: YES โ
Password Hash: SET โ
Hash Type: password_hash() format
Created: 2026-06-30 12:17:39
๐งช Test Login
โ
How to Fix
If you see "NO COMPANIES FOUND":
- Log into Admin: backend/admin/index.php
- Go to Corporate HR Access โ Company PIN Management
- Register a company first (or check if any companies exist)
If Password Hash shows "NULL":
- Go to Admin โ Corporate HR Access โ Company Password Manager
- Click "Fix All Missing Passwords"
- This will set passwords to [PREFIX]@123
If Portal Enabled shows "NO":
- Edit the company manually in the database
- Set
hr_portal_enabled = 1
๐ Quick Links