Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Stu Cowley
26,287 Points403 (Forbidden) Error When Loading an Image
Hey guys,
I've uploaded my site to my FTP for testing purposes and I've come across an issue that I just can't seem to put a finger on.
I have an background image on the home page and when I load the page it does not show up at all. Naturally I did a console check to see what the problem is and I am presented with following issue
Failed to load resource: the server responded with a status of 403 (Forbidden) http://juicy-tomato.com/sf8ball-dev/img/bg.jpg
The weird problem also happens over on about.php when a user clicks on one of the venues to view details of a particular hotel.
As mentioned earlier I have been trying and trying to get this to work to no avail.
You can view the site here.
I will mention I am using PHP for the site if that helps.
Any advice on how to go about fixing this issue will be greatly appreciated!
Stu :)
1 Answer
Stu Cowley
26,287 PointsHey Ferdinand,
What you're saying makes perfect sense, but do you think I can find where to change these access rights when I'm using GoDaddy! I've tried getting in contact with them asking where I can change them but I got a response saying that I haven't named and linked the images correctly which I know is a load of BS cause I can view it perfectly on my local server, just another reason to ditch my account with them and use someone else!
Stu : )
August Fagelberg
2,080 PointsUsually you can modify these rights directly in your FTP program which you use to connect to your webspace at GoDaddy.
August Fagelberg
2,080 PointsAugust Fagelberg
2,080 PointsHave you checked the access rights on the
sf8ball-devdirectory? A rule of thumb for permissions is:(Source)