• Welcome to Simple Machines Community Forum. Please login or sign up.

Duplicate entries in mos_core_acl_aro when registering

Started by tophe, March 12, 2005, 02:46:07 PM

Previous topic - Next topic


Hello again.. It's me, Mr. Forum-flooder.
I promise to make up for it as I learn more.. I actually allready posted my first answer to a post. :)

Well, here's my problem.

When a user register through the link

They show up just fine in the database and in SMF.. But not in the Mambo admin.
The reason for this is that in mos_core_acl_aro the new user gets two ID's
In all the other tables they are correct.

As an example, if all the other tables register a user named "newuser" as

group ID 18
aro ID 22
value 72

In mos_core_acl_aro there will be an entry like this:

aro ID  22
value 0
name newuser

and another like this:

aro ID  23
value 72
name newuser

If I remove the second one (with aro ID 23)
And put the "value" of the first one (aro ID 22)  to 72.
It works just fine, since the rest of the database is referring to aro ID 22 and value 72

Why is it doing this?

I did earlier remove some users from the database... But I noticed that when new ones is registered their values is added as
if the old ones were still there.. I don't know if this is a problem...

Here is a screenshot of my mos_core_acl_aro 
(I censored a couple of names, it's their real names. Don't wanna put them on the net just for their integrity's sake)

Is it a problem that there is a gap between 12 and 17 and that 20 is missing?

I hope you guys can help me out, thank you SO MUCH for all the help so far.


I don't think there is an issue with skipping some numbers.  If I recall correctly, I have quite a few gaps from removed users in my table as well.