✅ Token stored in session successfully.
Token: uvoLegsVdiIDsR9abM4z...
Session token: Yes
✅ Token file created successfully.
Token file: Yes
Token file size: 48 bytes
✅ Token file read test: PASSED
=== Testing API with token ===
API Test URL: https://api.streamplay.streamamg.com/fixtures/mxgp/p/3001448?offset=0&limit=5
HTTP Code: 200
Response length: 46 characters
Token working: Yes
🎉 SUCCESS! Your token is working with MXGP API!
🚀 Go to List.php
=== Debug Info ===
Current directory: /var/www/html/mxgp
Script location: /var/www/html/mxgp/login.php
Token file path: /var/www/html/mxgp/token
Session ID: 7tc4qiujkmtfhisifg1fp7t2ti