• 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
    • Task
    • Cannot Enable

    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: Cannot Enable

    • Issue Tools
      • View Changes
    1. issueid=3620 March 21, 2014 8:32 AM
      DirtRider DirtRider is offline
      Junior Member
      Cannot Enable
      Enable

      I had my WiKi disabled waiting on the next bug fix release. I downloaded vaultwiki_4-0-0_Gamma_4_patch_03-18-2014 and uploaded all the files to my forum as per normal. Now when I enable the WiKi again I don't see the menu item and cannot get into the ACP for it. I just get this error

      Error
      The requested page could not be found.
    Issue Details
    Issue Number 3620
    Issue Type Task
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Duplicate
    Priority 3 - Loss of Functionality
    Target Version 4.0.0 Gamma 4
    Resolved Version (none)
    Milestone VaultWiki 4 Gamma X
    Software DependencyXenForo 1.x
    License TypePaid
    Votes to perform 0
    Votes not to perform 0
    Attachments 0
    Assigned Users (none)
    Tags Cannot Enable




    1. March 21, 2014 9:14 AM
      pegasus pegasus is offline
      VaultWiki Team
      If you have not run the upgrade script yet, and the menu item was there before when you disabled it. Then the only reason for the page not being found is that XenForo did not actually enable anything when you thought you re-enabled it. I would try again, but you should also make sure that the 'vw' exists under Public Route Prefixes, and 'wiki' exists under Admin Route Prefixes in admin.php?route-prefixes/

      It shouldn't matter once VaultWiki proper was installed, but you should also make sure the stub called "VaultWiki Routes" is enabled.

      If the route prefixes or admin navigation entries for VaultWiki are completely missing, then you may have to install the stub again. It will add an entry for "Run Install Script", but this would actually run the upgrade script since it's already installed. If you have to do this, then before running the upgrade, do the following, or the upgrade itself will lock you out halfway through. In vault/core/model/install/version/list/xf.php, find:
      Code:
      '4.0.0 Beta 7'
      Replace with:
      Code:
      //'4.0.0 Beta 7'
      Once the upgrader says "Upgrade complete", you should reverse that change and run the upgrade again.
      Reply Reply  
    2. March 21, 2014 9:41 AM
      DirtRider DirtRider is offline
      Junior Member
      When I run the upgrade I just get the following error with or without the 4.0.0.Beta 7 commented out or not
      Code:
      Server Error
      
      implode(): Invalid arguments passed
      
          XenForo_Application::handlePhpError()
          implode() in /var/www/vhosts/triumphtalk.com/httpdocs/vault/core/model/db/mysql/vw.php at line 168
          vw_DB_MySQL_Model->construct_select() in /var/www/vhosts/triumphtalk.com/httpdocs/vault/core/model/db/mysql/vw.php at line 26
          vw_DB_MySQL_Model->select() in /var/www/vhosts/triumphtalk.com/httpdocs/vault/core/controller/cp/install/vw.php at line 106
          vw_CP_Install_Controller->check_requirements() in /var/www/vhosts/triumphtalk.com/httpdocs/vault/core/controller/cp/install/xf.php at line 27
          vw_CP_Install_Controller_XF->check_requirements() in /var/www/vhosts/triumphtalk.com/httpdocs/vault/core/controller/cp/install/vw.php at line 40
          vw_CP_Install_Controller->execute() in vw/XenForo/ControllerAdmin/Wiki.php at line 107
          vw_XenForo_ControllerAdmin_Wiki->actionIndex() in vw/XenForo/ControllerAdmin/Wiki.php at line 136
          vw_XenForo_ControllerAdmin_Wiki->actionUpgrade() in XenForo/FrontController.php at line 347
          XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
          XenForo_FrontController->run() in /var/www/vhosts/triumphtalk.com/httpdocs/admin.php at line 13
      Reply Reply  
    3. March 21, 2014 10:18 AM
      pegasus pegasus is offline
      VaultWiki Team
      I just noticed in your first post, if you downloaded patch 3-18-2014, that means it only contained files that were updated after 3-18-2014 (just over 2 days ago). If you had Gamma 3 installed before, you would have needed a different patch. If you ever don't know for sure what patch you need, just download the full package.
      Reply Reply  
    4. March 21, 2014 11:43 AM
      DirtRider DirtRider is offline
      Junior Member
      I now uploaded the complete vaultwiki_4-0-0_Gamma_4 package and when I run the upgrade script I get this

      Failed to Meet Minimum Requirements

      minimum_requirements_error_mysql_packet
      Reply Reply  
    5. March 21, 2014 5:26 PM
      pegasus pegasus is offline
      VaultWiki Team
      That means your MySQL max_allowed_packet setting is set very low. See here: https://www.vaultwiki.org/issues/3619/
      It is probably the default value which will cause vBulletin to crash during upgrades and XenForo might crash if you have a lot of users online at once.

      Please note that since that thread was opened, XenForo now has its own minimum value in vault/core/controller/cp/install/xf.php. It is set to 2MB, which is very low compared to 32MB for vBulletin (vB support recommends 64MB or higher). As mentioned in that thread, you can change the minimum requirement in the file to a lower number, but we cannot guarantee that VaultWiki will upgrade smoothly.
      Reply Reply  
    6. March 22, 2014 7:06 AM
      DirtRider DirtRider is offline
      Junior Member
      I assume you mean vault/core/controller/cp/install/vw.php.

      And this is a mighty strange looking 2MB...

      Code:
      <?php
      /************************************************************************\
       *
       * VaultWiki
       * Version 4.0.0 Gamma 4
       * License #xxxxxxxxxx
       *
       * Copyright ©2008-2014 Cracked Egg Studios, LLC. All Rights Reserved.
       * This file may not be redistributed in whole or significant part.
       * 
       * VAULTWIKI IS NOT FREE SOFTWARE
       * [url]https://www.vaultwiki.org/[/url]
       * [url]https://www.vaultwiki.org/pages/Info:License-Agreement[/url]
       *
      \************************************************************************/
      
      require_once(vw_Hard_Core::get_dir() . '/controller/cp/progress/vw.php');
      
      class vw_CP_Install_Controller extends vw_CP_Progress_Controller
      {
      	public $version;
      
      	const MIN_PHP = '5.3.0';
      
      	const MIN_MYSQL = '4.1.2';
      
      	const MIN_PACKET = 33554432;
      
      .......
      Look closer to 32MB to me.

      The server is set to 16MB max_packet_size.
      Reply Reply  
    7. March 22, 2014 9:11 AM
      pegasus pegasus is offline
      VaultWiki Team
      The file changed in a newer build, but if your MIN_PACKET value is there, then that's the one you need to change. Just lower it so it's within your server range. I believe we lowered it to around 2000000 on newer builds.
      Reply Reply  
    8. March 22, 2014 10:39 AM
      DirtRider DirtRider is offline
      Junior Member
      Ok did that and started the upgrade at 9% it stopped with this error

      Updating data in table: vw_special
      Fatal error: Using $this when not in object context in /var/www/vhosts/triumphtalk.com/httpdocs/vault/core/controller/install/upgradepath/steps/4/0/0/gamma/4/C/xf.php on line 56
      Reply Reply  
    9. March 23, 2014 2:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      Sorry are you using build 003 or 004? According to same thread I linked above this is fixed in 004. It only occurred in 003 if your PHP version is less than 5.4.
      Reply Reply  
    10. March 23, 2014 11:17 PM
      DirtRider DirtRider is offline
      Junior Member
      I was now not sure so I downloaded it all again and now have these files.

      vaultwiki_4-0-0_Gamma_4
      vaultwiki_4-0-0_Gamma_4_patch_03-18-2014

      I uploaded the full version and then the patched version and now I get this error

      Reply Reply  
    11. March 24, 2014 1:13 AM
      pegasus pegasus is offline
      VaultWiki Team
      Something is not right there. It obviously contains listeners from other Addons our test site has installed. I will have a look in the morning. If you are familiar at all with listener XML, you can try removing anything with callback classes that don't have 'vw' in the name.
      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 1:43 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.