🔍 Operations Database Debug

1. Database Connection

✓ Database connected successfully!

2. Required Tables

Table NameStatusRow Count
departments✓ Exists9
staff✓ Exists8
staff_emergency_contacts✓ Exists0
staff_certifications✓ Exists0
staff_availability✓ Exists0
staff_shifts✓ Exists0
staff_documents✓ Exists1
department_staff✓ Exists0
department_resources✓ Exists0
tasks✓ Exists6
task_dependencies✓ Exists0
task_comments✓ Exists0
task_attachments✓ Exists0

3. Database Views

View NameStatus
department_summary✓ Exists
staff_summary✓ Exists
task_summary✓ Exists

4. Query Tests

QueryStatusDetails
departments✓ SuccessReturned 14 columns
staff✓ SuccessReturned 43 columns
tasks✓ SuccessReturned 20 columns

5. Sample Data

Departments:

IDNameCodeBudgetStatus
1OperationsOPS$50,000.00active
2ProductionPROD$75,000.00active
3SecuritySEC$40,000.00active
4MedicalMED$30,000.00active
5HospitalityHOSP$35,000.00active

Staff:

Total staff members: 8

Tasks:

Total tasks: 6

6. Foreign Key Constraints

TableColumnReferences
departmentsdepartment_head_idstaff.id
department_resourcesdepartment_iddepartments.id
department_staffdepartment_iddepartments.id
department_staffdepartment_iddepartments.id
department_staffstaff_idstaff.id
department_staffstaff_idstaff.id
staffdashboard_user_idadmin_users.id
staffdepartment_iddepartments.id
staff_availabilitystaff_idstaff.id
staff_certificationsstaff_idstaff.id
staff_documentsstaff_idstaff.id
staff_emergency_contactsstaff_idstaff.id
staff_shiftsdepartment_iddepartments.id
staff_shiftsstaff_idstaff.id
tasksdepartment_iddepartments.id
tasksparent_task_idtasks.id
tasksassigned_tostaff.id
task_attachmentstask_idtasks.id
task_commentstask_idtasks.id
task_dependenciesdepends_on_task_idtasks.id
task_dependenciestask_idtasks.id

7. PHP Environment

SettingValue
PHP Version8.2.30
PDO Driversmysql, sqlite
Display Errors
Error Reporting22527

8. Recent PHP Errors

Error log: /home/u420726827/.logs/error_log_soundhavenfestival_com

[31-Mar-2026 23:59:32 UTC] Vendor webhook received: 2026-03-31 23:59:32
[31-Mar-2026 23:59:32 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header
[02-Apr-2026 14:17:06 UTC] Vendor webhook received: 2026-04-02 14:17:06
[02-Apr-2026 14:17:06 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header
[04-Apr-2026 11:02:50 UTC] Vendor webhook received: 2026-04-04 11:02:50
[04-Apr-2026 11:02:50 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header
[04-Apr-2026 11:53:29 UTC] Webhook received at 2026-04-04 11:53:29
[04-Apr-2026 11:53:29 UTC] Webhook error: Invalid signature - Unable to extract timestamp and signatures from header
[05-Apr-2026 07:20:22 UTC] Vendor webhook received: 2026-04-05 07:20:22
[05-Apr-2026 07:20:22 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header
[06-Apr-2026 07:18:46 UTC] Vendor webhook received: 2026-04-06 07:18:46
[06-Apr-2026 07:18:46 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header
[07-Apr-2026 03:34:53 UTC] Webhook received at 2026-04-07 03:34:53
[07-Apr-2026 03:34:53 UTC] Webhook error: Invalid signature - Unable to extract timestamp and signatures from header
[07-Apr-2026 09:13:09 UTC] Webhook received at 2026-04-07 09:13:09
[07-Apr-2026 09:13:09 UTC] Webhook error: Invalid signature - Unable to extract timestamp and signatures from header
[07-Apr-2026 09:17:51 UTC] Vendor webhook received: 2026-04-07 09:17:51
[07-Apr-2026 09:17:51 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header
[07-Apr-2026 10:09:37 UTC] Vendor webhook received: 2026-04-07 10:09:37
[07-Apr-2026 10:09:37 UTC] Webhook signature verification failed: Unable to extract timestamp and signatures from header

9. Recommendations

✓ Everything looks good!

Debug completed at 2026-04-07 10:47:57