Error trying to add Extensions

Discussion in '3CX Phone System - General' started by nahidul, May 15, 2008.

Thread Status:
Not open for further replies.
  1. nahidul

    Joined:
    Jul 9, 2007
    Messages:
    28
    Likes Received:
    0
    Hello.

    Getting error when trying to add extensions. Please help.

    "3CX Phone System internal error.

    Object duplication error

    Cannot save User object: ERROR: duplicate key violates unique constraint "users_pkey"<br>#0 C:\Program Files\3CX PhoneSystem\Data\Http\functions\fUser.php(56): safeExec(Object(PDOStatement), 'Cannot save Use...')<br />
    #1 C:\Program Files\3CX PhoneSystem\Data\Http\user_extension_info.php(1046): fUser::save(Object(oUser))<br />
    #2 C:\Program Files\3CX PhoneSystem\Data\Http\functions\gui\fmPage.php(70): aOnOk->execute()<br />
    #3 C:\Program Files\3CX PhoneSystem\Data\Http\functions\gui\fmPage.php(85): fmPage->processData()<br />
    #4 C:\Program Files\3CX PhoneSystem\Data\Http\functions\gui\fmPageEx.php(110): fmPage->toHTML()<br />
    #5 C:\Program Files\3CX PhoneSystem\Data\Http\user_extension_info.php(1096): fmCustomPage->toHTML()<br />
    #6 {main}"

    With Thanks
    Nahid HOSSAIN
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. scdebaay

    Joined:
    May 16, 2008
    Messages:
    1
    Likes Received:
    0
    This looks like a DB error. Would this be concerning an extension you once made, deleted and now are trying to make again?
    It seems that the deletion process writing to the database did not go as planned and that there is a record in the DB with a unique key identifier which needs to be deleted before the new extension can be remade. As the database is, I believe, a postgre SQL database, you will need a tool to access and edit the db directly.
    On the other hand I would not recommend this, and see whether the 3CX staff can shed a light on this.
     
  3. demonofsteel

    demonofsteel New Member

    Joined:
    Mar 28, 2008
    Messages:
    105
    Likes Received:
    0
    If you can't find a solution to correct this, I would recommend you to uninstall 3CX first, then remove any version of software you could use to admin a postgre SQL DB and also remove any Apache server. Then reinstall...

    Weird DB errors often occur if you alrady have a DB manager on the server you installed 3CX on.
     
Thread Status:
Not open for further replies.