Hostinger Debug Report

Generated: 2025-10-27 08:16:42

1. PHP Version

PHP Version: 8.2.28
PHP SAPI: litespeed

2. File System Access

✓ lib/auth.php exists
✓ lib/rbac.php exists
✓ lib/plan.php exists
✓ lib/db.php exists
✓ lib/audit.php exists
✓ config.php exists

3. Configuration

✓ Config loaded successfully
Database: u939233081_dcapp_db
Host: localhost

4. Database Connection

✓ Database connection successful
✓ Basic query test passed

5. Required Tables

✗ Table check error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '?' at line 1

6. Session Handling

✓ Session started

7. Library Loading

✓ Auth library loaded
✓ RBAC library loaded
al' ]; } return $warnings; } } // Global plan calculator instance $planCalculator = new PlanCalculator(); ?> ✓ Plan library loaded

8. PHP Limits

Memory Limit: 2048M
Max Execution Time: 360
Upload Max Filesize: 2048M
Post Max Size: 2048M

9. Error Logging

Error Reporting: 32767
Display Errors: 1
Log Errors:
Error Log: /home/u939233081/.logs/error_log_thinkschool_sbs

10. Directory Permissions

✓ /home/u939233081/domains/thinkschool.sbs/public_html is readable
✓ /home/u939233081/domains/thinkschool.sbs/public_html is writable
✓ /home/u939233081/domains/thinkschool.sbs/public_html/lib is readable
✓ /home/u939233081/domains/thinkschool.sbs/public_html/lib is writable
✓ /home/u939233081/domains/thinkschool.sbs/public_html/api is readable
✓ /home/u939233081/domains/thinkschool.sbs/public_html/api is writable

Debug Complete

If you see any ✗ marks above, those are the issues that need to be fixed.