reply to the message from : Daniel Hegermann
concerning : [midgard-user] WG: mgd_list_members
hello,
the function mgd_list_members does not return an object when the
group not exists. therefore I think that probably group 3 is
not in your sitegroup...or it doesn't even exist.
greetings, Pascal
DH> Hello,
DH> I have a big problem. I don't come to the data of the Member to. Thus I put
DH> on myself a Group form (ID=3). And also a member put on. If I call it by a
DH> PHP Script, the always following errors appear:
DH> Line 72: $group=3;
DH> Line 73: $lst = mgd_list_members($group);
DH> Line 74: while( $lst->fetch() ) {
DH> Line 75: $person = mgd_get_person($lst->uid);
DH> Line 76: if($person->username==$usersid and
$person->>password==$passsid){
DH> Line 77: ..
DH> Line 78: }
DH> Fatal error: Call to a member function on a non-object in
DH> snippet://authentifizierung/auth-script on line 74
DH> That it can lie. The Midgard version is 1.4.1. Even if I take the complete
DH> code from the Midgard documentation, this error appears.
DH> With friendly greeting
DH> Daniel Hegermann
DH> ---------------------------------------------------------------------
DH> To unsubscribe, e-mail: [EMAIL PROTECTED]
DH> For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------
Simplicity GmbH
Pascal Mayer
www.simple.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]