Trying to run filament-demo from the public folder. HTTP 500 error

I am really loving filament and I have tried out the filament-demo locally by running "php artisan serve" and it works beautifully. Now I've installed the filament-demo on a web hotel without any errors but when I try to access the public directory all I'm getting is HTTP 500 error. I've given everything in the storage area the full "rw" capabilities so it's not that. Unfortunately there are no other messages. Just the 500 and an empty page. DEBUG is true. Strangely enough even when I try to run the filament-demo locally with the public directory that doesn't work either but it's completely different set of errors. There must be some trick to make it work from the public directory? Can someone point me in the right direction?
4 Replies
Tommytomtom
TommytomtomOP9mo ago
By the way, the webhotel link is https://zamarapp.com/filament-demo/public/ This link should work as well since I added the .htaccess file.. https://zamarapp.com/filament-demo/
Dennis Koch
Dennis Koch9mo ago
I guess it's shared hosting? I wouldn't recommend setting this up on shared hosting. Also public should never be in a URL. You need to point your document root to the public folder.
Tommytomtom
TommytomtomOP9mo ago
Yes. Exactly, shared hosting it's called of course. Ok. But generally speaking it's normally not a problem with filament on shared hosting? That's all that matters to me.
Dennis Koch
Dennis Koch9mo ago
Shared hosting is never good for Laravel projects. Because often you cannot set the document root with Shared Hosting which is important
Want results from more Discord servers?
Add your server