0
Why photo is not loading?
6 Antworten
+ 3
Forbidden : You don't have permission to access /uploads/star.png on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Check webserver or OS/file permissions.
If the image does not work after fixing that, I can mention a headers update to try (ignorable for now).
+ 2
If you copy the url of image, paste on adress bar and press enter you know why
+ 2
Further questions about server configuration will probably do much better on StackOverflow/StackExchange.
This is because the issues can get 'weird', and they're not programming issues, per se.
To get you started...
Apache:
https://stackoverflow.com/questions/18447454/apache-giving-403-forbidden-errors
(weird example: The 'restorecon' answer is only for 'selinux')
Linux:
https://unix.stackexchange.com/questions/206006/debian-apache-403-forbidden-errors-and-encrypted-drives
(weird example: additional ACL's)
And finally, if it works for you that's hard to test (when you want it working here)...so here's a SoloLearn code showing the 403 error.
https://code.sololearn.com/c4Z0PO4WMAse/?ref=app
Change line 2 to read:
buffer = getFile("http://function.ajarulsk.tk/uploads/star.png")
...and run.
0
Kirk Schafer how to unlock the permission.because the website is of mine own.
0
KrOW ,When I am opening the link the Image file is showing.but not loading in my code