• 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
    • Xenforo admin search not working

    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: Xenforo admin search not working

    • Issue Tools
      • View Changes
    1. issueid=4516 January 8, 2016 9:37 AM
      millesd millesd is offline
      New Member
      Xenforo admin search not working
      When using the xenforo admin search, this error is logged - Fatal Error: Class 'vw_DB' not found

      We have recently unintalled VaultWiki (4.x) and it seems that the xenforo admin search is broken with the following error:

      Code:
      ErrorException: Fatal Error: Class 'vw_DB' not found - library/vw/XenForo/AdminSearchHandler/Area.php:31
      Generated By: Mark Blue, 6 minutes ago
      Stack Trace
      #0 [internal function]: XenForo_Application::handleFatalError()
      #1 {main}
      Request State
      array(3) {
        ["url"] => string(49) "http://*/community/admin.php?search/"
        ["_GET"] => array(1) {
          ["search/"] => string(0) ""
        }
        ["_POST"] => array(5) {
          ["q"] => string(5) "admin"
          ["_xfToken"] => string(8) "********"
          ["_xfRequestUri"] => string(38) "/community/admin.php?logs/server-error"
          ["_xfNoRedirect"] => string(1) "1"
          ["_xfResponseType"] => string(4) "json"
        }
      }
      How would we go about fixing this error?
    Issue Details
    Issue Number 4516
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Duplicate
    Priority 3 - Loss of Functionality
    Affected Version 4.0.1
    Fixed Version (none)
    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. January 8, 2016 10:47 AM
      pegasus pegasus is offline
      VaultWiki Team
      Unfortunately, this is probably due to a known flaw in XenForo's add-on system. If an error occurs during the add-on uninstall, it still removes the add-on from the list so you can't try to remove it again later. I have reported it to the XenForo devs in the past.

      If you can't reinstall VaultWiki and attempt to uninstall again using the newest version, then you will have to manually remove all references to VaultWiki from your database.

      Remove all tables that start with "vw_"

      Then run the following queries. Run each one individually, because if one of them was completed already then it will fail. I skipped lines between each one:
      Code:
      ALTER TABLE xf_forum DROP COLUMN vw_options;
      
      DELETE FROM xf_bb_code WHERE vw_varname LIKE 'vwp\_*';
      
      ALTER TABLE xf_bb_code DROP COLUMN vw_options;
      
      ALTER TABLE xf_bb_code DROP COLUMN vw_extra;
      
      ALTER TABLE xf_bb_code DROP COLUMN vw_varname;
      Then run the following queries. Again run each one individually:
      Code:
      DELETE FROM xf_content_type WHERE addon_id = 'vaultwiki';
      
      DELETE FROM xf_content_type_field WHERE content_type IN ('vwpage', 'vwcomment');
      
      DELETE FROM xf_admin_search_type WHERE search_type IN ('vwArea', 'vwBlock', 'vwLanguage', 'vwPrefix', 'vwTopic');
      
      DELETE FROM xf_data_registry WHERE data_key LIKE 'vw\_%';
      
      DELETE FROM xf_liked_content WHERE content_type IN ('vwpage', 'vwcomment', 'vwrevision');
      
      DELETE FROM xf_news_feed WHERE content_type IN ('vwpage', 'vwcomment');
      
      DELETE FROM xf_search_index WHERE content_type IN ('vwpage', 'vwcomment');
      
      UPDATE xf_attachment SET content_id = 0, unassociated = 1 WHERE content_type = 'vwcomment';
      After that, you will need to trigger the related caches to rebuild themselves. Choose any other add-on you have installed, disable it, then re-enable it.

      It might also help to remove the VaultWiki files from your server: https://www.vaultwiki.org/pages/Help...ltWiki#XenForo
      Reply Reply
    2. February 3, 2016 11:07 AM
      pegasus pegasus is offline
      VaultWiki Team
      I have looked into this, and it looks like you were using 4.0.1 (which you did not mention in the OP), even though that version was almost a year old at the time of your report. This bug was fixed in 4.0.6 build 004 several months ago. Marking this as a Duplicate.
      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 11:13 PM.
    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.