Padel Tournament UI - Diagnostics

📋 View Server Logs →

Current working directory: /home/u565002880/domains/playpadel.be/public_html/api/v1
__DIR__: /home/u565002880/domains/playpadel.be/public_html/api/v1

Loading config.php...
DATA_BASE_DIR: /home/u565002880/domains/playpadel.be/public_html/api/data
ADDRESS_LOCATIONS_CSV: /home/u565002880/domains/playpadel.be/public_html/api/data/meta/clubs_padelstats_meta.csv
DATA_TOURNAMENTS_DIR: /home/u565002880/domains/playpadel.be/public_html/api/data/tournaments

File existence checks:
Base data directory exists: YES
CSV file exists: YES
Tournaments directory exists: YES

Tournament files pattern: /home/u565002880/domains/playpadel.be/public_html/api/data/tournaments/tournaments_all_*.json
Found 23 tournament files:
  - tournaments_all_2024-11.json
  - tournaments_all_2024-12.json
  - tournaments_all_2025-01.json
  - tournaments_all_2025-02.json
  - tournaments_all_2025-03.json
  - tournaments_all_2025-04.json
  - tournaments_all_2025-05.json
  - tournaments_all_2025-06.json
  - tournaments_all_2025-07.json
  - tournaments_all_2025-08.json
  - tournaments_all_2025-09.json
  - tournaments_all_2025-10.json
  - tournaments_all_2025-11.json
  - tournaments_all_2025-12.json
  - tournaments_all_2026-01.json
  - tournaments_all_2026-02.json
  - tournaments_all_2026-03.json
  - tournaments_all_2026-04.json
  - tournaments_all_2026-05.json
  - tournaments_all_2026-06.json
  - tournaments_all_2026-07.json
  - tournaments_all_2026-08.json
  - tournaments_all_2026-09.json

CSV file analysis:
CSV header: club_id, club_name, original_address, corrected_address, latitude, longitude
  Row 4: 'Hangar Padel Club' -> (51.2159361, 4.265172)
  Row 5: 'Mvp Padel' -> (51.123062, 3.730417)
  Row 6: 'Padel Club Melle' -> (50.9982883, 3.8046826)
  Row 7: 'Acasa Padel Laarne' -> (51.0299287, 3.8623323)
  Row 8: 'TC Eleven' -> (51.0741536, 3.568096)
  Row 9: 'TC Eeklo' -> (51.1841511, 3.5496259)
  Row 10: 'Dropshot Berlare' -> (51.0210189, 3.999136)
Total rows processed: 10, Valid location rows: 7

cURL Diagnostics

cURL extension available: YES
cURL version: 8.14.1

Testing connection to padelstats.be...
Test URL: https://padelstats.be/api/list_users?s=test
HTTP Code: 200
cURL Error: None
Response length: 2161 bytes
Response preview: [{"id":169391,"name":"Testelmans Dries","name_club":"T.C. LAAKDAL","padel":100,"category":"M"},{"id":364916,"name":"Testelmans Frank","name_club":"HEISTSE T.C.","padel":100,"category":"M"},{"id":60212...

DNS Resolution test:
padelstats.be resolves to: 139.177.177.125

Testing outbound connectivity to httpbin.org...
HTTP Code: 200
cURL Error: None
Response received: YES

Mailing Service Diagnostics

PHP mail() function available: YES
fsockopen() function available: YES

Loading email configuration...
FEEDBACK_EMAIL_TO: SET
FEEDBACK_SMTP_HOST: SET
FEEDBACK_SMTP_PORT: SET
FEEDBACK_SMTP_USERNAME: SET
FEEDBACK_SMTP_PASSWORD: SET (length: 19)

Testing PHP mail() function...
mail() function call: SUCCESS

SMTP fallback test: SKIPPED (mail() succeeded or SMTP not configured)

Mailing Service Status:
✓ PRIMARY: PHP mail() function is working
✓ Overall status: GOOD

Recent Logs

Feedback Log Location: /home/u565002880/domains/playpadel.be/public_html/api/data/feedback.log
Feedback log exists: YES
Recent feedback entries (last 20 lines):
----------------------------------------
[2026-02-14 12:52:15] Feedback log created
[2026-02-14 12:52:42] IP:2a02:1812:171d:ff00:d52d:2232:a64c:2cb5 Fingerprint:9z0up0 Feedback from jochen.gerardi@gmail.com: this is crap 321
fsdfsfs
fsdf
sdfs
sd
f
[2026-02-26 09:38:11] IP:194.78.52.10 Fingerprint:wwcorj Feedback from jochen.gerardi@tomtom.com: Problem me die site
ja jonges was da jong!
[2026-03-11 16:41:24] IP:2a02:4780:3f:1234::b3 Fingerprint:unknown Feedback from diagnostic@playpadel.be: Diagnostic Test via endpoint feedback
This is a test message from diagnostics.php via the endpoint feedback at 2026-03-11 16:41:24
[2026-03-11 16:41:24] IP:2a02:4780:3f:1234::b3 Fingerprint:unknown Feedback from diagnostic@playpadel.be: Diagnostic Test via endpoint feedback
This is a test message from diagnostics.php via the endpoint feedback at 2026-03-11 16:41:24
----------------------------------------

PHP Error Log Configuration:
error_log setting: /home/u565002880/.logs/error_log_api_playpadel_be
log_errors: ON
display_errors: OFF

Checking for PHP error logs:

Found error log: /home/u565002880/domains/playpadel.be/public_html/api/data/api_errors.log
Recent entries (last 30 lines):
----------------------------------------
    [title] => Diagnostic Test via endpoint feedback
    [message] => This is a test message from diagnostics.php via the endpoint feedback at 2026-03-11 16:41:24
)
[11-Mar-2026 16:41:24 UTC] Feedback stored successfully in JSON (4 total)
[11-Mar-2026 16:41:25 UTC] Feedback email sent via SMTP fallback to playpadelbelgium@gmail.com
[11-Mar-2026 16:41:26 UTC] Feedback email sent via SMTP fallback to playpadelbelgium@gmail.com
[11-Mar-2026 17:36:28 UTC] API started - logging to: /home/u565002880/domains/playpadel.be/public_html/api/data/api_errors.log
[11-Mar-2026 17:36:28 UTC] API request received: /v1/tournaments?start_date=11%2F03%2F2026&end_date=11%2F04%2F2026
[11-Mar-2026 17:36:28 UTC] Final path after stripping: /tournaments
[11-Mar-2026 17:36:28 UTC] Path received: /tournaments
[11-Mar-2026 17:36:28 UTC] Checking routes for path: /tournaments
[11-Mar-2026 17:36:28 UTC] Handling tournaments list
[11-Mar-2026 17:36:28 UTC] API started - logging to: /home/u565002880/domains/playpadel.be/public_html/api/data/api_errors.log
[11-Mar-2026 17:36:28 UTC] API request received: /v1/news
[11-Mar-2026 17:36:28 UTC] Final path after stripping: /news
[11-Mar-2026 17:36:28 UTC] Path received: /news
[11-Mar-2026 17:36:28 UTC] Checking routes for path: /news
[11-Mar-2026 17:36:28 UTC] Handling news list
[11-Mar-2026 17:36:29 UTC] API started - logging to: /home/u565002880/domains/playpadel.be/public_html/api/data/api_errors.log
[11-Mar-2026 17:36:29 UTC] API request received: /v1/clubs
[11-Mar-2026 17:36:29 UTC] Final path after stripping: /clubs
[11-Mar-2026 17:36:29 UTC] Path received: /clubs
[11-Mar-2026 17:36:29 UTC] Checking routes for path: /clubs
[11-Mar-2026 17:36:29 UTC] Handling clubs summary
[11-Mar-2026 17:36:29 UTC] /home/u565002880/domains/playpadel.be/public_html/api/data/clubs
[11-Mar-2026 17:36:29 UTC] /home/u565002880/domains/playpadel.be/public_html/api/data/meta/clubs_padelstats_meta.csv
[11-Mar-2026 17:36:29 UTC] Loaded 290 address locations
[11-Mar-2026 17:36:29 UTC] Processed 272 clubs
[11-Mar-2026 17:36:29 UTC] Filter vars - club_name: '', min_members: '', max_members: '', radius: '', user_lat: '', user_lng: ''
[11-Mar-2026 17:36:29 UTC] After filters: 272 clubs
----------------------------------------

API Endpoint Diagnostics

Testing /v1/feedback endpoint...
Feedback endpoint URL: https://api.playpadel.be/v1/feedback
HTTP Method: POST
Request Data: {"email":"diagnostic@playpadel.be","title":"Diagnostic Test via endpoint feedback","message":"This i...
HTTP Code: 200
cURL Error: None
Response length: 108 bytes
Response preview: {"success":true,"message":"Feedback submitted successfully","stored":true,"timestamp":"2026-03-11 18:03:16"}...