Log1x / filament-starter

A beautiful starting point for your next TALL stack project using Filament. ⚡
https://github.com/Log1x/filament-starter
MIT License
368 stars 55 forks source link

The POST method is not supported for route admin/login. Supported methods: GET, HEAD. #62

Closed KecajGr closed 4 months ago

KecajGr commented 4 months ago

Hello

When transferring to hosing, the following message appears when logging in:

The POST method is not supported for route admin/login. Supported methods: GET, HEAD.

applies to the page: https://host238122.xce.pl/filament/public/admin/login

user:admin pass:123456789

Log1x commented 4 months ago

It sounds like something is preventing Livewire from loading (you could verify in Network tab of dev tools) and thus is doing a POST request to the login route instead of firing wire:submit - I would check storage/framework/logs/laravel.log and see if it has any errors. I know Livewire in particular requires a few functions that are typically disabled by default on some shared hosts - but why this is happening could stem from a lot of different things.