Launch in new window

Team Trust - Together, Together

Install | Httpsmmsmazadigital

Even with a straightforward installer, problems can arise. Below is a troubleshooting table.

tail -f /var/log/mms/webhooks.log Send another test MMS. You should see JSON POST requests arriving at your webhook URL, similar to:

"event": "message.delivered", "message_id": "msg_abc123", "to": "+1234567890", "timestamp": "2025-03-15T14:32:11Z" httpsmmsmazadigital install

sudo mv /var/www/mms/public/install /var/www/mms/public/install_backup Edit your web server configuration to redirect all HTTP traffic to HTTPS.

RewriteEngine On RewriteCond %HTTPS off RewriteRule ^(.*)$ https://%HTTP_HOST/$1 [R=301,L] Open config/mms.php and define: Even with a straightforward installer, problems can arise

| Problem | Likely Cause | Solution | |---------|--------------|----------| | | DNS misconfiguration or server down | Ping mms.mazadigital.com . If unreachable, contact Maza Digital. | | “Write permission denied” error | Incorrect file ownership | Run: sudo chown -R www-data:www-data /var/www/mms (Linux) | | Database connection timeout | MySQL bind address is 127.0.0.1 only | Change to 0.0.0.0 or use socket connection | | MMS not sending – “Invalid API key” | Key expired or mistyped | Regenerate key in Maza Digital dashboard. | | Images appear broken | Missing ImageMagick PHP extension | Install: sudo apt install php-imagick then restart web server | | SSL certificate error during install | Installer calling HTTP instead of HTTPS | Force HTTPS rewrite in .htaccess | Part 5: Securing Your MMS Installation After Setup Security is paramount when handling customer phone numbers and media content. After installation, immediately implement these measures. 5.1 Restrict Access to /install Directory Delete or rename the install/ folder to prevent reinstallation.

Provide a public URL on your server:

| Field | Value | |-------|-------| | | https://api.mazadigital.com/v1/mms/send | | API Key | (paste key from Maza Digital dashboard) | | API Secret | (paste secret) | | Default Sender ID | YourBrand (must be pre-approved) | | Max Media Size | 1 MB (typical carrier limit) | | Supported Formats | image/jpeg, image/png, video/mp4, audio/aac | Step 7: Webhook Configuration (Optional but Recommended) Webhooks allow Maza Digital to ping your server when a message is delivered, read, or fails.