Re: getID() error in roles displayrole.php

Andreas Nyback <[email protected]>
Newsgroups gmane.comp.cms.xaraya.user
Organization Xaraya
Message-ID <[email protected]>
I would need some advice how to trace this problem.

If i create a new user then that user works. If i click on the user the 
user page comes up. But on all my old users and groups i get this error 
when accessing.

Fatal error: Call to a member function getID() on a non-object in 
modules/roles/xaradmin/displayrole.php on line 47

I tried to look in the database to see what is the difference between a 
new and an old user but i cannot find it.

The error comes in displayrole.php and modifyrole.php. 
showprivileges.php works.

log.txt shows nothing that helps.

I use a fresh xaraya from monotone.

thanks
/Andreas

Andreas Nyback skrev:
> After my upgrade to latest xaraya i get an error message when i click on 
> a user.
> 
> If i try to access a user:
> http://www.nyback.com/index.php?module=roles&type=admin&func=displayrole&uid=7 
> 
> 
> I get:
> 
> Fatal error: Call to a member function getID() on a non-object in 
> /var/www/www.nyback.com/htdocs/modules/roles/xaradmin/displayrole.php on 
> line 47
> 
> I have ran upgrade.php.
> I have authsystem and user registration selected in roles config.
> I also have security module installed.
> 
> Any advice?
> 
> By the way, what is the Authentication module and how does it fit in 
> with the others? Is it old or for future use?
> thanks
> /Andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.