PHP DIAGNOSTIC

PHP Version: 8.1.33

Current Directory: /home/dannelcv/simpler.dannel.co.za

Script: /home/dannelcv/simpler.dannel.co.za/quick-check.php

Server Time: 2026-01-07 01:54:54

EXTENSIONS

mysqli: ✓ OK

pdo: ✓ OK

json: ✓ OK

curl: ✓ OK

openssl: ✓ OK

FILES

config/config.php: ✓ EXISTS

classes/Database.php: ✓ EXISTS

classes/Auth.php: ✓ EXISTS

classes/AzotelAPI.php: ✓ EXISTS

classes/CustomerService.php: ✓ EXISTS

classes/OutageService.php: ✓ EXISTS

api/v1/index.php: ✓ EXISTS

.htaccess: ✓ EXISTS

CONFIGURATION TEST


Warning: Cannot modify header information - headers already sent by (output started at /home/dannelcv/simpler.dannel.co.za/quick-check.php:6) in /home/dannelcv/simpler.dannel.co.za/config/config.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/dannelcv/simpler.dannel.co.za/quick-check.php:6) in /home/dannelcv/simpler.dannel.co.za/config/config.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/dannelcv/simpler.dannel.co.za/quick-check.php:6) in /home/dannelcv/simpler.dannel.co.za/config/config.php on line 38

Warning: Cannot modify header information - headers already sent by (output started at /home/dannelcv/simpler.dannel.co.za/quick-check.php:6) in /home/dannelcv/simpler.dannel.co.za/config/config.php on line 39

Config file: ✓ LOADED

DB_HOST: localhost

DB_NAME: dannelcv_mobile

DB_USER: dannelcv_dev

JWT_SECRET: NOT DEFINED

DATABASE TEST

Database: ✓ CONNECTED

CLASS LOADING TEST

Database: ✓ LOADED

Auth: ✓ LOADED

AzotelAPI: ✓ LOADED

CustomerService: ✓ LOADED

OutageService: ✓ LOADED

PERMISSIONS

api/: 0755

api/v1/: 0755

classes/: 0755

config/: 0755

RECOMMENDATIONS

  1. If any files are missing, upload them to the server
  2. If database connection fails, check credentials in config/config.php
  3. If classes fail to load, check file paths and syntax
  4. If you see this page, PHP is working - the issue is likely in the API files

NEXT STEPS

1. Try accessing: api/v1/test.php

2. Check server error logs for detailed error messages

3. Test individual API endpoints once basic connectivity works