• 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 4.x Series
    • Bug
    • Database Error Reinstalling After File Upgrade

    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: Database Error Reinstalling After File Upgrade

    • Issue Tools
      • View Changes
    1. issueid=3362 October 2, 2013 11:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      Database Error Reinstalling After File Upgrade

      Consider the following case using Alpha 1 and Beta 6 for the sake of argument - it really applies to any increasing versions:
      1. Install VaultWiki 4.0.0 Alpha 1.
      2. Uninstall VaultWiki 4.0.0 Alpha 1, but leave files in file system.
      3. Upload VaultWiki 4.0.0 Beta 6 to file system.
      4. Attempt to reinstall.

      Because VaultWiki scans the file system on install, this not only has security implications (which is handled here: https://www.vaultwiki.org/issues/2575/), but Alpha 1 may have had database tables, alterations, inserts, etc that were since removed in a later version. VaultWiki will automatically try to make the changes because the files still exist, and may end up with database clutter, or database errors during the process.

      This can be fixed by maintaining a list of $removed_changes in each Install_DB controller so that if the files still exist, they will be ignored.
    Issue Details
    Issue Number 3362
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 6
    Fixed Version 4.0.0 Beta 7
    Milestone VaultWiki 4 Beta X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 4, 2013 10:36 AM
      pegasus pegasus is offline
      VaultWiki Team
      Implemented in the next release.
      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 11:38 AM.
    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 © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.