<h2>FCM Push Notification Debug</h2><h3>1. Service Account File</h3><p style='color:green'>✓ Service account file exists</p><p style='color:green'>✓ Service account file is valid JSON</p><p>Project ID: digitallibrary2-c708f</p><p>Client Email: firebase-adminsdk-fbsvc@digitallibrary2-c708f.iam.gserviceaccount.com</p><p style='color:green'>✓ Private key present</p><h3>2. FCM Tokens in Database</h3><table border='1' cellpadding='5'><tr><th>User ID</th><th>Name</th><th>Email</th><th>Token (first 50 chars)</th><th>Created</th></tr><tr><td>33</td><td>chanti</td><td>chantigorantla848@gmail.com</td><td>fJfNe7N_R-u3QRSiksVTq-:APA91bF_L0QgLyrsNOcaoCguS4z...</td><br />
<b>Warning</b>:  Undefined array key "created_at" in <b>C:\xampp\htdocs\digitallibrary_API\debug_fcm.php</b> on line <b>65</b><br />
<td></td></tr></table><h3>3. Firebase Access Token</h3><p style='color:green'>✓ Access token obtained successfully</p><p>Token (first 50 chars): ya29.c.c0AZ4bNpatq0BnEayyff6xuHmI7bqB05JCX0SgCYyWN...</p><hr><h3>Usage</h3><ul><li>View all tokens: <a href='?'>?</a></li><li>View user's tokens: <a href='?user_id=33'>?user_id=33</a></li><li>Send test push to user: <a href='?user_id=33&send=1'>?user_id=33&send=1</a></li></ul><p><strong>Check PHP error log:</strong> C:\xampp\apache\logs\error.log</p>