
FamilyWeek Portal - cPanel Deployment Fix Guide

This version fixes:
1. PHP compatibility issue on older cPanel servers
2. JSON/network response failures
3. Data folder permission checks
4. Silent PHP crashes
5. Shared hosting compatibility problems

DEPLOYMENT STEPS:
1. Delete the old files from public_html
2. Upload this ZIP file
3. Extract it directly inside public_html
4. Ensure the /data folder permission is 755 or 775
5. Ensure api.php permission is 644
6. Set cPanel PHP version to PHP 7.4 or higher (recommended PHP 8.1)

IF THERE IS STILL AN ISSUE:
- Check php-error.log in the project folder
- Open:
  https://yourdomain.com/api.php?action=list&pass=FGC2026

Expected response:
{"ok":true,"data":[]}

MOST COMMON CPANEL FIX:
Go to cPanel > Select PHP Version > choose PHP 8.1
