F
Filament2mo ago
Bryan

css and js not working in hostinger im using fila starter

please help thanks
23 Replies
Dennis Koch
Dennis Koch2mo ago
Shared Hosting is always trouble. Your server probably isn’t configured right but you provided not really much info so I can’t really help
LeandroFerreira
LeandroFerreira2mo ago
share the issue.. maybe ASSET_URL=your_domain.com in the .env can solve this
Bryan
Bryan2mo ago
this is my app_URL sir
No description
LeandroFerreira
LeandroFerreira2mo ago
did you try assert_url without /public? what is the error?
Dennis Koch
Dennis Koch2mo ago
If your asset URL requires public then your setup is wrong
Bryan
Bryan2mo ago
same error sir
Bryan
Bryan2mo ago
without public
No description
Dennis Koch
Dennis Koch2mo ago
Your Document Root needs to point to /public. If Hostinger doesn't allow changing the Document Root you will be having a hard time with them Other's were trying to run stuff on Hostinger. You might find some help if you search for that. But I would advise against it
Bryan
Bryan2mo ago
thanks for the reply sir any suggestion sir for the best laravel deployment server ?
Dennis Koch
Dennis Koch2mo ago
Usually you want VPS. I don't have any other experience
Bryan
Bryan2mo ago
this is the error im facing now
Bryan
Bryan2mo ago
No description
Bryan
Bryan2mo ago
No description
LeandroFerreira
LeandroFerreira2mo ago
is there a hot file in the public folder?
Bryan
Bryan2mo ago
yes there is it should be deleted ??
LeandroFerreira
LeandroFerreira2mo ago
Yes
Disouric
Disouric2mo ago
Is that the correct URL? Since I see that you are using: https://gsacmarketing.com/admin It should be that URL if that is the domain you're going to access the panel
Bryan
Bryan2mo ago
Yes sir
LeandroFerreira
LeandroFerreira2mo ago
same error?
Disouric
Disouric2mo ago
There is a lot wrong in your .env. APP_ENV should be production for starters
Bryan
Bryan2mo ago
Sir thanks The error is resolve
Disouric
Disouric2mo ago
Also ensure you rotate the keys by using php artisan key:generate --force since the key is now public Encrypted data will be lost Keep that in mind @Bryan ^^
Bryan
Bryan2mo ago
Noted sir thanks