v2.10.14 - Delete User Fails

Discuss, research, share, find, and solve bugs

v2.10.14 - Delete User Fails

Postby DancingBear » 9:20am, Fri 13 May, 2011

hi,

I installed v2.10.14 yesterday.

Since installing I've noticed that if I click on 'users' and then search for a user and then click 'del' to delete that user, the user is NOT deleted.

This is a right pain, cos yesterday I worked thru a bunch of 'out of office' replies for users who have moved on elsewhere, believing that I was deleting them when I wasn't.

I've found that I can delete a user if, instead of clicking on 'del', I click on the user's email address and then use the delete option on that page.

But PLEASE fix the 'del' option on the user page - it's misleading to have a delete that doesn't delete.
DancingBear
phpLister
 
Posts: 5
Joined: 6:37pm, Thu 03 Mar, 2011

Re: v2.10.14 - Delete User Fails

Postby H2B2 » 10:42am, Fri 13 May, 2011

Issue confirmed on my 2.10.14 sandbox installation.
'Del' also doesn't remove user on the 'list all users page' (admin/?page=users).
It does indeed work on the user details page.

Since all this is working fine in the online demo, which is still running v2.10.13, this must be a bug introduced in v2.10.14, possibly in lists/admin/commonlib/lib/userlib.php

Could you file a bug report in the mantis tracker? Thx!
http://mantis.phplist.com

Moving this topic to bug discussion section.
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: v2.10.14 - Delete User Fails

Postby DancingBear » 11:24am, Fri 13 May, 2011

I don't have a Mantis login, so can't sorry.

Surely as a mod you do...? :shock:
DancingBear
phpLister
 
Posts: 5
Joined: 6:37pm, Thu 03 Mar, 2011

Re: v2.10.14 - Delete User Fails

Postby H2B2 » 8:37pm, Mon 16 May, 2011

DancingBear wrote:I don't have a Mantis login, so can't sorry.

You should be able to register to the mantis issue tracker. Its easy, its free, and is probably the best way to inform the developers of bugs or feature requests. If you experienced trouble when trying to register to mantis, please let me know.


Edit: filed this report: http://mantis.phplist.com/view.php?id=15616
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: v2.10.14 - Delete User Fails

Postby H2B2 » 6:30pm, Mon 23 May, 2011

H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Re: v2.10.14 - Delete User Fails

Postby trevor4370 » 6:27am, Wed 01 Jun, 2011

I was using 2.10.13 and found I could not delete users as stated in http://mantis.phplist.com/view.php?id=15616.


Hi,

I ran into this issue as well today. I made an edit to commonlib/pages/users.php.

At line 22 place the following:

$delete = $_GET['delete'];



I upgraded to 2.10.14 as I could not see how the fix stated above would fix the issue on 2.10.13.


Is line 22 the right place, and is this the right users.php file? As again it does not seem to go into line 22 even in version 2.10.14 (and it doesn't work).

Has anybody got another fix. or can help shed some light on this problem? Maybe I just need it explained as I am not the sharpest knife in the drawer :-)
trevor4370
phpLister
 
Posts: 6
Joined: 2:18am, Thu 29 Nov, 2007

Re: v2.10.14 - Delete User Fails

Postby Dragonrider » 8:58am, Wed 01 Jun, 2011

Yes, the fix does work under 2.10.14 and earlier versions too as far as I know.

If you are sturggling to apply the fix, to make things easy for anyone in your position, I will attach to this post the file you require.

Simply download the zip from the link below, unzip it and upload the users.php file to your installation of phpList to this location:-

Code: Select all
yourdomain/lists/admin/commonlib/pages/users.php


Substitute your actual domain for yourdomain, and the folder name that you have used for your phplist if different to lists.
Attachments
users.zip
(4.09 KiB) Downloaded 263 times
My sites:- http://wharfedalefestival.co.uk, http://ilkleygardeners.org.uk, http://emergencyaid.net, http://dragonrider.co.uk
Latest phpList version is now 3.0.12 (3 February 2015) and requires a minimum of MySQL 5.0 and PHP 5.3.x
Dragonrider
Moderator
 
Posts: 3460
Joined: 6:58am, Sun 02 Jul, 2006
Location: Ilkley, West Yorkshire, United Kingdom

Re: v2.10.14 - Delete User Fails

Postby djwil » 5:07pm, Wed 01 Jun, 2011

Thanks, both sites with 2.10.14 now work. High five and kudos
Wil
djwil
PL Nut
 
Posts: 19
Joined: 6:13pm, Sat 18 Aug, 2007

Re: v2.10.14 - Delete User Fails

Postby trevor4370 » 10:29pm, Wed 01 Jun, 2011

Excellent - than you very much. All working fine now.
trevor4370
phpLister
 
Posts: 6
Joined: 2:18am, Thu 29 Nov, 2007

Re: v2.10.14 - Delete User Fails

Postby crazybusy » 2:41pm, Sat 16 Jul, 2011

Thank you !

It's confirmed working!
crazybusy
phpList newbie
 
Posts: 3
Joined: 1:50pm, Thu 22 Apr, 2010


Return to Bug Discussion

Who is online

Users browsing this forum: No registered users and 1 guest