Message Sync - API Test

✅ Database connected

1. Users Table

IDNameMobileAPI Token (first 10 chars)
64hi8471805868b267175809...
63hi84718058600da8946ed9...
62vv84718058608dc3199c48...
61nnn847180586046e10cb634...
60vikas8471805860c635902684...
59vikas847180586073146769e9...
58vikas84718058601a54de03bf...
56Rohan95550321809fa190551c...
55SUKHRAM MURMU7366834752d04e8a7009...
54Ranjith962962607751aa37bdef...

2. Allowed Senders Table

❌ PROBLEM: allowed_senders table EMPTY! Koi sender allowed nahi hai.

3. Consent Sessions

IDUser IDSync EnabledStatusStarted At
33❌ OFFstopped2026-03-25 12:27:07
44✅ ONactive2026-04-18 10:21:31
55❌ OFFstopped2026-04-18 10:20:14
66✅ ONactive2026-04-18 10:22:29
77❌ OFFactive
88❌ OFFstopped2026-04-18 10:23:11
99✅ ONactive2026-04-18 15:30:07
1010✅ ONactive2026-04-18 10:24:58
1111❌ OFFstopped2026-04-18 10:23:49
1212❌ OFFstopped2026-04-18 10:23:56
1313✅ ONactive2026-04-18 10:28:13
1414❌ OFFstopped2026-04-18 10:25:29
1515❌ OFFstopped2026-04-18 10:26:50
1616❌ OFFstopped2026-04-18 10:30:31
1717✅ ONactive2026-04-18 10:27:32
1818✅ ONactive2026-04-18 10:28:54
1919❌ OFFstopped2026-04-18 10:30:41
2020❌ OFFactive
2121❌ OFFstopped2026-04-18 11:02:41
2222✅ ONactive2026-04-18 10:52:34
2323❌ OFFstopped2026-04-18 11:06:47
2424✅ ONactive2026-04-18 11:02:11
2525✅ ONactive2026-04-18 11:06:49
2626❌ OFFstopped2026-04-18 11:11:50
2727❌ OFFstopped2026-04-18 11:27:27
2828❌ OFFstopped2026-04-18 21:30:13
2929❌ OFFstopped2026-04-18 11:26:13
3030✅ ONactive2026-04-18 11:25:45
3131❌ OFFstopped2026-04-18 11:29:11
3232❌ OFFactive
3333❌ OFFstopped2026-04-18 11:34:47
3434❌ OFFstopped2026-04-18 13:16:23
3535❌ OFFstopped2026-04-18 11:53:51
3636✅ ONactive2026-04-18 11:38:06
3737❌ OFFactive
3838❌ OFFstopped2026-04-18 11:47:20
3939✅ ONactive2026-04-18 11:50:33
4040✅ ONactive2026-04-18 11:59:32
4141✅ ONactive2026-04-18 12:00:51
4242❌ OFFstopped2026-04-18 12:05:43
4343❌ OFFactive
4444❌ OFFactive
4545❌ OFFactive
4646✅ ONactive2026-04-18 12:35:47
4747❌ OFFactive
4848❌ OFFstopped2026-04-18 12:25:13
4949✅ ONactive2026-04-18 12:27:50
5050✅ ONactive2026-04-18 12:27:09
5151✅ ONactive2026-04-18 12:53:32
5252❌ OFFstopped2026-04-18 12:48:16
5353❌ OFFstopped2026-04-18 13:14:53
5454❌ OFFstopped2026-04-18 13:00:23
5555✅ ONactive2026-04-18 13:07:58
5656❌ OFFstopped2026-04-18 14:13:56
5858✅ ONactive2026-04-18 22:08:14
5959✅ ONactive2026-04-18 23:06:35
6060✅ ONactive2026-04-18 23:26:32
6162✅ ONactive2026-04-18 23:33:15
6263✅ ONactive2026-04-18 23:35:40

4. upload_message.php Version Check

⚠️ File structure identify nahi hui

5. Simulate Upload Test (per user)

