Alertas não aparecem em produção mas devem ser corrigidos para evitar que o sistema se comporte de maneira não esperada.
imageavif(): avif error - Could not encode image: No codec available
Linha: 85
/src/Html/Arquivo/imagem.php
77[...]
7980header('Content-Type: image/avif');
81header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
82header('Cache-Control: max-age=86400');
83header('Pragma: cache');
8485imageavif($imagemNova, quality: 90, speed: 8);
8687imagedestroy($imagem);
88imagedestroy($imagemNova);
89exit();
90} catch (\Throwable) {
91return '';
92}
93}
94[...]
/src/Html/Arquivo/imagem.php
8[...]
1011if (!$download && $eImagem && !empty($width) && !empty($height) && array_key_exists('whc', $_GET)) {
12gerarImagemRedirecionada($path, $mimeType, $width, $height, true);
13} elseif (!$download && $eImagem && !empty($width) && !empty($height) && array_key_exists('wh', $_GET)) {
14gerarImagemRedirecionada($path, $mimeType, $width, $height);
15} elseif (!$download && $eImagem && $mimeType != 'image/avif') {
16gerarImagemAvif($path, $mimeType);
17}
1819function pegarTipoImagem($path, $mimeType)
20{
21if (in_array($mimeType, ['image/jpeg', 'image/jpg'])) {
22return imagecreatefromjpeg($path);
23} elseif ($mimeType == 'image/png') {
24return imagecreatefrompng($path);
25[...]
/src/Html/Arquivo/privado.php
48[...]
50mensagemStatus(401, localhost: 'Esse arquivo é privado.');
51}
5253$path = DIRETORIO_PRIVADO . '/' . $Grupo->diretorio . '/' . $Arquivo->arquivo;
54require_once 'validar_path.php';
5556include 'imagem.php';
5758if (!$download) {
59$Response = new Response(arquivo: $path);
60$Response->render();
61exit();
62} elseif ($download) {
63$Response = new Response(download: $path);
64$Response->render();
65[...]
/src/Public/index.php
92[...]
94require_once __DIR__ . '/../Html/RandomEncode/index.php';
95exit();
96} elseif ($diretorioStatus === true && str_starts_with($requestUri, 'aqioulc.') && METODO == 'GET') {
97require_once __DIR__ . '/../Html/Arquivo/publico.php';
98exit();
99} elseif ($diretorioStatus === true && str_starts_with($requestUri, 'aqiorvd.') && METODO == 'GET') {
100require_once __DIR__ . '/../Html/Arquivo/privado.php';
101exit();
102} elseif ($diretorioStatus === true && str_starts_with($requestUri, 'aqiornm.') && METODO == 'GET') {
103require_once __DIR__ . '/../Html/Arquivo/nome.php';
104exit();
105} elseif ($requestUri == 'fw-erro-status' && METODO == 'POST') {
106require_once __DIR__ . '/../Html/Erro/projeto.php';
107exit();
108}
109[...]
/public/index.php
1<?php
23require_once __DIR__ . '/../src/Public/index.php';
4
Array ( )
Array ( )
Array ( )
Array ( )
GET
Erro ao pegar protocolo
apiv4hml.youhuul.com
/aqiorvd.NOa7VmwCuq90p_FDwlgFqOeZtrjFlpvl0K-ZwCoiE7SSmTSw97lBsI2TQIyYYpGW
80
216.73.216.65
gzip, br
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
*/*
a51e7e49be916e2a-CMH
cloudflare; loops=1
216.73.216.65
US
{"scheme":"https"}
https
Keep-Alive
apiv4hml.youhuul.com
200
216.73.216.65
gzip, br
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
*/*
a51e7e49be916e2a-CMH
cloudflare; loops=1
216.73.216.65
US
{"scheme":"https"}
https
Keep-Alive
apiv4hml.youhuul.com
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Apache
apiv4hml.youhuul.com
137.184.235.197
80
104.23.243.108
/var/www/html/clube_novo/public_html/public
http
/var/www/html/clube_novo/public_html/public
[no address given]
/var/www/html/clube_novo/public_html/public/index.php
20863
/aqiorvd.NOa7VmwCuq90p_FDwlgFqOeZtrjFlpvl0K-ZwCoiE7SSmTSw97lBsI2TQIyYYpGW
c=121
CGI/1.1
HTTP/1.1
GET
c=121
/aqiorvd.NOa7VmwCuq90p_FDwlgFqOeZtrjFlpvl0K-ZwCoiE7SSmTSw97lBsI2TQIyYYpGW?c=121
/index.php
/index.php
1793238248.0878
1793238248