🔧 Schedule Inspection API - Diagnostic Page

1. Configuration Check

APP_URL: https://fransamhomes.com

Expected: http://localhost/fransamhomesLive

❌ APP_URL is not set correctly. Please update config.php

2. Session Check

❌ User is not logged in

Please login first

3. API File Check

✅ API file exists

Path: /home/fransamh/public_html/api/schedule_inspection.php

4. Database Connection Check

✅ Database connection successful

5. API Endpoint Test

API URL: https://fransamhomes.com/api/schedule_inspection.php

6. JavaScript APP_URL Test

7. Next Steps

  1. Verify all checks above show ✅ (green checkmarks)
  2. If not logged in, login here
  3. Click "Test API Connection" button above
  4. Click "Test API with Auth Check" button above
  5. If all tests pass, go to My Bookings
  6. Click on a booking with "Deposit Paid" status
  7. Try the "Schedule Inspection" button

8. Troubleshooting

← Back to Home