User ID: 3
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 4
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (4, 'JX-ADHAAR-S'), (4, '7099201073');
User ID: 5
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 6
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (6, 'JX-ADHAAR-S'), (6, '7099201073');
User ID: 7
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 8
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 9
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (9, 'JX-ADHAAR-S'), (9, '7099201073');
User ID: 10
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (10, 'JX-ADHAAR-S'), (10, '7099201073');
User ID: 11
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 12
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 13
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (13, 'JX-ADHAAR-S'), (13, '7099201073');
User ID: 14
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 15
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 16
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 17
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (17, 'JX-ADHAAR-S'), (17, '7099201073');
User ID: 18
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (18, 'JX-ADHAAR-S'), (18, '7099201073');
User ID: 19
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 20
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 21
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 22
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (22, 'JX-ADHAAR-S'), (22, '7099201073');
User ID: 23
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 24
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (24, 'JX-ADHAAR-S'), (24, '7099201073');
User ID: 25
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (25, 'JX-ADHAAR-S'), (25, '7099201073');
User ID: 26
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 27
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 28
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 29
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 30
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (30, 'JX-ADHAAR-S'), (30, '7099201073');
User ID: 31
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 32
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 33
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 34
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 35
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 36
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (36, 'JX-ADHAAR-S'), (36, '7099201073');
User ID: 37
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 38
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 39
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (39, 'JX-ADHAAR-S'), (39, '7099201073');
User ID: 40
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (40, 'JX-ADHAAR-S'), (40, '7099201073');
User ID: 41
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (41, 'JX-ADHAAR-S'), (41, '7099201073');
User ID: 42
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 43
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 44
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 45
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 46
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (46, 'JX-ADHAAR-S'), (46, '7099201073');
User ID: 47
❌ Sync OFF ya session active nahi (sync_enabled=0, status=active)
User ID: 48
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 49
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (49, 'JX-ADHAAR-S'), (49, '7099201073');
User ID: 50
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (50, 'JX-ADHAAR-S'), (50, '7099201073');
User ID: 51
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (51, 'JX-ADHAAR-S'), (51, '7099201073');
User ID: 52
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 53
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 54
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 55
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (55, 'JX-ADHAAR-S'), (55, '7099201073');
User ID: 56
❌ Sync OFF ya session active nahi (sync_enabled=0, status=stopped)
User ID: 58
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (58, 'JX-ADHAAR-S'), (58, '7099201073');
User ID: 59
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (59, 'JX-ADHAAR-S'), (59, '7099201073');
User ID: 60
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (60, 'JX-ADHAAR-S'), (60, '7099201073');
User ID: 62
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (62, 'JX-ADHAAR-S'), (62, '7099201073');
User ID: 63
✅ Sync active hai
❌ PROBLEM: Is user ke liye koi allowed sender nahi hai! Yahi wajah hai sync nahi ho raha.
Fix: INSERT INTO allowed_senders (user_id, sender) VALUES (63, 'JX-ADHAAR-S'), (63, '7099201073');

6. Recent Audit Logs (last 10)

IDUserActionDetailsTime
37628SYNC_STOPPEDStopped at 2026-04-19 08:51:382026-04-19 14:21:38
37535SYNC_STOPPEDStopped at 2026-04-19 07:51:262026-04-19 13:21:26
37451MESSAGE_SYNCEDMsgID: 58 | Sender: AX-ADHAAR-S2026-04-19 11:12:39
37364USER_REGISTERMobile: 8471805868, Device: b626e88e-6a69-4cc6-bc05-2222065ad7542026-04-19 01:49:59
37263MESSAGE_SYNCEDMsgID: 57 | Sender: Hhhhhh2026-04-19 01:36:16
37163MESSAGE_SYNCEDMsgID: 56 | Sender: +9170992010732026-04-19 01:35:52
37063MESSAGE_SYNCEDMsgID: 55 | Sender: Message Sync Active2026-04-19 01:35:52
36963MESSAGE_SYNCEDMsgID: 54 | Sender: Ok2026-04-19 01:35:51
36863SYNC_STARTEDStarted at 2026-04-18 20:05:40 — no expiry2026-04-19 01:35:40
36763USER_REGISTERMobile: 8471805860, Device: 6e5a99a9-b2ff-4369-a335-002e232596db2026-04-19 01:35:13

7. Recent Synced Messages (last 5)

IDUserSenderMessageReceived
5851AX-ADHAAR-S362036 is OTP for Aadhaar (XX7825) (valid for 10 m2026-04-19 14:42:35
5763HhhhhhI2026-04-19 05:06:15
5663+917099201073Hui2026-04-19 05:05:51
5563Message Sync ActiveSMS messages are being synced to server2026-04-19 05:05:51
5463OkHui2026-04-19 05:05:51

8. Kya karna hai?

Upar jo bhi ❌ dikha, wo fix karo:
1. Agar upload_message.php PURANI hai → fixed file upload karo
2. Agar allowed_senders khali hai → SQL run karo
3. Agar sync_enabled = 0 hai → SQL se ON karo
4. Agar sab ✅ hai phir bhi kaam nahi → app (APK) check karo ki wo sahi URL pe hit kar rahi hai

⚠️ TEST HONE KE BAAD IS FILE KO SERVER SE DELETE KAR DENA — security risk hai!