Announcement

Collapse
No announcement yet.

vBulletin Database Error! Error Number:1062 - Duplicate entry 'xxxx' for key 1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] vBulletin Database Error! Error Number:1062 - Duplicate entry 'xxxx' for key 1

    Hi all! Dear professionals I need your help.

    After upgrade from 3.8 to 4.1.1, currently I have an issue: nobody can register.
    After registration I'm getting a message: "Database error" and receive an e-mail with this detailed info:
    ----------------------------------------------------------------------------------
    Database error in vBulletin 4.1.1:


    Invalid SQL:
    INSERT INTO user
    (options, parentemail, email, username, salt, passworddate, password, usergroupid, languageid, usertitle, customtitle, showbirthday, birthday_search, birthday, timezoneoffset, ipaddress, displaygroupid, joindate, lastvisit, lastactivity, autosubscribe, showvbcode, threadedmode, reputationlevelid, reputation, pmpopup, maxposts, daysprune, startofweek)
    VALUES
    (36723031, '', '[email protected]', 'AAABBBCCC', 'C&x20~sDv|2m.|D(l=bs_=w|3GO\'Uy', FROM_UNIXTIME(1296927058), '02db70564be3933eb07392962743a0bd', 3, 2, 'Junior Member', 0, 2, '2000-05-23', '05-23-2000', '4', '46.70.129.120', '', 1296927058, 1296927058, 1296927058, 1, 1, 0, 5, 10, 1, -1, 0, -1);

    MySQL Error : Duplicate entry '4294967295' for key 1
    Error Number : 1062
    Request Date : Saturday, February 5th 2011 @ 12:30:58 PM
    Error Date : Saturday, February 5th 2011 @ 12:31:00 PM
    Script : http://forum.ayb.am/register.php?do=addmember
    Referrer : http://forum.ayb.am/register.php
    IP Address : 46.70.129.120
    Username : AAABBBCCC
    Classname : vB_Database
    MySQL Version :
    ---------------------------------------------------------

  • #2
    Fixed in your support ticket.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Hi,

      I would like to know the fix to that database error message.

      In my case:

      INSERT INTO tagsearch (tagid, dateline)
      VALUES (435, 1308850132);

      MySQL Error : Duplicate entry '435' for key 1
      Error Number : 1062
      By the way, I found this entry on your manual:
      https://www.vbulletin.com/docs/html/mysql_duplicatekey

      but there is no mention to table tagsearch in there.

      And also, an error I experienced when upgrading to 4.x:

      ALTER TABLE usergroupleader ADD index ugl (userid, usergroupid);

      MySQL Error : Duplicate key name 'ugl'
      Error Number : 1061
      Thank you!
      ComunidadHosting Web Hosting Forums

      Comment


      • #4
        Please start your own thread with all the relevant details. Thank you.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          I thought it was appropiate to keep it in this very same thread, since the error message is the same, but here you go.

          Thank you.
          ComunidadHosting Web Hosting Forums

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X