GOT ISSUES When Getting Image
So the upload is working but when getting the image its not letting me laod the picture
I already have a storage link
And set the
APP_URL=http://127.0.0.1:8000
ASSET_URL=http://127.0.0.1:8000
But when i upload th epic its uploading but not getting the image and help would do.
47 Replies
Can you see the file in the storage folder?
Yep
here they are uploading
My friend is having this issues as well
did you run
php artisan storage:link
?
Could you try APP_URL=http://localhost:8000/
?Wait lemme try it
Do i have to run php artisan storage:link? Like I just fetch this into github
you should run this
okok lemme run it
heres what happen
it still not working
is there a
public/storage
folder?yes
maybe this
how
did you try with localhost instead of 127.0.0.1?
I mean
/public/storage
, not /storage/app/public as your imageu mean this?
APP_URL=http://localhost:8000/
ASSET_URL=http://localhost:8000/
yea it give me the error this error
confirm here /public/storage
OHHH
I dont have any files on that
How do i make it upload to storage
php artisan storage:link
should link this foldercan i delete that folder?
I mean
Its giving me the its already existed
maybe this
The console does not give me errror now.
But the picture is not showing
are you using docker?
Nope
i am using just local and npm run dev
and xampp for database
mysql
Its worlking
What i did is
Change the APP url
APP_URL=http://localhost:8000/
ASSET_URL=http://localhost:8000/
To
APP_URL=http://localhost:8000
YEA ITS WORKING
THANK YOUU SO MUCH MAN
If i this thing work I'll put you to my acknowledgement papers
i'll stay in touch here <33
@Leandro Ferreira Hey, Sorry for calling another help
S,o I am trying to fix my Mate Problem Too.
its kinda same but different. He is getting this error
(on Pic)
I already set its APP URL and delete its public storage and type php artisan storage:link
Wdyt the problem
you should also access with localhost on the browser
How do I do that
yea i alrady type it
in here?
blocked by CORS, you can't. access
http://localhost/storage/categories/01HX91YAZKHVZN7WG1Q04XNND4.jpg
from http://127.0.0.1:8000
Sorry, I am still confuse hehe
what is the APP_URL value?
what is the error in the browser?
heere
are you sure? This doesn't make sense if the browser error is showing http://localhost...
Try to clear laravel cache
try the same you did here https://discord.com/channels/883083792112300104/1237448884251525260/1237458049606877315
Yeah sounds like the config is cached
yEA Its already good