• 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
    • VaultWiki Beta 3 shows Error vw_wiki_disabled_error when browsing to wikiindex

    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: VaultWiki Beta 3 shows Error vw_wiki_disabled_error when browsing to wikiindex

    • Issue Tools
      • View Changes
    1. issueid=3208 July 17, 2013 12:34 AM
      rizwank rizwank is offline
      New Member
      VaultWiki Beta 3 shows Error vw_wiki_disabled_error when browsing to wikiindex

      VW Beta 3 installed flawlessly (YIPPIE!) on XF 1.1.5

      browsing to wiki_index.php returns

      Error
      vw_wiki_disabled_error
    Issue Details
    Issue Number 3208
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 Beta 3
    Fixed Version 4.0.0 Beta 3
    Milestone VaultWiki 4 Beta X
    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. July 17, 2013 10:21 AM
      pegasus pegasus is offline
      VaultWiki Team
      It seems that in XF < 1.2 there is no persistent cache that says whether an addon is disabled or not, or that the cache has a different name from 1.2.
      Reply Reply  
    2. July 17, 2013 10:29 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/core/controller/request/xf.php, find:
      Code:
      			$addons = vw_Hard_Core::model('Datastore')->get('addons');
      			$enabled = !empty($addons['vaultwiki']);
      Replace with:
      Code:
      			if (vw_Compat::is('1.2.0 Beta 1'))
      			{
      				$addons = vw_Hard_Core::model('Datastore')->get('addons');
      				$enabled = !empty($addons['vaultwiki']);
      			}
      			else
      			{
      				$routes = vw_Hard_Core::model('Datastore')->get('routesPublic');
      				$enabled = !empty($routes['vw']);
      			}
      Reply Reply  
    3. July 17, 2013 10:32 AM
      pegasus pegasus is offline
      VaultWiki Team
      Changes merged to build 1 (current in build 2).
      Reply Reply  
    4. July 17, 2013 12:29 PM
      rizwank rizwank is offline
      New Member
      Thanks!
      Reply Reply  
    5. July 29, 2013 12:49 PM
      rizwank rizwank is offline
      New Member
      did this regress in beta 3 build 3?

      vw_wiki_disabled_error on going to wiki index.
      Reply Reply  
    6. July 29, 2013 1:43 PM
      rizwank rizwank is offline
      New Member
      Quote Originally Posted by pegasus
      In vault/core/controller/request/xf.php, find:
      Code:
      			$addons = vw_Hard_Core::model('Datastore')->get('addons');
      			$enabled = !empty($addons['vaultwiki']);
      Replace with:
      Code:
      			if (vw_Compat::is('1.2.0 Beta 1'))
      			{
      				$addons = vw_Hard_Core::model('Datastore')->get('addons');
      				$enabled = !empty($addons['vaultwiki']);
      			}
      			else
      			{
      				$routes = vw_Hard_Core::model('Datastore')->get('routesPublic');
      				$enabled = !empty($routes['vw']);
      			}
      Reverting the above change with RC2 fixed it!
      Reply Reply  
    7. August 14, 2013 3:30 PM
      therock67 therock67 is offline
      Junior Member
      I'm getting the above error (vw_wiki_disabled_error) with XF 1.2 and Beta 4 of Vaultwiki. Any ideas Pegasus?
      Reply Reply  
    8. August 18, 2013 9:38 AM
      pegasus pegasus is offline
      VaultWiki Team
      I've added a free service to your Members area. Please fill it out and I'll have a look as soon as I can.
      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 9:46 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.