Problems, need help? Have a tip or advice? Post it here.
9 posts Page 1 of 1
When I click on any of the methods to delete users as super-admin in the admin panel, I always get the error message:

"ERROR: function add_event_listener(): "user_deleted" - listener function is not callable"

How can I fix this?

Edit: I forgot to mention I am using v2.0.
I was not able to reproduce this issue @codeartistgirl. Perhaps @KK can troubleshoot the matter further.
@cheesypoof, same here.
@codeartistgirl, if your site happens to be online, could you get me FTP+Couch access to it?
Also, please specify the steps clearly for me to try and duplicate the issue.

Thanks.
@KK I also just got this error when installing Extended Users on bartonsweb. If you still need credentials to see the error let me know.
Image
@Bartonsweb, yes please do PM me the creds.
Thanks :)
Thank you all.
It was indeed a bug.
It is fixed now - https://github.com/CouchCMS/CouchCMS/co ... c1837eb01e

Could you please test and let me know if it solves the issue?
Thanks.
Thanks @KK. All fixed and working fine now :)

However, I did notice something else.

From the extended users tutorial:

Delete a user account and the associated cloned-page gets deleted automatically (the reverse, though, does not happen i.e. deleting a cloned-page will *not* delete the associated user-account. This is by design to prevent accidental deletions of precious user-accounts)


I've just tested deleting users from both the normal "Users" menu as well as the Cloned template and both seems to remove the system user as well as cloned template.

Is this intended and the tutorial out of date, or a security flaw? (Don't even want to try deleting the superadmin user :D )
Image
Thanks for the help guys. The commit that you linked is indeed the fix! :D
Thank you for all your help :)

@Bartonsweb
I've just tested deleting users from both the normal "Users" menu as well as the Cloned template and both seems to remove the system user as well as cloned template.

Is this intended and the tutorial out of date, or a security flaw?

Actually only accounts lesser than or equal to 'Authenticated User' will be removed if deleted from the extended template itself. Higher level accounts (namely 'Authenticated User-Special', 'Admin' and 'Super-admin') won't be affected. It is intentional and so the note in the tutorial needs to be updated.
9 posts Page 1 of 1
cron