News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Images won't load, getting error 403 (and 404)

Started by h78509, December 19, 2009, 09:07:52 AM

Previous topic - Next topic

h78509

Here is my forum: http://elementsforum.co.cc/

The problem is that none of the images on the front page load, and all I see is text as links.

If I right-click where the image should be on choose "View Image", I get this:

"Forbidden

You don't have permission to access /Themes/default/images/smflogo.png on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."



Funny thing is that if I then refresh that page, the image will show up. It's like if I go to the image directly it's ok, but if I try to get to the images inside the forums, it won't work.

For example here is the logo of our forum. http://elementsforum.co.cc/Themes/default/images/smflogo.png . As you can see it loads up nicely. But it won't load when you are inside the forum.

I didn't do anything weird with the forum. I didn't touch permissions or anything like that. It just suddenly stopped working.

I'm using InMotion hosting and this is the same exact problem I had with my previous hosting provider (GoDaddy) so I don't think hosting is the problem, it has to be software related.

Any ideas?




I fixed this. I had a .htaccess file that caused the problem.

Advertisement: