• 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
    • An upgrade is pending. Please run the upgrade script to complete the process.

    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: An upgrade is pending. Please run the upgrade script to complete the process.

    • Issue Tools
      • View Changes
    1. issueid=4568 March 2, 2016 5:06 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      An upgrade is pending. Please run the upgrade script to complete the process.

      After the install process was completed and I am accessign VW admin, I get this message:

      An upgrade is pending. Please run the upgrade script to complete the process.
    Issue Details
    Issue Number 4568
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.9
    Fixed Version 4.0.9
    Milestone (none)
    Software DependencyvBulletin 3.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 2, 2016 5:17 PM
      pegasus pegasus is offline
      VaultWiki Team
      In Debug Mode, please check vBulletin Options > VaultWiki: Untouchable Settings.

      What values do you have for these:
      • VaultWiki Version
      • Platform Version


      VaultWiki Version should be 4.0.9.
      Platform Version should be whatever your vBulletin version is.
      Reply Reply
    2. March 2, 2016 5:43 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      These settings are correct.
      Reply Reply
    3. March 2, 2016 5:59 PM
      pegasus pegasus is offline
      VaultWiki Team
      Check vault/core/model/vw.php. What does it claim for the VERSION constant?
      Reply Reply
    4. March 2, 2016 6:06 PM
      pegasus pegasus is offline
      VaultWiki Team
      I can see this happening if the file contains a "Patch Level" version number, but 4.0.9 does not.

      To fix it when the version number is a patch, edit vault/core/controller/cp/vw.php. Find:
      Code:
      if (vw_Hard_Core::model('Version')->compare($version, vw_Hard_Core::toString()) == -1)
      Replace with:
      Code:
      			$file_version = vw_Hard_Core::toString();
      			$file_version = preg_split('#(?:pl|patch level)#i', $file_version);
      
      			if (vw_Hard_Core::model('Version')->compare($version, $file_version[0]) == -1)
      If your file does not contain the correct file version '4.0.9', please let me know what it contains.
      Reply Reply
    5. March 2, 2016 6:58 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      In vw.php:
      const VERSION = '4.0.9';

      But vBulletin Options > VaultWiki: Untouchable Settings shows:
      4.0.9 Beta 1
      Reply Reply
    6. March 2, 2016 7:47 PM
      pegasus pegasus is offline
      VaultWiki Team
      That explains it then. I see how this happened now. It was already fixed in the ZIP earlier today.

      In this case it is safe to manually change 4.0.9 Beta 1 in the setting to 4.0.9

      Since the installer uses multiple upgrade scripts based on different configurations, the wrong version list was used to set the version number. For example, when MySQL is at least version 5.6.4, an additional set of upgrade scripts is used which makes optimizations for newer MySQL versions. The last version in this branch was 4.0.9 Beta 1. The setting took this value instead of the value from the main branch.
      Reply Reply
    7. March 2, 2016 7:56 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Great. I have now uninstalled and reinstalled again without hiccups. Now will try is it still works with the new zip. and then onto importing.
      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:24 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 © 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.