March 31, 2014 at 7:19 am #644
I am using several Easy Folder Listing modules to list PDF files on our website (newsletters, meeting minutes, etc.). There seems to be something amiss with the file type icons if you choose to have that shown. Instead of the icon, it displays “An Adobe Acrobate file” or similar depending on the file type. Help?
ThanksMarch 31, 2014 at 1:50 pm #1865
@team2step. Can you provide a link to the webpage so that I can see what you are referring to? Thanks.March 31, 2014 at 2:19 pm #1866
It seems like it can’t find the icon image file so it is displaying the alternative text.March 31, 2014 at 8:15 pm #1867
@team2step. Well, it is obvious that the images can’t be found. However, the files should be located at the path that is specified in the img src. As the webmaster of your site, you need to figure out why that is happening. If the files are located in media/mod_easyfolderlisting/icons, then they should be able to access the files such as http://1uc.org/media/mod_easyfolderlisting/icons/page_white_acrobat.png.
Most likely, your htaccess file is blocking direct access to files in the media folder. If you check your Apache error logs, it should list any blocking errors to files. I really believe it might be the htaccess. I even tried to access a system image: http://www.1uc.org/media/system/images/notice-note.png, and it didn’t show. If you try to access the same image on my website it will show: https://www.valorapps.com/media/system/images/notice-note.pngApril 1, 2014 at 5:19 am #1868
I don’t doubt it. Interestingly, when I ftp’d to 1uc.org/media/mod_easyfolderlisting/icons I found this: 1uc.org/images/ScreenShoteasyfolderlisting.png
Not sure why most of the files were empty. But I did go to the original installation of this new site at http://uuokc.org/newsite/index.php?option=com_content&view=article&id=114&Itemid=523 (where you see the icons work properly) and downloaded them and then moved them into the directory to replace the empty files.
Still no joy. So I checked the .htaccess file. This is the file contents in its entirety:12# Use PHP 5.3<br />AddType application/x-httpd-php53 .php
The Apache error log shows no errors. It doesn’t show any errors at all, which seems suspicious. I’m contacting Hostgator to see if there is something amiss with the error reporting. In the meantime, any other ideas?
ThanksApril 1, 2014 at 6:44 pm #1869
@team2step. There is an htaccess.txt file that comes with Joomla. However, you may need to change it to .htaccess in order to enable it. Here is a link to some very good documentation on htaccess files for Joomla: http://docs.joomla.org/Htaccess_examples_(security)
Other than htaccess, I am not sure what else could be causing this.
- The topic ‘File type icon?’ is closed to new replies.