btx
btx
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
possibly running php artisan filament:install --panels ? idk. I'll let you know if I find it 😄
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
no not as I remember, I tend to run optimize:clear to prevent any issues in dev env
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
yes, was a fresh installation, new dir, using laravel new ...
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
I guess that was the issue 👍 thanks everyone for helping!! One last question: Shouldn't it be possibly a default behavior to clear this component cache automatically after creating a new page, to prevent running into such issue? I never actively cached any component, never read of this command before tbh
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
However how can I still have cached Components after running cache:clear, optimize:clear, view:clear ?
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
No description
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
No description
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
The issue appeared in both, Docker nginx php fpm and also local artisan serve
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
laravel 404
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
Ok, now I get the same behavior with a fresh installation. I'll upload it in a minute
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
"awcodes/filament-addons": "^0.3.14", "codewithdennis/filament-select-tree": "^3.1", "filament/filament": "^3.0-stable", "filament/forms": "^3.0-stable", "filament/notifications": "^3.0-stable", "filament/tables": "^3.0-stable", "guzzlehttp/guzzle": "^7.2", "laravel/framework": "^10.10", "laravel/horizon": "^5.24", "laravel/octane": "*", "laravel/sanctum": "^3.3", "laravel/tinker": "^2.8", "league/flysystem-aws-s3-v3": "^3.0", "league/glide-laravel": "^1.0", "opcodesio/log-viewer": "^3.1", "osiemsiedem/intervention-image-vips-driver": "^0.11.0", "predis/predis": "^2.0", "ralouphie/mimey": "^1.0", "shuchkin/simplexlsx": "^1.0", "spatie/temporary-directory": "^2.2", "spiral/roadrunner-cli": "^2.6.0", "spiral/roadrunner-http": "^3.3.0" Roadrunner is installed, but app is running in fpm Docker container
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
It's still on Laravel 10 if that's possibly relevant
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
It's a new project, started with v3 back in January. It has not much frontend code, mainly backend processing and Laravel Horizon
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
i deleted it, replaced it with hello. Thought possibly a name collision because of "dashboard"
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
I'll try it later
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
I deleted the QueueDashboard page and created a new one "Hello", same result
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
I removed all routes from web.php, also added the $navigationGroup, still not showing and 404 :/
70 replies
FFilament
Created by btx on 7/17/2024 in #❓┊help
New Custom Page 404
<?php

namespace App\Providers\Filament;

class AdminPanelProvider extends PanelProvider {
public function panel(Panel $panel): Panel {
Table::configureUsing(function (Table $table): void {
$table->paginationPageOptions([10, 25, 50, 100]);
});

return $panel
->default()
->id('admin')
->path('admin')
->login()
->colors([
'primary' => Color::Lime,
])
->viteTheme('resources/css/filament/admin/theme.css')
->maxContentWidth(MaxWidth::ScreenTwoExtraLarge)
->brandName('MyApp')
->favicon(asset('images/favicon.png'))
->brandLogo(asset('images/logo2.png'))
->darkModeBrandLogo(asset('images/logo-dark2.png'))
// ->brandLogoHeight('42px')
->brandLogoHeight('32px')
->font('Asap')
->globalSearchKeyBindings(['command+k', 'ctrl+k'])
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
->pages([Pages\Dashboard::class])
->navigationGroups([
NavigationGroup::make()->label('Inventory'),
NavigationGroup::make()->label('Administration'),
NavigationGroup::make()->label('Settings'),
NavigationGroup::make()->label('Hidden')->collapsed(),
])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([Authenticate::class]);
}
}
<?php

namespace App\Providers\Filament;

class AdminPanelProvider extends PanelProvider {
public function panel(Panel $panel): Panel {
Table::configureUsing(function (Table $table): void {
$table->paginationPageOptions([10, 25, 50, 100]);
});

return $panel
->default()
->id('admin')
->path('admin')
->login()
->colors([
'primary' => Color::Lime,
])
->viteTheme('resources/css/filament/admin/theme.css')
->maxContentWidth(MaxWidth::ScreenTwoExtraLarge)
->brandName('MyApp')
->favicon(asset('images/favicon.png'))
->brandLogo(asset('images/logo2.png'))
->darkModeBrandLogo(asset('images/logo-dark2.png'))
// ->brandLogoHeight('42px')
->brandLogoHeight('32px')
->font('Asap')
->globalSearchKeyBindings(['command+k', 'ctrl+k'])
->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
->pages([Pages\Dashboard::class])
->navigationGroups([
NavigationGroup::make()->label('Inventory'),
NavigationGroup::make()->label('Administration'),
NavigationGroup::make()->label('Settings'),
NavigationGroup::make()->label('Hidden')->collapsed(),
])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([Authenticate::class]);
}
}
70 replies