🔧 Troubleshooting
Installation Issues
"Cannot connect to database"
- Try
127.0.0.1instead oflocalhost - Verify credentials via phpMyAdmin
- Check MySQL user privileges
- On cPanel, the DB host is always
localhost
Installer redirects to homepage
config/database.php already exists from a previous attempt. Delete it and try again.
Login shows blank page
Check PHP error log for Fatal error or Call to undefined function. Most common: missing pdo_mysql extension.
Messages Not Appearing
Webhook messages not arriving
- Is the webhook URL configured in the provider's dashboard?
- Does the URL use HTTPS?
- Is the channel active (toggle on)?
- Check
webhook_eventstable forfailedentries
Email messages not appearing
- Is the cron job running?
- Is the PHP
imapextension loaded? - Are IMAP credentials correct?
SSE real-time updates not working
- Check browser DevTools → Network for
/sserequest - Nginx buffering? Set
X-Accel-Buffering: no - CDN/Cloudflare? Enable streaming mode
- PHP
max_execution_timemust be at least 60 seconds
Sending Failures
WhatsApp reply not delivered
- Is the Access Token valid? Temporary tokens expire in ~24 hours
- Is the phone number in E.164 format without
+? - Is the Meta app still in Development mode?
Email replies not arriving
PHP mail() may not be configured on VPS. Configure Postfix or use an email API.
Common PHP Errors
| Error | Fix |
|---|---|
Call to undefined function imap_open() | Shared hosting: cPanel → Select PHP Version → enable imap. VPS: sudo apt install php-imap |
Permission denied: config/database.php | Set config/ to 755 via File Manager or chmod 755 config/ |
Maximum execution time exceeded | Set max_execution_time = 120 in php.ini |
Getting More Help
- PHP Error Log — cPanel: Logs → Error Log. VPS:
/var/log/apache2/error.log - Webhook Event Log — inspect
webhook_eventstable in phpMyAdmin - Cron Output — visit your cron URL in the browser
- Browser Console — F12 → Console for JavaScript errors