jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: jazzbird on 31.12.2022 19:53:21

Title: Missing icon/symbol? - [Solved, but the cause is not clear]
Post by: jazzbird on 31.12.2022 19:53:21
- Joomla Version: 4.2.6
  - Tested jDownloads Version: 4.0.10
  - PHP Version: 8.0
  - Use you the standard backend template? YES
  - It is a new Joomla 4 installation? NO

Hello,

I'm wondering why the icon/symbol is not displaying for my download links in articles. I seem to recall that in a previous version every download link had a pdf icon next to it.

The symbols are set for each download. And the file type symbols are set under Options/Pictures and Buttons.

Am I missing something?

Title: Re: Missing icon/symbol?
Post by: ColinM on 01.01.2023 11:35:23
Hi
What version of jD were you at when you upgraded from 3.9 to 4.0.x

If 4.0.x is 4.0.6 or less then you need to completely remove jD and install jD 4.0.10
Colin
Title: Re: Missing icon/symbol?
Post by: jazzbird on 01.01.2023 16:10:01
Yes, I did that. Initially upgraded from 3.9 to 4.0.1 and following. But had a bunch of problems (which we've discussed before), so completely removed jD (including the database tables) and now reinstalled 4.0.10 from scratch.
Title: Re: Missing icon/symbol?
Post by: jazzbird on 01.01.2023 17:01:52
Actually I just checked with my developer, and it seems that he did NOT delete the database tables when he removed 4.0.5. Is this related to the missing icons? Is there any way I can tweak the database to fix it without entirely reverting to jD 3.9 or losing all of the data in the DB? I did manage to resolve the other issue (see other thread) by changing the publish_down fields to NULL. Will I encounter any other major issues by keeping the DB from the previous beta version? So far it seems to be working (except for the missing icons).
Title: Re: Missing icon/symbol?
Post by: Arno on 02.01.2023 13:35:07
Hi,
QuoteWill I encounter any other major issues by keeping the DB from the previous beta version? So far it seems to be working (except for the missing icons).
I have no information about the exact state of their jDownloads DB tables. Therefore, I cannot make any statement about this. But you can post me the information I need.

Please could you check this in your database:
- does the _jdownloads_files table have 60 data fields?
- is the field featured in position 56?
- does the table _jdownloads_usergroups_limits have 118 data fields?

If you have to answer no to any of the questions, I need a data structure of all your jDownloads tables (without data).

Thank you.
Title: Re: Missing icon/symbol?
Post by: jazzbird on 02.01.2023 14:15:27
- does the _jdownloads_files table have 60 data fields? YES
- is the field featured in position 56? YES
- does the table _jdownloads_usergroups_limits have 118 data fields? YES

So does that mean all is well? :)

I finally got all the downloads to work, with no errors in the frontend or backend. Fingers crossed!  :)
Title: Re: Missing icon/symbol?
Post by: Arno on 02.01.2023 16:34:42
Okay, Thanks. Is also your symbol problem solved?

If not, have you checked that the symbol files are all present in the folder /images/jdownloads/fileimages/?
2 subdirectories (with symbol files) and 53 files should be present here.

If yes, Please check the content of a download in the DB table _jdownloads_files in the field file_pic.
Title: Re: Missing icon/symbol?
Post by: jazzbird on 03.01.2023 14:23:36
I solved the icon problem by using a different layout. There were no icons with the "Files link only 3.9" (though it seems to me that in the past a small icon was added to the text) so I switched to the "Files Layout Single Line 3.9" and now the icons appear.