i set up a voyager project on production as a subdomain example : http://subdomain.web.com/public/
on .env APP_URL is http://subdomain.web.com/public/
http://subdomain.web.com/storage/.../.../img.jpg ---- image not appear
can anyone help me please
install laravel voyager on godaddy as a subdomain
Are you run php artisan storage:link?
yes I did.... My laravel app is running like http://subdomain.web.com/public/ but images not loading :(
everythings is working fine...only images not loading properly
what green background on storage folder means?
@saldanac, the issue is with your configuration. It's not recommended to have laravel installed so the public directory is under the web root (to find out why, try visiting http://subdomain.web.com/.env). If you insist on doing it that way, you need to update the storage path in config/filesystem.php. the path /storage/{...}/img.jpg is referring to /public/storage/..., not /storage/...
Also, the green background is dependent on the terminal/shell you're using, but likely means that it's "world"-writable (https://unix.stackexchange.com/a/94505)
Thank you I have done a wrong configuration...now I have laravel installed on root directory and public folder on public_html/subdomain ... now working fine. of course Its my first time uploading a laravel project on a shared hosting 馃拑 Thank you for your help.
pls help me
i tried file system and app url
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
@saldanac, the issue is with your configuration. It's not recommended to have laravel installed so the public directory is under the web root (to find out why, try visiting http://subdomain.web.com/.env). If you insist on doing it that way, you need to update the storage path in
config/filesystem.php. the path/storage/{...}/img.jpgis referring to/public/storage/..., not/storage/...Also, the green background is dependent on the terminal/shell you're using, but likely means that it's "world"-writable (https://unix.stackexchange.com/a/94505)