Diagnóstico CyberDrill v2
Use esta página apenas para teste e apague depois.
1) Ambiente PHP / Sessão
Warning: session_start(): Session cannot be started after headers have already been sent in /home/improve/public_html/diag.php on line 51
| PHP Version | 8.1.34 |
| display_errors | 1 |
| error_reporting | 32767 |
| session.status | Inativa |
| session.ok (grava/leitura) | ✅ OK |
| session.save_path | /var/cpanel/php/sessions/ea-php81 |
| session.save_path é gravável? | ✅ SIM |
| headers_sent() | ✅ JÁ ENVIADOS (pode impedir redirects) |
| timezone | UTC |
| ext/openssl | ✅ SIM |
2) Arquivos essenciais
| Arquivo | Existe? | Detalhe |
|---|
| index.php | ❌ | — |
| index.html | ❌ | — |
| login.php | ✅ | legível |
| verify.php | ✅ | legível |
| verify_code.php | ✅ | legível |
| painel.php | ✅ | legível |
| PHPMailer/src/PHPMailer.php | ✅ | legível |
| PHPMailer/src/SMTP.php | ✅ | legível |
| PHPMailer/src/Exception.php | ✅ | legível |
| mailer_config.php | ✅ | legível |
| send_with_cpanel.php | ✅ | legível |
| .htaccess | ✅ | legível |
3) .htaccess (primeiras linhas)
# === Roteamento por domínio ===
# Quando o visitante acessa clienthunters.com.br, servir os arquivos
# da pasta /public_html/clienthunters.com.br/ em vez da raiz /public_html/.
<IfModule mod_rewrite.c>
RewriteEngine On
# clienthunters.com.br -> subpasta dedicada
RewriteCond %{HTTP_HOST} ^(www\.)?clienthunters\.com\.br$ [NC]
RewriteCond %{REQUEST_URI} !^/clienthunters\.com\.br/
RewriteRule ^(.*)$ /clienthunters.com.br/$1 [L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
# deborajoma.com.br -> subpasta dedicada
RewriteCond %{HTTP_HOST} ^(www\.)?deborajoma\.com\.br$ [NC]
RewriteCond %{REQUEST_URI} !^/deborajoma\.com\.br/
RewriteRule ^(.*)$ /deborajoma.com.br/$1 [L]
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php81” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php81 .php .php8 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
4) Teste de rede SMTP
Você pode testar outro host via querystring, ex.: ?host=mail.cyberdrill.com.br&ports=587,465
| Destino | Porta | Resultado |
|---|
| Gmail → smtp.gmail.com | 587 | ❌ Falhou conectar a smtp.gmail.com:587 (101: Network is unreachable) |
| Gmail → smtp.gmail.com | 465 | ❌ Falhou conectar a smtp.gmail.com:465 (101: Network is unreachable) |
| Host do domínio (mail.*) → mail.betterluxuryhomes.com.br | 587 | ✅ Conectou a mail.betterluxuryhomes.com.br:587 em 0ms |
| Host do domínio (mail.*) → mail.betterluxuryhomes.com.br | 465 | ✅ Conectou a mail.betterluxuryhomes.com.br:465 em 0ms |
5) Registros MX do domínio (DNS)
MX 0 betterluxuryhomes.com.br
6) Sugestões
Sem alertas automáticos.