News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

[solved] No Icons and Pictures after Update [.htaccess problem - not jDownloads]

Started by Die_Nase, 13.07.2015 13:59:48

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Die_Nase

Hello,

after an automatic Update to "jDownloads Version 3.2.34", there are no icons in the frontend and backend and no pictures in the Frontend by every Download.
After the icon/picture position are only texts like "folder.png", "zip.png" and so on.
The Update crash some directory path information. Who can i fix it?

Joomla: 3.4.3
jDownloads Version: 3.2.34
PHP-Version: 5.6.6
MySQL: 5.10
Provider: https://alfahosting.de/
My Page: http://www.rompelsoft.de/

greetings from Germany
Heiko
  •  

ColinM

Hi
Are you saying that the update was not completed for some reason?
And as a result you now have no icons  to show file type.

Just want to be certain so that we can help

Have looked at your site and have seen missing icons
They should be in http://www.rompelsoft.de/images/jdownloads/catimages/

Please see if there is a directory like above on your site.  There are several directories

Colin
Colin M
  •  

Die_Nase

Hello,

Quote from: ColinM on 13.07.2015 14:39:34
Hi
Are you saying that the update was not completed for some reason?
And as a result you now have no icons  to show file type.

No, that ist not what i say. I say that there was a update at joomla avaible for jdownloads and i started this update.
After this update, that runs without errors, there are not icons and pictures .

Quote from: ColinM on 13.07.2015 14:39:34
They should be in http://www.rompelsoft.de/images/jdownloads/catimages/

The icons like folder.png are stored on the server in: /html/rompelsoft3/joomla/images/jdownloads/catimages/folder.png
but they won't showed.

The pictures for the files are stored /html/rompelsoft3/joomla/images/jdownloads/screenshots

And a new mistake was found: If you accept the rules on http://www.rompelsoft.de/index.php/download/summary/2-elcad-tools/4-symbolfinder you can't download the file because the Download-Button is grey.

This ar to many problems. I will restore my homepage too a state before today.

Greetings
Heiko
  •  

Die_Nase

Hello,

I have found reason of my problems: With the jDownloads-Update it comes a Joomla Update.
This joomla-Update put a .htaccess in the jdownloads-folder and this .htaccess blocked the icons and pictures.

Greetings from Germany
Heiko
  •  

ColinM

#4
Hi
{I was writing this as you were working!! :) ;) :D ;D  So probably not a problem now.}
Could you please look at jD Config - Downloads tab and sat what directory is listed in the 'Upload directory path' field please.

When you updated could you ell us from what version you updated.  Was it from an earlier jD1.9 series?

Also do you have any .htaccess redirects?

QuoteThe icons like folder.png are stored on the server in: /html/rompelsoft3/joomla/images/jdownloads/catimages/folder.png
but they won't showed.
The 'html' directory is usually the root of the website.
The code generated on your site is
<a href="/index.php/download/category/3-grundschule"><img src="http://www.rompelsoft.de/images/jdownloads/catimages/folder.png" style="text-align:top;border:0px;" alt="folder.png" height="48" width="48"></a>
This is the correct code.  Basically it is <yoursite>/images/jdownloads/catimages/folder.png
For some reason it looks as if you have loaded into a sub domain /rompelsoft3/joomla/

Could you please see if there is an images directory in the html directory.  In any case please create images/jdownloads/catimages/  in the html directory and copy over the file folder.png - it should then show.

There is something very peculiar as the css for the download button has not been loaded!! So it is not shown. But if I look at the Header for the page we have
 <link rel="stylesheet" href="http://www.rompelsoft.de/components/com_jdownloads/assets/css/jdownloads_buttons.css" type="text/css" />
Also we have a correct reference to the Overview as
<img src="http://www.rompelsoft.de/components/com_jdownloads/assets/images/home_fe.png" style="border:0px;" alt="Übersicht" height="32" width="32">
this is compatible with the site being in the <root>

if I loook on the Front Page the Zip Icons are being shown OK and the code is
<img src="http://www.rompelsoft.de/images/jdownloads/fileimages/zip.png" style="border: 0px; vertical-align: top;" alt="" height="18" width="18">
This is the expected location.  And it tells me that directory /images/jdownloads/fileimages/ exists and contains the correct items.

I am a bit confused!  To help could you send me via PM a super user access to the admin anmd could you also install eXplorer so I can look at file locations.  But as a start I would move contents of directory
/html/rompelsoft3/joomla/images/jdownloads/catimages/ to /html/images/jdownloads/catimages/  This should get your images back.

I see you must be working on the site as images are starting to appear!!

Colin

Colin M
  •  

ColinM

Hi
Can you check that in jD Config - Security that "Protect your Download-directory?" is set to No.  Please advise if you had it set to Yes.

The remaining problems on your site seem to be that the jDownloads CSS files are not being loaded.
The relevant instructions as below are in the header part of the page
<link rel="stylesheet" href="http://www.rompelsoft.de/components/com_jdownloads/assets/lightbox/lightbox.css" type="text/css" />
  <link rel="stylesheet" href="http://www.rompelsoft.de/components/com_jdownloads/assets/css/jdownloads_buttons.css" type="text/css" />
  <link rel="stylesheet" href="http://www.rompelsoft.de/components/com_jdownloads/assets/css/jdownloads_fe.css" type="text/css" />
  <link rel="stylesheet" href="http://www.rompelsoft.de/components/com_jdownloads/assets/rating/css/ajaxvote.css" type="text/css" />
  <link rel="stylesheet" href="http://www.rompelsoft.de/components/com_jdownloads/assets/css/jdownloads_custom.css" type="text/css" />

But they are not there ??? ???

I do not know why they are not there.  Could you check the file locations that they are there and that the file permissions allow reading.

Colin
Colin M
  •  

Arno

Quote from: Die_Nase on 13.07.2015 22:20:47
Hello,

I have found reason of my problems: With the jDownloads-Update it comes a Joomla Update.
This joomla-Update put a .htaccess in the jdownloads-folder and this .htaccess blocked the icons and pictures.

Greetings from Germany
Heiko
Hallo Heiko,
Ich kann das nicht reproduzieren mit dem Joomla 3.4.3 update und der .htaccess Datei im images/jdownloads Ordner.   ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

schmatzler

I'm just dipping a little in the dark here, but you or your hosting provider may have switched to Apache 2.4.

I had the same problem with missing images recently, because in Apache 2.4 they changed the permissions in .htaccess files.

Check if you have a line like this in the .htaccess:

Order allow,deny
Allow from all


In Apache 2.4 that's not working anymore and you have to change it to this:

Require all granted

You can find more information here:

http://httpd.apache.org/docs/2.4/upgrading.html

Edit: I've just tested this with the option "Protect your Download-directory" and it really breaks access on Apache 2.4.
So check which version you're running and make changes to the .htaccess accordingly.
  •  

Die_Nase

Sorry for my late answer.
The problem wasn't a JD-BUG/Problem, it was a Joomla-Bug and hackers that use this Joomla-Bug.

Greetings from germany
heiko
  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •