• 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 3.x Series
    • Bug
    • Fatal Error Search for Wiki Pages

    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: Fatal Error Search for Wiki Pages

    • Issue Tools
      • View Comments
    1. issueid=1937 August 19, 2010 5:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fatal Error Search for Wiki Pages

      When searching for wiki pages in vBulletin 4, I receive a fatal error.

      Fixed in the current ZIP. In packages/vaultwiki/search/type/vaultarticle.php, find:
      Code:
      		$vault->unserialize('vault_namespaces');
      		$criteria->add_filter('gotoarticle', vB_Search_Core::OP_EQ, $this->gotoarticle);
      
      		foreach ($vbulletin->options['vault_namespaces'] AS $namespaceid => $info)
      		{
      			if ($namespaceid == SPECIAL_SPACE)
      			{
      				continue;
      			}
      
      			$vbulletin->GPC['namespace']["$namespaceid"] = 1;
      		}
      
      		if ($subforums OR empty($registry->GPC['forumchoice']))
      		{
      			require_once(DIR . '/vault/plugins/search.php');
      			special_search_forumchoice();
      			$allforums = array_values($vbulletin->GPC['forumchoice']);
      		}
      
      		if (!isset($_POST['forumchoice']))
      		{
      			// used simple wiki search form
      			special_search_goto_article();
      Replace with:
      Code:
      		$criteria->add_filter('gotoarticle', vB_Search_Core::OP_EQ, $this->gotoarticle);
      
      		if ($subforums OR empty($registry->GPC['forumchoice']))
      		{
      			require_once(DIR . '/vault/functions/data.php');
      			$allforums = array_values(special_fetch_wiki_forumids());
      		}
      
      		if (!isset($_POST['forumchoice']))
      		{
      			// used simple wiki search form
      			require_once(DIR . '/vault/plugins/search.php');
      			special_search_goto_article();
    Issue Details
    Issue Number 1937
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Searching
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.3
    Fixed Version 3.0.4
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 26, 2011 9:52 PM
      Issue Changed by Claw Snuff
      • Software Dependency changed from 0 to 2
    + 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 10:16 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.