forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Prowler9 on November 27, 2006, 10:55:29 pm
-
Hello. having problems with users not showing up in member list or admin user list. The users can still log in but I can not set them to any group.
Notices
/include/functions.inc.php
Warning line 483: sprintf() [function.sprintf]: Too few arguments
/usermgr.php
Notice line 497: Undefined variable: user_data
-
Coppermine Photo Gallery 1.4.10 (stable)
-
Hmmmm after looking at this a little bit more. I had the missing users asigned to a group called Family. That Group is no longer there either.
-
Are you in a bridged setup?
What bridge are you using?
Can you re-create the group?
-
Not in a bridge
and yes I can re-create the group
-
Something is definately fishy in the list_users function starting at line 133.
on line 139 in usermgr.php insert:
$user_data = &$USER_DATA;
If that solves the problem then it means that the capitalization of the variable is wrong in lines
493, and several occurances on line 497.
-
Hmmm I have added that line and still same problem
-
Was wondering if I can just replace that file with a brand new one (from a fresh download)
-
it won't hurt anything.
-
Nope same thing
-
Hmmmm just installed a brand new gallery with no plugins and only 2 admins and his sites gets the same erros
-
turn on debug mode, and notices, do your test again.
-
Same error's
-
OK, time to PM me an admin account and the url of your gallery. I can't do much else than guess.
-
the notices didn't have anything to do with the problem, they were just standard notices as far as I could tell.
The problem is one of the admins had created a new group, changed some users's primary group to this new group. Then deleted the group orphaning the users because group_id is used in the join.
We used phpmyadmin to reset all of the orphaned users to the registered user group, and it worked normally from there on out.
-
Thank you very very much