• 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
    • Upgrade error

    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: Upgrade error

    • Issue Tools
      • View Changes
    1. issueid=5873 September 25, 2019 6:14 PM
      beernuts beernuts is offline
      Junior Member
      Upgrade error

      Easiest to just post the error probably. We're getting this error when trying to upgrade to 4.1.0 B3 from 4.0.25:

      Code:
      XF\Db\Exception: Database Error: INSERT INTO `vw_feedupdate` (`contenttypeid`, `contentid`, `lastupdate`) VALUES (1,1,), (1,2,), (1,32273,1555121088), (1,32274,1457363087), (1,32275,1418685822), (1,32276,1418685822), (1,32277,1418685822), (1,32278,1418685822), (1,32279,1418685822), (1,32280,1418685822), (1,32281,1418685822), (1,32282,1418685822), (1,32283,1465820501), (1,32284,1166345209), (1,32285,1166345209), (1,32286,1166345209), (1,32287,1166345209), (1,32288,1166345209), (1,32289,1166345209), (1,32290,1166345209), (1,32291,1166345209), (1,32292,1166345209), (1,32293,1166345209), (1,32294,1166345209), (1,32295,1166345209), (1,32296,1166345209), (1,32297,1166345209), (1,32298,1166345209), (1,32299,1166345209), (1,32300,1166345209), (1,32301,1166345209), (1,32302,1166345209), (1,32303,1166345209), (1,32304,1166345209), (1,32305,1166345209), (1,32306,1166345209), (1,32307,1166345209), (1,32308,1166345209), (1,32309,1166345209), (1,32310,1166345209), (1,32311,1166345209), (1,32312,1166345209), (1,32313,1166345209), (1,32314,1166345209), (1,32315,1166345209), (1,32316,1166345209), (1,32317,1166345209), (1,32318,1166345209), (1,32319,1166345209), (1,32320,1166345209), (1,32321,1166345209), (1,32322,1166345209), (1,32323,1166345209), (1,32324,1166345209), (1,32325,1166345209), (1,32326,1166345209), (1,32327,1166345209), (1,32328,1166345209), (1,32329,1166345209), (1,32330,1166345209), (1,32331,1166345209), (1,32332,1166345209), (1,32333,1166345209), (1,32334,1166345209), (1,32335,1166345209), (1,32336,1166345209), (1,32337,1166345209), (1,32338,1166345209), (1,32339,1166345209), (1,32340,1166345209), (1,32341,1166345209), (1,32342,1166345209), (1,32343,1166345209), (1,32344,1166345209), (1,32345,1166345209), (1,32346,1166345209), (1,32347,1166345209), (1,32348,1166345209), (1,32349,1166345209), (1,32350,1166345209), (1,32351,1166345209), (1,32352,1166345209), (1,32353,1166345209), (1,32354,1166345209), (1,32355,1166345209), (1,32356,1166345209), (1,32357,1166345209), (1,32358,1166345209), (1,32359,1166345209), (1,32360,1166345209), (1,32361,1166345209), (1,32362,1166345209), (1,32363,1166345209), (1,32364,1166345209), (1,32365,1166345209), (1,32366,1166345209), (1,32367,1166345209), (1,32368,1166345209), (1,32369,1166345209), (1,32370,1166345209), (1,32371,1166345209), (1,32372,1166345209), (1,32373,1166345209), (1,32374,1166345209), (1,32375,1166345209), (1,32376,1166345209), (1,32377,1166345209), (1,32378,1166345209), (1,32379,1166345209), (1,32380,1166345209), (1,32381,1166345209), (1,32382,1166345209), (1,32383,1166345209), (1,32384,1166345209), (1,32385,1166345209), (1,32386,1166345209), (1,32387,1166345209), (1,32388,1166345209), (1,32389,1166345209), (1,32390,1166345209), (1,32391,1166345209), (1,32392,1166345209), (1,32393,1166345209), (1,32394,1166345209), (1,32395,1166345210), (1,32396,1166345210), (1,32397,1166345210), (1,32398,1166345210), (1,32399,1166345210), (1,32400,1166345210), (1,32401,1166345210), (1,32402,1166345210), (1,32403,1166345210), (1,32404,1166345210), (1,32405,1166345210), (1,32406,1166345210), (1,32407,1166345210), (1,32408,1166345210), (1,32409,1166345210), (1,32410,1166345210), (1,32411,1166345210), (1,32412,1166345210), (1,32413,1166345210), (1,32414,1166345210), (1,32415,1166345210), (1,32416,1166345210), (1,32417,1166345210), (1,32418,1166345210), (1,32419,1166345210), (1,32420,1166345210), (1,32421,1166345210), (1,32422,1166345210), (1,32423,1166345210), (1,32424,1166345210), (1,32425,1166345210), (1,32426,1166345210), (1,32427,1166345210), (1,32428,1166345210), (1,32429,1166345210), (1,32430,1166345210), (1,32431,1166345210), (1,32432,1166345210), (1,32433,1166345210), (1,32434,1166345210), (1,32435,1166345210), (1,32436,1166345210), (1,32437,1166345210), (1,32438,1166345210), (1,32439,1166345210), (1,32440,1166345210), (1,32441,1166345210), (1,32442,1166345210), (1,32443,1166345210), (1,32444,1166345210), (1,32445,1166345210), (1,32446,1166345210), (1,32447,1166345210), (1,32448,1166345210), (1,32449,1166345210), (1,32450,1166345210), (1,32451,1166345210), (1,32452,1166345210), (1,32453,1166345210), (1,32454,1166345210), (1,32455,1166345210), (1,32456,1166345210), (1,32457,1166345210), (1,32458,1166345210), (1,32459,1166345210), (1,32460,1166345210), (1,32461,1166345210), (1,32462,1166345210), (1,32463,1166345210), (1,32464,1166345210), (1,32465,1166345210), (1,32466,1166345210), (1,32467,1166345210), (1,32468,1166345210), (1,32469,1166345210), (1,32470,1166345210) ON DUPLICATE KEY UPDATE lastupdate = VALUES(lastupdate) MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '), (1,2,), (1,32273,1555121088), (1,32274,1457363087), (1,32275,1418685822),' at line 1 in src/addons/vw/vw/_core/controller/db/xf2.php at line 361
      vw_DB_Controller_XF2->halt() in src/addons/vw/vw/_core/model/db/mysql/vw.php at line 1282
      vw_DB_MySQL_Model->replace() in src/addons/vw/vw/_install/lib/upgradepath/steps/4/1/0/alpha/1/base/vw.php at line 2362
      vw_Install_UpgradePath_Steps_410alpha1_base_Controller->{closure}() in src/addons/vw/vw/Setup.php at line 299
      vw\vw\Setup->vwRunStep() in src/addons/vw/vw/Setup.php at line 954
      vw\vw\Setup->upgrade() in src/XF/Admin/Controller/AddOn.php at line 576
      XF\Admin\Controller\AddOn->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 321
      XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
      XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
      XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
      XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2178
      XF\App->run() in src/XF.php at line 390
      XF::runApp() in admin.php at line 13
    Issue Details
    Issue Number 5873
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.0 Beta 3
    Fixed Version 4.1.0 Beta 4
    Milestone (none)
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. September 26, 2019 4:11 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This occurs when performing an upgrade step in the 4.1.0 Alpha 1 process, where last-updated fields are recalculated on existing feeds, if the feed contains a wiki page that is corrupt (has missing time data).

      In src/addons/vw/vw/_install/lib/upgradepath/steps/4/1/0/alpha/1/base/vw.php, find:
      Code:
      $feedupdate[] = array(
      BEFORE it, add:
      Code:
      				if (!$page['lastupdate'])
      				{
      					// corrupt page
      					continue;
      				}
      Reply Reply  
    2. September 26, 2019 4:23 PM
      beernuts beernuts is offline
      Junior Member
      Thanks. That fix allowed the upgrade to go through to completion.
      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 8:19 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.