๐Ÿ” 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":

  1. Log into Admin: backend/admin/index.php
  2. Go to Corporate HR Access โ†’ Company PIN Management
  3. Register a company first (or check if any companies exist)

If Password Hash shows "NULL":

  1. Go to Admin โ†’ Corporate HR Access โ†’ Company Password Manager
  2. Click "Fix All Missing Passwords"
  3. This will set passwords to [PREFIX]@123

If Portal Enabled shows "NO":

  1. Edit the company manually in the database
  2. Set hr_portal_enabled = 1

๐Ÿ”— Quick Links

โ†’ Admin Dashboard
โ†’ Company Password Manager
โ†’ Company Debug Info
โ†’ Back to Login