Jackson Falcão
Uploads Larger Than 16MB
Forms\Components\FileUpload::make('diario_jornal')
->label('Jornal')
->maxSize(1024)
->imageEditorAspectRatios([
null,
'16:9',
'4:3',
'1:1',
])
->maxSize(1048576)
->preserveFilenames()
->downloadable()
->openable()
->directory('uploads')
->live(onBlur: true)
->disabled(function ($livewire){
$existe = $livewire->getRecord();
if(empty($existe->fechado))
{
return false;
}else{
if($existe->status_id === 1)
{
return false; } else{ return true; } } } ) ->getUploadedFileNameForStorageUsing( fn (TemporaryUploadedFile $file, $record): string => (string) str($record->name) . '.' . $file->getClientOriginalExtension(), ) ->getUploadedFileNameForStorageUsing( fn (TemporaryUploadedFile $file): string => (string) str(now()->timestamp).'-Jornal'. '.' . $file->getClientOriginalExtension() ),
return false; } else{ return true; } } } ) ->getUploadedFileNameForStorageUsing( fn (TemporaryUploadedFile $file, $record): string => (string) str($record->name) . '.' . $file->getClientOriginalExtension(), ) ->getUploadedFileNameForStorageUsing( fn (TemporaryUploadedFile $file): string => (string) str(now()->timestamp).'-Jornal'. '.' . $file->getClientOriginalExtension() ),
33 replies
Uploads Larger Than 16MB
45.175.18.112 - - [04/Jul/2024:08:22:10 +0000] "GET /admin/diario/publicacoes HTTP/1.1" 200 29479 "https://portalgov.tec.br/admin/relatorio-fatura-page" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
45.175.18.112 - - [04/Jul/2024:08:22:15 +0000] "GET /admin/diario/publicacoes/create HTTP/1.1" 200 27478 "https://portalgov.tec.br/admin/diario/publicacoes" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
45.175.18.112 - - [04/Jul/2024:08:22:18 +0000] "POST /livewire/update HTTP/1.1" 200 2850 "https://portalgov.tec.br/admin/diario/publicacoes/create" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
45.175.18.112 - - [04/Jul/2024:08:22:26 +0000] "POST /livewire/update HTTP/1.1" 200 5702 "https://portalgov.tec.br/admin/diario/publicacoes/create" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
45.175.18.112 - - [04/Jul/2024:08:22:26 +0000] "POST /livewire/upload-file?expires=1720081646&signature=5449ae0fa3cd121773ae40008f6fd5cdc1db6c6b0e26f8026fad0e05060ca3d7 HTTP/1.1" 422 1344 "https://portalgov.tec.br/admin/diario/publicacoes/create" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
45.175.18.112 - - [04/Jul/2024:08:22:30 +0000] "POST /livewire/update HTTP/1.1" 200 77787 "https://portalgov.tec.br/admin/diario/publicacoes/create" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
33 replies
Uploads Larger Than 16MB
<VirtualHost *:80>
ServerName portalgov.tec.br
ServerAlias www.portalgov.tec.br
ServerAdmin [email protected]
DocumentRoot /var/www/portalgov/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.portalgov.tec.br [OR]
RewriteCond %{SERVER_NAME} =portalgov.tec.br
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
<Directory /var/www/portalgov/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_execution_time 300
php_value max_input_time 300
LimitRequestBody 209715200
</Directory>
Timeout 300
</VirtualHost>
33 replies
Uploads Larger Than 16MB
[Thu Jul 04 06:01:40.209834 2024] [php:error] [pid 968729] [client 45.175.18.112:54003] PHP Fatal error: Could not check compatibility between App\Filament\Resources\Diario\PublicacoeResource::form(Filament\Resources\Form $form): Filament\Resources\Form and Filament\Resources\Resource::form(Filament\Forms\Form $form): Filament\Forms\Form, because class Filament\Resources\Form is not available in /var/www/portalgov/app/Filament/Resources/Diario/PublicacoeResource.php on line 46, referer: https://portalgov.tec.br/admin/diario/publicacoes
[Thu Jul 04 06:03:40.857208 2024] [php:error] [pid 968664] [client 54.36.115.221:42830] PHP Fatal error: Could not check compatibility between App\Filament\Resources\Diario\PublicacoeResource::form(Filament\Resources\Form $form): Filament\Resources\Form and Filament\Resources\Resource::form(Filament\Forms\Form $form): Filament\Forms\Form, because class Filament\Resources\Form is not available in /var/www/portalgov/app/Filament/Resources/Diario/PublicacoeResource.php on line 46
[Thu Jul 04 06:03:41.653512 2024] [php:error] [pid 968663] [client 54.36.115.221:43174] PHP Fatal error: Could not check compatibility between App\Filament\Resources\Diario\PublicacoeResource::form(Filament\Resources\Form $form): Filament\Resources\Form and Filament\Resources\Resource::form(Filament\Forms\Form $form): Filament\Forms\Form, because class Filament\Resources\Form is not available in /var/www/portalgov/app/Filament/Resources/Diario/PublicacoeResource.php on line 46
[Thu Jul 04 06:16:36.472038 2024] [mpm_prefork:notice] [pid 968657] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jul 04 06:16:36.679211 2024] [mpm_prefork:notice] [pid 969863] AH00163: Apache/2.4.58 (Ubuntu) OpenSSL/3.0.13 configured -- resuming normal operations
[Thu Jul 04 06:16:36.679339 2024] [core:notice] [pid 969863] AH00094: Command line: '/usr/sbin/apache2'
33 replies