<h2>🔔 FCM Push Notification Debugger</h2><hr><h3>1. Firebase Service Account File</h3>✅ File exists and valid<br>Project ID: <b>digitallibrary2-c708f</b><br>Client Email: <b>firebase-adminsdk-fbsvc@digita...</b><br><h3>2. FCM Tokens Table</h3>✅ Table exists<br>Total tokens registered: <b>1</b><br><br><b>Recent tokens:</b><br><table border='1' cellpadding='5'><tr><th>User</th><th>Email</th><th>Token (truncated)</th><th>Device</th><th>Updated</th></tr><tr><td>chanti</td><td>chantigorantla848@gmail.com</td><td>fJfNe7N_R-u3QRSiksVTq-:APA91bF...</td><td>CPH2337 14</td><br />
<b>Warning</b>:  Undefined array key "updated_at" in <b>C:\xampp\htdocs\digitallibrary_API\test_fcm.php</b> on line <b>64</b><br />
<td></td></tr></table><h3>3. Notifications Table</h3>✅ Table exists<br>Total notifications: <b>1021</b><br><h3>4. Test Send Notification</h3><p>To test sending a notification, add ?user_id=X&test=1 to the URL</p><p>Example: <a href='?user_id=1&test=1'>test_fcm.php?user_id=1&test=1</a></p><h3>5. PHP Error Log</h3>Error log location: <b>C:\xampp\php\logs\php_error_log</b><br><p>Check this file for FCM errors if notifications aren't working.</p><hr><p><i>Debug script completed at 2026-10-06 03:55:09</i></p>