I modified the top customization section (everything worked ok with flat files), then put in a few debug statements after it did not work.
This returnsif ($ADMIN_GROUP){ print "\n<p> ADMIN GROUP defined:$ADMIN_GROUP:\n<p>"; }
ADMIN GROUP defined:administrators:
I put in "use strict;", but it crashed, I am wading through the errors like
Global symbol "$CONFIG_FILE" requires explicit package name at ./user_ +manage line 38.
I am positive I have put a user "bob" in group "administrators" in the database table, but the "do_administration" is never executed when I log in as bob.
What I do not know is how to put in a debug to tell what group the program thinks user bob is in.
I really don't think the problem is the code, but probably my setup, I just can not pinpoint why the "do_administration" subroutine is not being called for people in group "administrators".
Thanks, Daniel
In reply to Re: (Ovid) Re: cgi unknown function - match_group
by Anonymous Monk
in thread cgi unknown function - match_group
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |