F
Filament10mo 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
Vp10mo 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
HdevOP10mo 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
Vp10mo ago
sorry very bad at server.. try google
Vp
Vp10mo ago
give 755 to storage folder
Hdev
HdevOP10mo ago
i even changed the permossion to 775 but still the same problem. the images are not uploading
No description
toeknee
toeknee10mo 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
HdevOP10mo 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
HdevOP10mo ago
i still have the problem, please help this is an emergency !!!
LeandroFerreira
LeandroFerreira10mo 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
vblinden10mo ago
Are you getting errors during upload?
Hdev
HdevOP10mo ago
no errors, just the image not uploading
vblinden
vblinden10mo ago
Is the image on the server? in /storage/app ?
Hdev
HdevOP10mo ago
No, when i checked the storage folder there is no image uploaded
LeandroFerreira
LeandroFerreira10mo ago
Is there a storage/app/livewire-tmp folder? Is the php tmpfile() function enabled on the server?
Hdev
HdevOP10mo 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