Chris Davies <[EMAIL PROTECTED]> wrote:

> > > I'm using the 1.4 debs with my /etc/apt/sources.list containing:
> > > deb
> > > http://www.midgard-project.org/developer/downloads/debian/stable/dists/sid/binary-i386/
> > >  ./
> > 
> > You set up Asgard with deb packages?
> > wow! It really works ;)
> 
> there is an error in the .postrm file for libmidgard (I believe)

what error?
As there will be some changes  made next few weeks , I would like to know.

> 
> > OK, but that person must be a member of topic's owner group.
> 
> ok, I log in with admin/password
> I go to the group, click members, and am taken back to the login screen.
> 
> How do I add a person to a group?

frankly?
I do not know Asgard.....
It is only one admin interface for midgard which may be in Debian package.... :(
 
> > 
> > How are You logged in?
> username admin, password password
> 
> > And You are looged in as SG0 admin (superuser).
> user: admin, password: password

So You are SG0 admin superuser.
 
> <?php
> 
> $res = mgd_auth_midgard("anonymous+SG","4anon",0);
> echo mgd_errstr() . " !!$res!! <br>";
> if ($res) {
> echo "true<br>";
> } else {
> echo "false<br>";
> }
> $midgard = mgd_get_midgard();
> 
> echo $midgard->user . ": user<br>";
> ?>
> 
> returns:  (or if I put anonymous+SG0)
> 
> Sitegroup not found !!!! 
> false
> 0: user


SG means - the name of sitegroup.
SG0 is some special magic transparanet sitegroup
without any name, so loogin  as 
mgd_auth_midgard("anonymous","4anon",0);
You log to SG0.

> If I get rid of +SG
> 
> Object does not exist !!!! 
> false

mgd_auth_midgard won't return any object.

<?php
mgd_auth_midgard("anonymous+SG","4anon",0);
$midgard = mgd_get_midgard();

// $midgard is an object right now

print_r($midgard);

?>

> if I put admin/password, I get
> 
> MGD_ERR_OK !!1!! 
> true
> 1: user

correct

 
> 
> > > No matter what I do, that statement is always false.
> > 
> > You mean '0' ??
> actually empty -- it is not set to 0
> > 
> > > I've created a group called firewallpost.
> > 
> > Select this group as topic owner.
> It is, but I think the problem is that I cannot add people to that
> group.


You can not add persons to any group when group is in SG0.
First of all create any sitegroup, relog as this SG admin 
and then create persons, groups etc etc.


Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to