• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • MySQL Error - Duplicate Key Entry

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: MySQL Error - Duplicate Key Entry

    • Issue Tools
      • View Changes
    1. issueid=1472 April 23, 2010 2:13 PM
      Kaelon Kaelon is offline
      Regular Member
      MySQL Error - Duplicate Key Entry

      I received the following VaultWiki error when a user tried to edit one of our articles:

      Code:
      Database error in vBulletin 3.8.4:
      
      Invalid SQL:
      INSERT INTO vault_revision
             (forumid, threadid, dateline, iconid, pagetext, userid, ipaddress, title, reason, minor, section, attach, pending, description, prefixid, unzip, lastrevisionid)
      VALUES
             (445, 95223, 1271937247, 0, 'ZVZNj9s2EL0HyH+YWy5eO0kXLRoghzZBkAI5tQV6MHwYSSOLMUUK/Iji/Pq+ISmvtwV2bVkiH+fNezOjY89Jzj5cT198kM77y/Fwu3W8XX0M3Ht39+jli3orEgehKc/svBkirSZNFGRJxhp2NAqnHCTu6Q9HScIcyY80iTlPidgNtJbLHaVJrgUKFxR5FuJIx9VczPvPCn4qn/F40FunPf29rbfcX4w7k3HU+eFKE5uwoy6nO0if2Nor9f6bBBl0aezZalSAidJ+UY+AO9EA2elq65+QTKDExiVsL1GdPlwDfwfFFhF11vuBZkGQWM+pglaUmiTnE5gjAJM4XGkMfqYFDxwO8NRPxg57+uQDjdwbtrfcteRM/A1JcSTWuzNrINH5EhwOG8w4Cs45B2yyDbw8ARtNaU3lX5yDGU5fzA8OwyzuPp1gKFepoUbBRle1MI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UZtterDAuAXX6Fw==', 2405, '74.105.224.247', 'Dracon', '', 0, '', 0, 0, '', '', 1, 5184);
      
      MySQL Error   : Duplicate entry '95223-1271937247' for key 2
      Error Number  : 1062
      Request Date  : Thursday, April 22nd 2010 @ 06:54:07 AM
      Error Date    : Thursday, April 22nd 2010 @ 06:54:08 AM
      Script        : http://www.aelyria.com/wiki/Dracon?do=edit
      Referrer      : http://www.aelyria.com/wiki/Dracon?do=edit
      IP Address    : 74.105.224.247
      Username      : Nimh
      Classname     : vB_Database
      MySQL Version : 5.0.77-log
      Any thoughts as to what can be causing this?
    Issue Details
    Issue Number 1472
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Editing / Posting Articles
    Status Cannot Reproduce
    Priority 3 - Loss of Functionality
    Affected Version 3.0.0 RC 1
    Fixed Version (none)
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. April 23, 2010 2:23 PM
      pegasus pegasus is offline
      VaultWiki Team
      This only seems possible if two users post an edit to the same page at exactly the same second (could also be from the same user if certain browser toolbars are used). This would be a freak occurrence and there's not much that can be done to prevent it.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 12:27 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.