• 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
    • vw_410b1b1 Install Fails on XF 2.1.2 fresh installation

    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: vw_410b1b1 Install Fails on XF 2.1.2 fresh installation

    • Issue Tools
      • View Changes
    1. issueid=5761 May 17, 2019 11:41 PM
      Daniel Nenni Daniel Nenni is offline
      New Member
      vw_410b1b1 Install Fails on XF 2.1.2 fresh installation

      Code:
      XF\Mvc\Reply\Exception: Batch install error: src/addons/vw/vw/Setup.php:700
      Generated by: admin May 18, 2019 at 4:38 AM
      Stack trace
      #0 src/addons/vw/vw/Setup.php(368): vw\vw\Setup->vwHandleBrowserInteractions(Object(vw\vw\Setup\View), Array)
      #1 src/addons/vw/vw/Setup.php(326): vw\vw\Setup->vwHandleInteractions(Object(vw\vw\Setup\View), Array)
      #2 src/addons/vw/vw/Setup.php(310): vw\vw\Setup->vwHandleException(Object(vw\vw\Setup\Exception), Object(vw\vw\Setup\Caller\Install), Array)
      #3 src/addons/vw/vw/Setup.php(217): vw\vw\Setup->vwRunStep('install', Object(vw_Install_Full_Steps_Controller_XF2), Array, 9)
      #4 src/XF/Job/AddOnInstallBatch.php(289): vw\vw\Setup->install(Array)
      #5 src/XF/Job/AddOnInstallBatch.php(86): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
      #6 src/XF/Job/Manager.php(253): XF\Job\AddOnInstallBatch->run(G)
      #7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
      #8 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
      #9 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
      #10 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
      #11 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #12 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
      #13 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
      #14 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
      #15 src/XF.php(390): XF\App->run()
      #16 admin.php(13): XF::runApp('XF\\Admin\\App')
      #17 {main}
      Request state
      Code:
      array(4) {
        ["url"] => string(27) "/xf/admin.php?tools/run-job"
        ["referrer"] => string(49) "https://35.226.139.164/xf/admin.php?tools/run-job"
        ["_GET"] => array(1) {
          ["tools/run-job"] => string(0) ""
        }
        ["_POST"] => array(3) {
          ["_xfRedirect"] => string(85) "https://35.226.139.164/xf/admin.php?add-ons/install-from-archive-complete&batch_id=10"
          ["_xfToken"] => string(8) "********"
          ["only_ids"] => string(5) "45,46"
        }
      }
    Issue Details
    Issue Number 5761
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.1.0 Beta 1
    Fixed Version 4.1.0 Beta 1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags install




    1. May 17, 2019 11:43 PM
      Daniel Nenni Daniel Nenni is offline
      New Member
      This error booted me out of the installation process with a blank error as the exception. I was able to revisit the Addons page in XF Admin Panel and see that VW was in a partially installed state with the option to click "Install". After clicking install the installation proceeded fine.
      Reply Reply  
    2. May 18, 2019 11:50 AM
      pegasus pegasus is offline
      VaultWiki Team
      It looks like this is an issue where XenForo's ZIP add-on installer is not handling the popups (asking for user input) thrown by the VaultWiki installer in the same way as the standard or CLI installers. Hopefully there is a solution to this; otherwise we will just have to add instructions not to use the ZIP installer. You will need to manually create and set a user group for Wiki Moderators since the form did not open during installation. Hopefully nothing after it was skipped over.
      Reply Reply  
    3. May 18, 2019 12:33 PM
      Daniel Nenni Daniel Nenni is offline
      New Member
      Quote Originally Posted by pegasus
      It looks like this is an issue where XenForo's ZIP add-on installer is not handling the popups (asking for user input) thrown by the VaultWiki installer in the same way as the standard or CLI installers. Hopefully there is a solution to this; otherwise we will just have to add instructions not to use the ZIP installer. You will need to manually create and set a user group for Wiki Moderators since the form did not open during installation. Hopefully nothing after it was skipped over.
      So far I haven't noticed any issues with VW as a result of the installation interruption but I will update the ticket if I do.
      Reply Reply  
    4. May 20, 2019 3:33 PM
      pegasus pegasus is offline
      VaultWiki Team
      We have devised a workaround which should hopefully resolve the issue in the next build. The problem is that XenForo's batch installer is catching the exceptions rather than letting them continue to the outer error handler. To workaround this issue, we now do the following when we need to show a popup:
      • Inspect the PHP backtrace to determine whether the installer is being run in a batch (since XenForo doesn't pass the context to the installer). If so,
      • Add a temporary event listener to memory which XenForo should execute once getting out of the batch installer and back to normal XenForo page rendering.
      • Tell the batch installer that it needs to start the next batch.
      • XenForo makes the reply and gets ready to render it.
      • Our event listener gets run. We replace the batch installer's reply with our own reply which contains the popup.
      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:42 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.