brettp / Bulk-User-Admin

Manage (delete) multiple users in Elgg
http://elgg.org
10 stars 12 forks source link

Renaming folder makes it disappear from plugins list #4

Open ghost opened 9 years ago

ghost commented 9 years ago

Hello, I'm pretty sure it's my fault but never happened so there's a very little chance this is an issue :) When I rename the folder into bulk_user_admin the plugin disappears from the list in admin section.

If I rename it with any other name the plugin becomes visible again with error message "This plugin is invalid: This plugin's directory must be renamed to "bulk_user_admin" to match the ID in its manifest."

I also checked docs ( http://learn.elgg.org/en/stable/appendix/faqs.html#plugin-cannot-start-and-has-been-deactivated-or-this-plugin-is-invalid ) but everything looks correct... Cheers

brettp commented 9 years ago

What type of server are you on?

On Fri Dec 19 2014 at 6:53:37 PM michelesbw notifications@github.com wrote:

Hello, I'm pretty sure it's my fault but never happened so there's a very little chance this is an issue :) When I rename the folder into bulk_user_admin the plugin disappears from the list in admin section.

If I rename it with any other name the plugin becomes visible again with error message "This plugin is invalid: This plugin's directory must be renamed to "bulk_user_admin" to match the ID in its manifest."

I also checked docs ( http://learn.elgg.org/en/stable/appendix/faqs.html#plugin-cannot-start-and-has-been-deactivated-or-this-plugin-is-invalid ) but everything looks correct... Cheers

— Reply to this email directly or view it on GitHub https://github.com/brettp/Bulk-User-Admin/issues/4.

ghost commented 9 years ago

Hi Brett, LAMP on a VPS. Since Elgg 1.7 many upgrades of core+plugins never seen this issue...very strange... Cheers

ghost commented 9 years ago

Hi Brett, I just solved this. In the DB the folder's name had been truncated into ..._admi (instead of _admin) for some reason. I deleted that row in elgg_objects_entity and the new renaming took effect. Cheers M