FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Cannot Delete more than one user
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Cannot Delete more than one user [message #12825] Sun, 07 September 2003 03:39 Go to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

The SECOND user delete I attempt results in this :

Warning: mysql_fetch_row(): 5 is not a valid MySQL result resource in /var/www/html/forum/include/theme/default/db.inc on line 240

Running 2.5.2

Cheers,
Dave
Re: Cannot Delete more than one user [message #12935 is a reply to message #12825] Thu, 18 September 2003 15:06 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What do you mean by 'SECOND'? Are you trying to delete the same user twice?

FUDforum Core Developer
Re: Cannot Delete more than one user [message #13017 is a reply to message #12935] Thu, 18 September 2003 23:44 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

prottoss wrote on Fri, 19 September 2003 00:36

What do you mean by 'SECOND'? Are you trying to delete the same user twice?



No, I mean the second consecutive user.

Cheers,
Dave
Re: Cannot Delete more than one user [message #13019 is a reply to message #13017] Fri, 19 September 2003 00:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Are deleting users from the admin control panel or via other means?

FUDforum Core Developer
Re: Cannot Delete more than one user [message #13020 is a reply to message #13019] Fri, 19 September 2003 00:04 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

prottoss wrote on Fri, 19 September 2003 09:30

Are deleting users from the admin control panel or via other means?


From Admin Control Panel, Moderator/User Manager

Cheers,
Dave
Deleting from the Members List [message #13181 is a reply to message #13020] Wed, 24 September 2003 09:03 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

Warning: mysql_fetch_row(): 4 is not a valid MySQL result resource in /var/www/html/forum/include/theme/default/db.inc on line 240


And it does it here on EVERY attempt.

[Updated on: Wed, 24 September 2003 09:04]

Report message to a moderator

Re: Deleting from the Members List [message #13200 is a reply to message #13181] Wed, 24 September 2003 19:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
How many users do you have in your forum?
Does this only happen if you try to delete 2 users in a row?


FUDforum Core Developer
Re: Deleting from the Members List [message #13210 is a reply to message #13200] Wed, 24 September 2003 22:32 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

Ilia wrote on Thu, 25 September 2003 05:08

How many users do you have in your forum?
Does this only happen if you try to delete 2 users in a row?


I have 230 users.

And it now happens EVERY time I try to delete a user.

Cheers,
Dave
Re: Deleting from the Members List [message #13211 is a reply to message #13210] Thu, 25 September 2003 00:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you get this error before or after the delete user confirmation screen?

FUDforum Core Developer
Re: Deleting from the Members List [message #13212 is a reply to message #13211] Thu, 25 September 2003 01:47 Go to previous messageGo to next message
davew is currently offline  davew   Australia
Messages: 78
Registered: June 2002
Location: West Beach, South Austral...
Karma: 0
Member

Ilia wrote on Thu, 25 September 2003 10:28

Do you get this error before or after the delete user confirmation screen?



OK, if I delete the user from the Moderator/User option, it fails on the SECOND delete, AFTER the confirmation.

rom the "Members" option, it fails on the FIRST delete, also after the confirmation.

Cheers,
Dave
Re: Deleting from the Members List [message #13213 is a reply to message #13212] Thu, 25 September 2003 02:03 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You have a file called users_adm.inc inside the include/ directory. Inside file there is a function called usr_delete() add some debug statments to that functions and see where does the error occur.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2.5.0 change order (forums, smilies) bug
Next Topic: Search engines
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 03:40:26 GMT 2024

Total time taken to generate the page: 0.02563 seconds