bionative
Livewire nginx - cloudpanel
Have a issue with Livewire on CloudPanel. Here is nginx error log:
2023/12/04 21:55:02 [error] 86630#86630: *31643 open() "/home/soc/htdocs/site_url/public/livewire/livewire.js" failed (2: No such file or directory), client: 94.250.12.155, server: site_url, request: "GET /livewire/livewire.js?id=c4077c56 HTTP/2.0", host: "site_url", referrer: "https://site_url/login?" Console log: GET https://site_url/livewire/livewire.js?id=c4077c56 [HTTP/2 404 97ms]
GET https://site_url/livewire/livewire.js?id=c4077c56 Status 404 VersionHTTP/2 Transferred244 B (146 B size) Referrer Policysame-origin DNS ResolutionSystem
content-encoding br content-type text/html date Mon, 04 Dec 2023 20:55:02 GMT server nginx vary Accept-Encoding X-Firefox-Spdy h2
Accept ... Host site_url Referer https://site_url/login? Sec-Fetch-Dest script Sec-Fetch-Mode no-cors Sec-Fetch-Site same-origin Sec-GPC 1 Has anyone had similar problems before?
2023/12/04 21:55:02 [error] 86630#86630: *31643 open() "/home/soc/htdocs/site_url/public/livewire/livewire.js" failed (2: No such file or directory), client: 94.250.12.155, server: site_url, request: "GET /livewire/livewire.js?id=c4077c56 HTTP/2.0", host: "site_url", referrer: "https://site_url/login?" Console log: GET https://site_url/livewire/livewire.js?id=c4077c56 [HTTP/2 404 97ms]
GET https://site_url/livewire/livewire.js?id=c4077c56 Status 404 VersionHTTP/2 Transferred244 B (146 B size) Referrer Policysame-origin DNS ResolutionSystem
content-encoding br content-type text/html date Mon, 04 Dec 2023 20:55:02 GMT server nginx vary Accept-Encoding X-Firefox-Spdy h2
Accept ... Host site_url Referer https://site_url/login? Sec-Fetch-Dest script Sec-Fetch-Mode no-cors Sec-Fetch-Site same-origin Sec-GPC 1 Has anyone had similar problems before?
5 replies
RelationManager actions
Hi all,
Need to add print button in RelationManager actions.
It should be look like:
->actions([
Action::make('printaj')
->label(__('Print'))
->icon('heroicon-o-printer')
->action('printaj')
->openUrlInNewTab(),
Tables\Actions\EditAction::make(),
Tables\Actions\DeleteAction::make(),
])
where printaj() is method inside RelationManager7 replies