E107: Issue on the off-chance a plugin is renamed or deleted.

Created on 18 Jun 2018  路  4Comments  路  Source: e107inc/e107

If a plugin gets renamed or deleted without uninstalling it first, there will be a semi-blank entry showing in the "Installed" section of the Plugin Manager and the OPTION to "Upgrade to version 1.0". I was not able to find an easy way to clear it out.

renaming a plugin

Help Wanted bug

Most helpful comment

Seems the easiest solution is to set-up the Database Utilities - SQL Verification to do a "Plugins Table Check".

This could check if a plug-in's directory is empty, renamed, or deleted, If so, then remove it from the e107_plugin table and give a warning something like;

"WARNING - xxx Plugin Folder empty or no longer exists - Removed Entry".

This solved it for me, and cleared out any erroneous entries.

If it was renamed, and found, it shows as another entry, and gets analyzed, showing any errors, like any other plugin. So that's good!

I may tackle it if you guys don't beat me. (Retired, and looking for things to do.)

Should do the fix and submit it? Or, should I keep my fingers out of it? :) It's been a while.

All 4 comments

Confirmed. I noticed this too in lately. Rescan doesn't help.

Seems the easiest solution is to set-up the Database Utilities - SQL Verification to do a "Plugins Table Check".

This could check if a plug-in's directory is empty, renamed, or deleted, If so, then remove it from the e107_plugin table and give a warning something like;

"WARNING - xxx Plugin Folder empty or no longer exists - Removed Entry".

This solved it for me, and cleared out any erroneous entries.

If it was renamed, and found, it shows as another entry, and gets analyzed, showing any errors, like any other plugin. So that's good!

I may tackle it if you guys don't beat me. (Retired, and looking for things to do.)

Should do the fix and submit it? Or, should I keep my fingers out of it? :) It's been a while.

You're always welcome to submit pull-requests! :+1:

Clearing system cache should now solve this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alex-e107nl picture Alex-e107nl  路  5Comments

chory picture chory  路  4Comments

realmontazeri picture realmontazeri  路  5Comments

rica-carv picture rica-carv  路  5Comments

MaDDoG9x9 picture MaDDoG9x9  路  4Comments