• 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
    • Duplicate entry Error on importing NuWiki (step 2)

    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: Duplicate entry Error on importing NuWiki (step 2)

    • Issue Tools
      • View Changes
    1. issueid=1826 July 22, 2010 8:43 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Duplicate entry Error on importing NuWiki (step 2)

      When importing NuWiki > Vaultwiki, on step 2 I encounter this error:
      Code:
      Database error in vBulletin 3.8.5:
      
      Invalid SQL:
      
      				INSERT INTO vb6_postlog
      				(postid, useragent, ip, dateline)
      				VALUES
      				(864056, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.7) Gecko/20100713 Firefox/3.6.7', xxxxx, xxxxx);
      
      MySQL Error   : Duplicate entry '864056' for key 1
      Error Number  : 1062
      Request Date  : Friday, July 23rd 2010 @ 02:37:53 AM
      Error Date    : Friday, July 23rd 2010 @ 02:38:07 AM
      Script        : /forum/admincp/vaultwiki_setup.php?do=import
      Referrer      : /forum/admincp/vaultwiki_setup.php?do=import
      IP Address    : xxxxxxx
      Username      : Alfa1
      Classname     : vB_Database
      MySQL Version : 5.0.90-log
      What to do now?
    Issue Details
    Issue Number 1826
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Importing
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 3.0.1
    Fixed Version 3.0.2
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 23, 2010 12:02 AM
      pegasus pegasus is offline
      VaultWiki Team
      Did you perform this edit? http://www.vaultwiki.org/threads/4708/#post11899
      This should have fixed it.
      Reply Reply  
    2. July 23, 2010 8:14 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Yes, I performed these edits and uploaded them to the correct locations.
      Reply Reply  
    3. July 23, 2010 11:26 AM
      pegasus pegasus is offline
      VaultWiki Team
      Ah, try changing the location. Right now I had you place that after this line:
      Code:
      					if ($can_edit_title)
      Try adding the following before it:
      Code:
      $threadman->set_info('skip_moderator_log', true);
      Then find:
      Code:
      				$dataman->set_existing($postinfo);
      Add after:
      Code:
      				$dataman->set_info('is_automated', true);
      Then find:
      Code:
      					$threadman->set_existing($threadinfo);
      Add after:
      Code:
      					$threadman->set_info('is_automated', true);
      Reply Reply  
    4. July 23, 2010 3:39 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      The import has gone trough all steps without error messages.
      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:23 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.