🔍 Debug Error

=== Test 1: Load Database ===
✅ includes/db.php loaded

=== Test 2: Connect to Database ===
✅ Database connected

=== Test 3: Check Tables ===
✅ Table 'branches': 4 rows
✅ Table 'users': 5 rows
✅ Table 'packages': 16 rows
✅ Table 'customers': 207 rows
✅ Table 'bills': 214 rows
✅ Table 'settings': 9 rows

=== Test 4: Load Functions ===

Warning: session_start(): Session cannot be started after headers have already been sent in /home/lintasfi/public_html/rocky/includes/auth.php on line 8
✅ includes/functions.php loaded === Test 5: Test getSetting() === ✅ getSetting('app_name'): PT Lintas Fiber Nusantara === Test 6: Load Classes === ✅ Customer.php loaded ✅ Bill.php loaded ✅ Branch.php loaded === Test 7: Test Customer::all() === ✅ Customer::all(): 207 customers === Test 8: Test Branch::all() === ✅ Branch::all(): 4 branches === Test 9: Check Session ===
Warning: session_start(): Session cannot be started after headers have already been sent in /home/lintasfi/public_html/rocky/debug.php on line 80
❌ Session logged_in: NO ✅✅✅ All tests completed!