F
Filament9mo ago
Hdev

Image not uploading after deployment

the image is not uploading after i deploy the project, in my local its working . i changed the APP_URL i linked the storage the the default image is working. but when i upload new image it's not uploading, i'm checking the folders manually but no photos are uploaded.
No description
No description
16 Replies
Vp
Vp9mo ago
Are you sure your app_url is correct?
i'm checking the folders manually but no photos are uploaded
It looks like permission
Hdev
HdevOP9mo ago
yes i'm sure, its my subdomain, i also tried to add photo manually to the folder and it works, the path to folders is correct but the probleme is with uploading how can i fix this permission problem please, i'm using Hostinger
Vp
Vp9mo ago
sorry very bad at server.. try google
Vp
Vp9mo ago
give 755 to storage folder
Hdev
HdevOP9mo ago
i even changed the permossion to 775 but still the same problem. the images are not uploading
No description
toeknee
toeknee9mo ago
I suspect you need to run: php artisan storage:link Failing that, what is your console saying as there are 4 errors in your screenshot.
Hdev
HdevOP9mo ago
i'm sure i ran php artisan storage:link, and the errors from the console because images not found, because they didn't uploaded
No description
Hdev
HdevOP9mo ago
i still have the problem, please help this is an emergency !!!
LeandroFerreira
LeandroFerreira9mo ago
permissions I guess. There is no Filament issues if it is woking in the local env. You should check it out with your host
vblinden
vblinden9mo ago
Are you getting errors during upload?
Hdev
HdevOP9mo ago
no errors, just the image not uploading
vblinden
vblinden9mo ago
Is the image on the server? in /storage/app ?
Hdev
HdevOP9mo ago
No, when i checked the storage folder there is no image uploaded
LeandroFerreira
LeandroFerreira9mo ago
Is there a storage/app/livewire-tmp folder? Is the php tmpfile() function enabled on the server?
Hdev
HdevOP9mo ago
the problem is solved, i removed all files and i uploaded everything again then i gived 775 permission to storage folder then i linked it using artisan storage:link, thank you very much for your support ❤️
Want results from more Discord servers?
Add your server