• 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
    • Upgrading to 4.0.17

    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: Upgrading to 4.0.17

    • Issue Tools
      • View Changes
    1. issueid=4933 March 1, 2017 4:17 PM
      hollosch hollosch is offline
      Senior Member
      Upgrading to 4.0.17

      Code:
      Step 8
      
      Updating data in table: vw_page
      An exception occurred: Database Error: SELECT revisionid FROM `vw_revision` WHERE pageid = 203 AND < dateline AND visible = 1 ORDER BY dateline DESC Mysqli prepare error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '< dateline AND visible = 1 ORDER BY dateline DESC' at line 1 in [path]/vault/core/controller/db/xf.php on line 173
      #0: vw_DB_Controller_XF->throw_error() in [path]/vault/core/controller/db/xf.php at line 254
      #1: vw_DB_Controller_XF->query_first() in [path]/vault/core/model/db/mysql/vw.php at line 27
      #2: vw_DB_MySQL_Model->select() in [path]/vault/install/lib/upgradepath/steps/4/0/17/base/vw.php at line 348
      #3: vw_Install_UpgradePath_Steps_4017_base_Controller->{closure}() in [path]/vault/core/controller/progress/steps/vw.php at line 83
      #4: vw_Progress_Steps_Controller->call() in [path]/vault/core/controller/progress/steps/vw.php at line 53
      #5: vw_Progress_Steps_Controller->execute() in [path]/vault/install/lib/upgradepath/vw.php at line 62
      #6: vw_Install_UpgradePath_Controller->exec_script() in [path]/vault/core/controller/progress/vw.php at line 74
      #7: vw_Progress_Controller->execute() in [path]/vault/core/controller/cp/progress/vw.php at line 35
      #8: vw_CP_Progress_Controller->process() in [path]/vault/core/controller/cp/install/vw.php at line 286
      #9: vw_CP_Install_Controller->upgrade() in [path]/vault/core/controller/cp/install/vw.php at line 57
      #10: vw_CP_Install_Controller->execute() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 118
      #11: vw_XenForo_ControllerAdmin_Wiki->actionIndex() in [path]/library/vw/XenForo/ControllerAdmin/Wiki.php at line 176
      #12: vw_XenForo_ControllerAdmin_Wiki->actionUpgrade() in [path]/library/XenForo/FrontController.php at line 351
      #13: XenForo_FrontController->dispatch() in [path]/library/XenForo/FrontController.php at line 134
      #14: XenForo_FrontController->run() in [path]/admin.php at line 13
    Issue Details
    Issue Number 4933
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.17
    Fixed Version 4.0.17
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 1, 2017 4:21 PM
      hollosch hollosch is offline
      Senior Member
      Upgrade stop at this step...
      Reply Reply  
    2. March 1, 2017 5:07 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs if the upgrade encountered a page that has no current edit (probably a corrupt page that needs to be removed by one of the admin tools).

      In vault/install/lib/upgradepath/steps/4/0/17/base/vw.php, find:
      Code:
      vw_DB::get()->query()->gt('dateline', $page['dateline']),
      Replace with:
      Code:
      vw_DB::get()->query()->gt('dateline', intval($page['dateline'])),
      Reply Reply  
    3. March 1, 2017 5:29 PM
      hollosch hollosch is offline
      Senior Member
      Thx for quick support !!!
      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 7:41 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.