Feng Forum

Support => Older versions => : Nuno Zimas July 24, 2009, 10:04:02 AM

: 1.5 RC - cannot create new user
: Nuno Zimas July 24, 2009, 10:04:02 AM
Adding a new user spits out the following error:
:
Query failed with message 'Duplicate entry '17-18' for key 1 'Suffice to say the user is not added :)

Funny thing is that neither the username nor the mail address is in the db.
: Re: 1.5 RC - cannot create new user
: ignacio July 24, 2009, 12:43:04 PM
Hi Nuno,

What data did you enter into the user (except for personal data)? Does this happen whenever you try to create a user or did this happen only once? Please try changing some parameters to see if you can successfully create a user.

Thanks.
: Re: 1.5 RC - cannot create new user
: Nuno Zimas July 27, 2009, 08:14:54 AM
What data did you enter into the user (except for personal data)?

I have assigned the password manually and set an existing workspace as default personal folder.
This morning i have created the same user account once again, this turn with a random pw and a personal folder.
It worked like a charm.

However, while trying to create a dummy user withy the previous parameters (manual pw and existing workspace as personal folder), i've got the error displayed in the attached screenie.

I *think* the faulty parameter is the pw.
: Re: 1.5 RC - cannot create new user
: ignacio July 27, 2009, 11:09:44 AM
Can you try creating a user with a specified password and a personal workspace?

Thanks
: Re: 1.5 RC - cannot create new user
: Nuno Zimas July 27, 2009, 04:14:26 PM
Can you try creating a user with a specified password and a personal workspace?
It works.
: Re: 1.5 RC - cannot create new user
: cluge September 03, 2009, 05:44:48 PM
This bug appears to have come up again in 1.5.3.

User was deleted and then an attempt to re-add the user results in the error "- Sorry, but selected name is already taken".  I checked the DB directly and the name is NOT in use.  I then try a new username that has never been used.  The results are the same.  I have tried this with various other features checked and unchecked.  No Mas.

-cluge
: Re: 1.5 RC - cannot create new user
: cluge September 03, 2009, 05:53:12 PM
Update - Changing the email address solved the problem.  This still appears to be a bug that needs to be quashed.  Upon successful addition I get the following in the log file:  "#1 ERROR: Error: Undefined variable: can_read in '/var/www/html/opengoo/application/models/object_subscriptions/ObjectSubscriptions.class.php' on line 33 (error code: 8)
Time since start: 0.18865990638733 seconds"

-cluge