Object Duplication Error

Discussion in '3CX Phone System - General' started by scottyork, Dec 6, 2007.

  1. scottyork

    Joined:
    Jun 1, 2007
    Messages:
    64
    Likes Received:
    0
    Getting this errror

    Cannot save Gateway object: ERROR: duplicate key violates unique constraint "gateway_pkey"<br>#0 C:\Program Files\3CX PhoneSystem\Data\Http\functions\fGateway.php(247): safeExec(Object(PDOStatement), 'Cannot save Gat...')<br />
    #1 C:\Program Files\3CX PhoneSystem\Data\Http\gateway_lines_upd.php(689): fGateway::save(Object(oGateway))<br />
    #2 {main}

    When trying to add new gateway. Have just upgraded from 3.1 to "final" v.5

    Can't seem to add new DIDs either with similar error
     
  2. Mori

    Mori New Member

    Joined:
    Mar 23, 2007
    Messages:
    223
    Likes Received:
    0
    I hit this to. Just backup then restore the system file again.
    It should be solved this issue.

    This error only affect the CDR (call log). The call function should be works fine.
     
  3. scottyork

    Joined:
    Jun 1, 2007
    Messages:
    64
    Likes Received:
    0
    Your fix works perfectly

    :D

    Many thanks!
     

Share This Page