jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: ric_17786573 on 07.04.2025 09:58:16

Title: JDownloads backend menu option disapared
Post by: ric_17786573 on 07.04.2025 09:58:16
Environment:
Joomla ‎5.2.5
Php    8.3
jDownloads Version 4.0.46 Stable

Like the title says, after the update to 4.0.46 the jDownloads menu in the backend under components has disappeared.
jDownloads works fine via a direct link ---/administrator/index.php?option=com_jdownloads.
The site language is english

How do I get the link back?

kind Regards,
ric_17786573
Title: Re: JDownloads backend menu option disapared
Post by: ColinM on 07.04.2025 12:06:01
Hi
JDownloads backend menu option disapared
Not quite sure I understand.  Do you mean that if I click on Components then jDownloads is not listed?

Importantly have you created a menu item, in the Main Menu, 'List All jDownloads Categories'?  jD uses this menu item for navigation. If this Menu Item is not present then there will be 'unexpected faults'. I usually set that menu item as Hidden
Were you upgrading from jD3.9? Or is it from Joomla 4 to Joomla 5?
Colin
Title: Re: JDownloads backend menu option disapared
Post by: ric_17786573 on 07.04.2025 14:21:03
Quote from: ColinM on 07.04.2025 12:06:01Hi
Not quite sure I understand.  Do you mean that if I click on Components then jDownloads is not listed?

In the backend of joomla jDownloads is not listed anymore in the components Menu.

QuoteImportantly have you created a menu item, in the Main Menu, 'List All jDownloads Categories'?  jD uses this menu item for navigation. If this Menu Item is not present then there will be 'unexpected faults'. I usually set that menu item as Hidden

Yes the menu item is created, it worked perfectly before the update

QuoteWere you upgrading from jD3.9? Or is it from Joomla 4 to Joomla 5?

No it's a completely fresh website (now 2 months old) build directly with joomla 5 and jDownloads 4

Title: Re: JDownloads backend menu option disapared
Post by: ColinM on 07.04.2025 22:07:23
Ric
You mention an update.  There has been no recent release of jD - current version is jD 4.0.46
So I presume it was a Joomla 5 update - is that correct? Was it a J4 to J5 update If so which version of Jooma 5?
Did you make an Akeeba backup?
Colin
Title: Re: JDownloads backend menu option disapared
Post by: Arno on 08.04.2025 12:02:03
QuoteEnvironment:
Joomla ‎5.2.5
Php    8.3
jDownloads Version 4.0.46 Stable
The reason could also be the changes from Joomla 5.2.4.
I will have a look at it.
Title: Re: JDownloads backend menu option disapared
Post by: ric_17786573 on 10.04.2025 09:50:12
I just updated Joomla to 5.2.6, and jDownloads is still missing from the components menu in the backend
Title: Re: JDownloads backend menu option disapared
Post by: Arno on 10.04.2025 10:20:33
Hi,
which jDownloads version did you have installed before updating to 4.0.46?

This and other information (also errors) can also be found in the jDownloads Control Panel (TAB Installation Logs).

Or is it possible to give me access to your backend?
If so, please send me the data via PM.
Title: Re: JDownloads backend menu option disapared
Post by: ric_17786573 on 10.04.2025 10:31:44
The Installation Logs just says "None", but when i look in my own download history I installed jDownloads  4.0.45 when building the website. so I updated from 45 to 46, but i do not know if that caused the problem because directly after that I updated Joomla the the latest version at that moment.

Since the website contains protected IP I cant give you access.
Title: Re: JDownloads backend menu option disapared
Post by: Arno on 10.04.2025 11:03:19
Okay, I understand.

I have some Joomla 5 installations updated in the last days but never see a problem like yours.
So it seems not to be a bug which compromised all users.

But I will try to find it out.
Title: Re: JDownloads backend menu option disapared
Post by: Arno on 10.04.2025 11:20:06
Could you check whether the records listed below exist in the _menu table and are published? Siehe Pics.

You can use this query:
SELECT * FROM `u333_menu` WHERE `title` LIKE '%COM_JDOWNLOADS%' AND `client_id` = 1
However, you must replace the table prefix (in my example u333) with the character string used in your database.
Title: Re: JDownloads backend menu option disapared
Post by: ric_17786573 on 10.04.2025 11:36:58
I am missing:
COM_JDOWNLOADS
COM_JDOWNLOADS_CUSTOM_FIELD_GROUPS
COM_JDOWNLOADS_CUSTOM_FIELDS
COM_JDOWNLOADS_CUSTOM_LAYOUTS

Title: Re: JDownloads backend menu option disapared
Post by: Arno on 10.04.2025 12:09:28
Quote from: ric_17786573 on 10.04.2025 11:36:58I am missing:
COM_JDOWNLOADS
COM_JDOWNLOADS_CUSTOM_FIELD_GROUPS
COM_JDOWNLOADS_CUSTOM_FIELDS
COM_JDOWNLOADS_CUSTOM_LAYOUTS

Okay, so that is the reason. But I have not an idea why this part is missing.

So you have now two options:
1) remove all existing jDownloads menu items in the table and try then to create it new with an update installation (but not sure that this will be new created by an simple update procedure)
2) add the missing menu items manually - for this you need basicly knowledge in phpmyadmin and database handling

When you have only a few Downloads with no specially access settings, you could use the jD Backup tool, remove afterwards jDownloads complete and reinstall it new with finally an backup restore process.

But I could also try to add the missing datasets for you?
But no matter what you choose, it is important to make a complete data backup beforehand!!!
Title: Re: JDownloads backend menu option disapared
Post by: ric_17786573 on 10.04.2025 12:13:53
Thank you for your help, lets just say its one of life's mysteries why suddenly database records are disappearing...

I will add the missing records manually, thank you for your help!
Title: Re: JDownloads backend menu option disapared
Post by: Arno on 10.04.2025 12:29:17
Okay.  ;)

But make sure that you use the correct level values and client ID.