I EDU PORTAL — STAGE 1
Stabilization & Safety Baseline

UPLOAD
1. Make a backup of the current working school-management-system folder and database first.
2. Upload the CONTENTS of this package into the existing application root (the folder containing index.php and connection.php).
3. Do not delete or replace existing application files.

TEST
Open:
  /school-management-system/upgrade/stage1/health.php?key=d1cc2db1ded9c8a4733f0b9df715ea8a

Expected:
  PASS — baseline checks are healthy.

The diagnostic checks PHP, mysqli, the existing connection.php, database connectivity,
database table visibility, sessions, and existing media/images/pdf directories.

IMPORTANT
- Keep the URL/key private while testing.
- This stage does not change your database, login system, or existing application logic.
- If the test passes, reply: "Stage 1 passed".
- If anything fails, send me the failed row/screenshot. Do not make manual code changes.
