User's Problem User's Problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

User's Problem

Started by Prowler9, November 27, 2006, 10:55:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Prowler9

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


Prowler9

 Coppermine Photo Gallery 1.4.10 (stable)

Prowler9

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.

donnoman

Are you in a bridged setup?

What bridge are you using?

Can you re-create the group?

Prowler9

Not in a bridge

and yes I can re-create the group

donnoman

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.

Prowler9

Hmmm I have added that line and still same problem

Prowler9

Was wondering if I can just replace that file with a brand new one (from a fresh download)

donnoman


Prowler9


Prowler9

Hmmmm just installed a brand new  gallery with no plugins and only 2 admins and his sites gets the same erros

donnoman

turn on debug mode, and notices, do your test again.


Prowler9


donnoman

OK, time to PM me an admin account and the url of your gallery. I can't do much else than guess.

donnoman

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.

Prowler9

Thank you very very much