Author Topic: 1.5 RC - cannot create new user  (Read 3297 times)

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
1.5 RC - cannot create new user
« on: July 24, 2009, 10:04:02 am »
Adding a new user spits out the following error:
Code: [Select]
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.
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: 1.5 RC - cannot create new user
« Reply #1 on: 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.

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: 1.5 RC - cannot create new user
« Reply #2 on: 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.
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: 1.5 RC - cannot create new user
« Reply #3 on: July 27, 2009, 11:09:44 am »
Can you try creating a user with a specified password and a personal workspace?

Thanks

Nuno Zimas

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Re: 1.5 RC - cannot create new user
« Reply #4 on: July 27, 2009, 04:14:26 pm »
Can you try creating a user with a specified password and a personal workspace?
It works.
OS: GNU/Linux (PCLinuxOS) | Browser: Firefox 3.6.x and Chromium 5.0.x | FengOffice 1.7 RC

cluge

  • Freshman
  • *
  • Posts: 26
    • View Profile
Re: 1.5 RC - cannot create new user
« Reply #5 on: 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

cluge

  • Freshman
  • *
  • Posts: 26
    • View Profile
Re: 1.5 RC - cannot create new user
« Reply #6 on: 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