Advertisement

how to delete an orphaned module with sql? Topic is solved

This forum is for general questions about extensions for Joomla! 4.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
simohunter
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Feb 03, 2021 9:46 pm

how to delete an orphaned module with sql?

Post by simohunter » Wed Sep 04, 2024 9:47 am

i have an obsolete akeeba module "Akeeba Backup Notification Module" that i can't uninstall (get: Call to a member function children() on null). it is visible and disabled in Extensions: Manage. it seems to be orphaned.

i want to delete it using SQL.

there is a row in the modules table (module = mod_akadmin, for which files don't exist when looking via cpanel) but there must be another related table somewhere as the modules row doesn't contain the version number, author etc.

does anyone know that other table? or is the information elsewhere?

or can i just delete the modules row? (i don't know how much referential integrity is specified in the joomla database.)

thanks

Advertisement
User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10128
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: how to delete an orphaned module with sql?

Post by AMurray » Wed Sep 04, 2024 10:18 am

Akeeba has a tool that might work : https://github.com/akeeba/magiceraser/releases.

Otherwise, try reinstalling Akeeba Backup, and then uninstalling the entire package, rather than any individual components, plugins or modules.

Otherwise possibly refer to Akeeba for support (you can read through their helpdesk tickets that were marked as "public" so the issue may have been raised with them previously.
Regards - A Murray
General Support Moderator

simohunter
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Feb 03, 2021 9:46 pm

Re: how to delete an orphaned module with sql?

Post by simohunter » Wed Sep 04, 2024 10:28 pm

i have already asked akeeba. i have looked at the magic eraser script and it only does one delete which i have done (from the modules table). but it is still visible and uninstallable.

there must be more to do.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28262
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: how to delete an orphaned module with sql?

Post by imanickam » Thu Sep 05, 2024 3:40 am

Perhaps reviewing the link https://www.akeeba.com/support/akeeba-b ... odule.html may help.

Note:
Make sure to take a complete backup of the site (both files and database content) before attempting anything to remove the extension refernced.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

simohunter
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Wed Feb 03, 2021 9:46 pm

Re: how to delete an orphaned module with sql?

Post by simohunter » Fri Sep 06, 2024 12:01 pm

i was able to uninstall the module eventually after deleting the row in the modules table, creating the administrator/modules/mod_akadmin folder and a mod_akadmin.xml file and possibly needing a mod_akadmin.php file too.  not exactly sure what was essential!  at one point it was wanting the XML Setup file.  i also needed to refresh the cache in the front end to see that it had deleted it.

i still don't understand where the front end got the version, author etc from (since there was, i think, no manifest)

all good, tks.

Advertisement

Post Reply

Return to “Extensions for Joomla! 4.x”