1. PHP Version

8.3.31

2. Config file load

config.php loaded OK
DB_HOST = localhost
DB_NAME = reoeykis_velo
DB_USER = reoeykis_velo
DB_PASS = (set, 11 chars)

3. Database Connection

Connected successfully via host 'localhost'!

3b. Connection without specifying database (tests if user/pass itself is valid)

Auth OK via host 'localhost' (no DB selected) — user/password are valid!
Databases visible to this user: information_schema, reoeykis_velo, reoeykis_web

4. Tables present

TableExists?Row Count
organizationsYES1
departmentsYES4
designationsYES6
employeesYES2
teamsYES0
team_membersYES0
salary_structuresYES0
payroll_runsYES0
payslipsYES0
leave_typesYES4
leave_balancesYES4
leave_requestsYES0
attendanceYES0
holidaysYES0
incentive_rulesYES0
employee_incentivesYES0
employee_documentsYES0
leadsYES0
lead_status_historyYES0
call_logsYES0
service_zone_mappingYES0
installationsYES0
daily_statsYES0
login_logsYES2

5. Charset check

Database charset: utf8mb4 / utf8mb4_unicode_ci

6. Employees / Login readiness

IDCodeNameEmailRoleDeptStatusLogin ActiveHash looks valid?'Demo@123' matches?
1EMP-OWN-001HARISH SURIowner@velowox.comownerOwner Office (admin)activeYesYESYES
2EMP-01BANI SURIbani.suri2005@gmail.comagentSales (sales)activeYesYESYES

All password hashes valid and match 'Demo@123'.

7. Live Login Test

Email: Password:

8. Session test

Session ID: 9ivj91fls2o3lujvibglhnhbuj
session.save_path: /opt/alt/php83/var/lib/php/session (writable: YES)

9. File / folder checks

FileExists?
/login.phpYES
/dashboard.phpYES
/service.phpYES
/hr.phpYES
/leaves.phpYES
/leads.phpYES
/includes/auth.phpYES
/includes/config.phpYES
/includes/header.phpYES
/includes/footer.phpYES
/assets/style.cssYES

Diagnostic complete. Delete test.php after use.