🔍 Earnify Bot Diagnostics

1. Configuration Check

BOT_TOKEN: ✓ Configured (7811689162...)
ADMIN_ID: ✓ Configured (8142835843)
BASE_URL: ✓ Configured
https://telegrambots.iwe3.cloud/earnify/

2. Database Connection

✓ Database connected successfully
Table 'users': ✓ Exists (0 records)
Table 'referrals': ✓ Exists (0 records)
Table 'transactions': ✓ Exists (0 records)
Table 'withdrawals': ✓ Exists (0 records)
Table 'admin': ✓ Exists (1 records)
Table 'settings': ✓ Exists (1 records)

3. Webhook Status

Webhook URL: ✗ NOT SET
Last Error: ✓ No errors
Pending Updates: 0
{
    "url": "",
    "has_custom_certificate": false,
    "pending_update_count": 0
}

4. File Permissions

../bot/webhook.php: ✓ Accessible (Permissions: 0644)
../bot/config.php: ✓ Accessible (Permissions: 0644)
../bot/functions.php: ✓ Accessible (Permissions: 0644)
../logs: ✓ Accessible (Permissions: 0755)

5. Recent Logs

Latest log file: webhook_2026-05-03.log
Size: 34 bytes
[2026-05-03 12:44:28] WEBHOOK: ""

6. Quick Actions

Set Webhook Delete Webhook Get Bot Info Refresh Diagnostics

7. Recommendations

❌ Set webhook using the "Set Webhook" button above