Charly / Toufloux
Is Filament the good choice for a VILT app ?
To be honest, I don't really know, for the security, isn't just a matter of an Admin Middleware on the routes to be sure that the user is the admin + the form validation to get only the data we want ?
11 replies
Is Filament the good choice for a VILT app ?
Alright thanks, do you know a package like Filament but back end only ? Or maybe I'll just have to ignore the design I wanted and use Filament, since it's working very well (I already tried it) :/
Initially I wanted to do it on my own with a JS array like this one that'll automatically use the good inputs etc.., but some friend told me that this is a really bad idea for the security part, I can't secure that enough alone, what do you think of that ?
11 replies
Unauthenticated exception, can't login
Hmmm, so EDIT N°2, if I comment images line, I don't have any errors
By the way, I'm using https://github.com/spatie/laravel-settings
18 replies
Unauthenticated exception, can't login
Hi, I tried and the auth worked well with the route, here is the code I used In the login, I have my user, if I reload the page, it's still me, in the foo it's me aswell, and if hit the logout, I got the Aucun utilisateur connecté
EDIT: So I tried logging in with the client account with the route, and if I go to the /admin, it works a little bit, I'm in the admin panel, but I got a 500 SERVER ERROR, in the log that says
[2024-01-19 13:21:36] production.ERROR: Livewire page component layout view not found: [components.layouts.app] {"userId":2,"exception":"[object] (Livewire\\Features\\SupportPageComponents\\MissingLayoutException(code: 0): Livewire page component layout view not found: [components.layouts.app] at /home/clairxn/www/vendor/livewire/livewire/src/Features/SupportPageComponents/SupportPageComponents.php:181)
So maybe it's all due to Livewire18 replies
Unauthenticated exception, can't login
Hey, I'm coming again, I tried another thing :
- Take the local files (where filament login works), upload them on my personal host (o2switch, witch cPanel), and only use
php artisan storage:link
as a command, I upload all the vendor manually to be in the same conditions as the other host.. And surprise, on this host it works ...
- So then, I did the same things on the client host (OVH), and since I don't have a terminal or SSH, I did a symlink('../storage/app/public', '../public/storage');
from a route to create the symlink, and no surprise, it keep not working here, with the same unauthenticated
and redirect back to the login :x
I don't have anymore idea of where to find, if it works on local and other host with the same files, how can this be a code issue ?
PS: I tried to login on the o2switch host without any storage link, and with the symlink approach, and both worked on this host18 replies
Unauthenticated exception, can't login
Yeah, for the host, she is my first client, so I didn't really know what to do about the hosting, but I'll change for the next one.
It might not be an error, but do you know where this can come from ? It returned to the login page but without any error message :/
I don't think it comes from the model, I have the function set correctly
18 replies
Check if filament is fully installed (can't log in, not related to canAccessPanel)
I already check all this and find nothing. As Laravel developper we must have a terminal / SSH ? That's the only thing that not working on the website, if don't think the client would want to pay more to upgrade it's host plan (it's my first client)
12 replies