Diagnostics

Diagnostics view for schema readiness, key path checks, core record counts, and quick health signals across 4 P’s.

Healthy Areas
5
Areas Needing Review
2
Detected Rows
14
Path Checks Passed
7

Path Checks

File Path Status
app/db.php /home/truslsca/4psplatform.com/app/db.php Found
includes/fourps-nav.php /home/truslsca/4psplatform.com/includes/fourps-nav.php Found
fourps-dashboard.php /home/truslsca/4psplatform.com/fourps-dashboard.php Found
reports.php /home/truslsca/4psplatform.com/reports.php Found
search.php /home/truslsca/4psplatform.com/search.php Found
audit.php /home/truslsca/4psplatform.com/audit.php Found
system-status.php /home/truslsca/4psplatform.com/system-status.php Found

Diagnostics Notes

  1. Diagnostics is for quick health review, not for making schema changes directly.
  2. If a page is not showing data, compare the detected table and columns here against the actual schema.
  3. Use system-status.php for deeper structure checks and audit.php for data-chain problems.
  4. If paths fail here, keep files in the main 4 P’s app folder unless they are intentionally rewritten.

Core Area Diagnostics

Area Resolved Table Rows Found Columns Missing Columns Status
Customers customers 1 id, email full_name, name, customer_name, display_name, email_address Review
Properties properties 1 id, customer_id client_id, property_name, name, address, street_address Review
Plans plans 1 id, customer_id, property_id, plan_name, status client_id, home_id, name, plan_status Healthy
Inspections inspections 8 id, customer_id, property_id, plan_id, inspection_status inspection_number, title, status Healthy
Claims claims 1 id, customer_id, property_id, plan_id, inspection_id, claim_number, claim_status title, status Healthy
Invoices invoices 1 id, customer_id, property_id, claim_id, invoice_number, status, total_amount invoice_total, total Healthy
Payments payments 1 id, invoice_id, status, amount payment_reference, reference_no, payment_status, payment_amount, amount_paid Healthy