Zen Cart Logo
Forums / General Questions / 1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

Locked

Views: 1,848

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
7 Apr 2008, 10:01 PM
#1
maxilious avatar

maxilious

New Zenner

Join Date:
Oct 2006
Posts:
50
Plugin Contributions:
0

1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

I moved to a new server. So far everything works fine except linkpoint payments. Customers are able to fill their baskets - when they check out they get this message-

1062 Duplicate entry '0' for key 1
in:
[INSERT INTO linkpoint_api (lp_trans_num, zen_order_id, approval_code, transaction_response_time, r_error, customer_id, avs_response, transaction_result, message, transaction_time, transaction_reference_number, fraud_score, cc_number, cust_info, chargetotal, cc_expire, date_added) ...

7 Apr 2008, 10:11 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,768
Plugin Contributions:
9

Re: 1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

You might want to try unloading and reloading Linkpoint. Don't think this is a situation where the clear db cache would work.

8 Apr 2008, 1:00 AM
#3
maxilious avatar

maxilious

New Zenner

Join Date:
Oct 2006
Posts:
50
Plugin Contributions:
0

Re: 1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

I gave this a try. Now when someone tries to pay via CC they get this message-

We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization. Please contact the Store Owner for payment alternatives.

8 Apr 2008, 2:58 AM
#4
maxilious avatar

maxilious

New Zenner

Join Date:
Oct 2006
Posts:
50
Plugin Contributions:
0

Re: 1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

Maybe I will try to upgrade to v1.3.8?

8 Apr 2008, 8:40 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,768
Plugin Contributions:
9

Re: 1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

1.3.8a is the current

8 Apr 2008, 1:52 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: 1062 Duplicate entry '0' for key 1 on linkpoint_api table after changing servers

maxilious:

I moved to a new server.Did you perhaps lose the auto-increment setting on your linkpoint_api (and possibly others) table?

What is the table structure of your linkpoint_api table? (you can get this via phpMyAdmin).