1
efnefn
bug in group.php xoops2RC3
  • 2003/4/6 12:05

  • efnefn

  • Just popping in

  • Posts: 2

  • Since: 2003/4/4 9


Hi all
sorry for my bad english !!
i have a bug wint xoops2RC3 in group.php :

Fatal error: Call to a member function on a non-object in d:\easyphp\www\anpeip\modules\system\admin\groups\groups.php on line 123

i have 961 erig in my table users ans 982 in groups_users_link.

i delette on user bet th'ere no deleting in groups_users_link

Can you help me, i can't see the register user !

thank's

2
kjs222
Re: bug in group.php xoops2RC3
  • 2003/12/6 14:29

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


It hasn't been my weekend - just got this error too. Any ideas on the cause? I'm going to CVS right now.

Keith

3
kjs222
Re: bug in group.php xoops2RC3
  • 2003/12/6 15:03

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Ok, if anyone else gets this, it's probably because you did what I did and deleted a user row from the database without realizing that that user is also linked to group_user_link... which is where groups.php gets its listing of users in the group.

So, it's a data integrity issue.

I recommend updating groups.php to check:

if (the uid of this groups_users_link is invalid)
then (do something other than throw an error; either put a fully-descriptive message like "UserID x has been deleted from user table; please delete records from groups_users_link table where uid=x" or simply delete the extra entries automatically)

In any case, glad to have it solved.

Good day,
Keith

Login

Who's Online

224 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits