TinyPortal

Development => Support => Topic started by: mc on July 06, 2009, 05:09:34 PM

Title: Downloads Icons not showing
Post by: mc on July 06, 2009, 05:09:34 PM
Link to my site: http://www.commencalownersclub.com
SMF version: 1.1.9
TP version: 1.0.4
Theme name and version: Babylon (customised)
Browser Name and Version: Any
Mods installed: AdminAttachAnything
Related Error messages:


This is something that I've been meaning to sort for a while, but only just remembered about it when looking through to find any bugs with a new theme I'm working on (another modified version of babylon which only admin can see/use at the moment).

Basically, all the icons for the downloads section (ie. the ones in tp-downloads/icons directory) do not show.
The files are physically there, but they cannot be accessed via any browser.
I've tried changing the folder and file permissions, but all I get is either a permission denied error, or internal server error depenging on how I set the permissions.

I've got the following .htaccess file in the icons directory, but it makes no difference

<Files *>
Order Allow,Deny
Allow from all
</Files>


Any suggestions as to how to solve this problem?
Title: Re: Downloads Icons not showing
Post by: Ken. on July 06, 2009, 06:12:45 PM
It's likely to be something simple.
Can you do these checks:
First, the icon files must be in the icons directory for the theme in question. (not just in the SMF default theme)
The extension in the icon path must be the same as the icon. (.gif, .png, .jpg)
And the name of the icon must be correct of course.

If you've already checked these and they are correct we'll have to wait for a better answer. :)
Title: Re: Downloads Icons not showing
Post by: mc on July 06, 2009, 06:33:52 PM
Right clicking on the red X's show that the images should be at http://www.commencalownersclub.com/tp-downloads/icons/file.gif (using file.gif as an example), and checking via ftp/telnet they are physically there.

It's just the server is just plain refusing to allow access via http.
Title: Re: Downloads Icons not showing
Post by: Lord Anubis on July 06, 2009, 06:36:15 PM
set the permissions to 777, and see if that helps
Title: Re: Downloads Icons not showing
Post by: mc on July 06, 2009, 06:38:39 PM
Been there, tried it.
Just results in a 500 Internal Server Error, instead of the 403 forbidden error.
Title: Re: Downloads Icons not showing
Post by: Lord Anubis on July 06, 2009, 06:50:25 PM
have you tried deleting the .htaccess file (back it up of course) ;)
Title: Re: Downloads Icons not showing
Post by: Renegd98 on July 06, 2009, 08:20:23 PM
Have your host ensure you are the owner of the files.
Title: Re: Downloads Icons not showing
Post by: mc on July 10, 2009, 12:13:45 PM
I've tried changing file owners (it's a dedicated server, so I've got full access).

File owners are showing as my admin account for all the uploaded (download) files, and the site owner for the icons directory and icon files.
The strange thing is, the downloads themselfs are working fine, it's just the icons that aren't.

I've also checked another site (running 1.1.9 + tp.098) on the server, which has identical folder/file owners/htaccess files, and it's showing all the icons.

However, having just tried uploading another file, the newly uploaded file is being shown as being owned by apache, instead of my admin account.


I've ran out of ideas as to what's gone wrong with the download icons.