• 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
    • Rebuilding Search index doesn't work after VW uninstalled

    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: Rebuilding Search index doesn't work after VW uninstalled

    • Issue Tools
      • View Changes
    1. issueid=3159 July 5, 2013 6:48 PM
      rizwank rizwank is offline
      New Member
      Rebuilding Search index doesn't work after VW uninstalled

      Code:
      Fatal error: Class 'vw_Hard_Core' not found in /home/farearch/site/library/vw/XenForo/Search/DataHandler/Base.php on line 57
      when rebuilding search index.

      Doesn't work if VW is uninstalled; at least on my DB.
      This is what it sticks me with
      http://xenforo.com/community/threads...7/#post-578094
    Issue Details
    Issue Number 3159
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Install / Upgrade
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 4.0.0 Beta 2
    Fixed Version 4.0.0 Beta 3
    Milestone VaultWiki 4 Beta X
    Software DependencyAny
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 5, 2013 8:05 PM
      pegasus pegasus is offline
      VaultWiki Team
      Did you get an error during the uninstall for VaultWiki? The way it's written the entries that tell XenForo to save VaultWiki content in the search index should already be removed by the uninstall.
      Reply Reply  
    2. July 5, 2013 8:57 PM
      rizwank rizwank is offline
      New Member
      Well, there were some failed installs from previous bugs. But no, I don't have any errors when I uninstall.
      Reply Reply  
    3. July 5, 2013 8:59 PM
      pegasus pegasus is offline
      VaultWiki Team
      I will do some test install+uninstalls tonight and see if any data is left behind.
      Reply Reply  
    4. July 5, 2013 9:02 PM
      rizwank rizwank is offline
      New Member
      Thanks. Remember that I had a lot of installs fail at step 7...

      per here : http://xenforo.com/community/threads...7/#post-578094

      Where do you register search handlers in the DB? I'd love to just delete it so I can start using search again. ;p
      Reply Reply  
    5. July 5, 2013 9:04 PM
      pegasus pegasus is offline
      VaultWiki Team
      table xf_content_type_field would have entries for content types 'vwpage' and 'vwcomment'
      The content type cache would also need to be rebuild after modifying the table by disabling and re-enabling a different addon.
      Reply Reply  
    6. July 5, 2013 9:10 PM
      rizwank rizwank is offline
      New Member
      yes, after an uninstall, xf_content_type_field still contains :
      Code:
      mysql> select * from xf_content_type_field where content_type like 'vw%';
      +--------------+--------------------------+-----------------------------------------+
      | content_type | field_name               | field_value                             |
      +--------------+--------------------------+-----------------------------------------+
      | vwcomment    | alert_handler_class      | vw_XenForo_AlertHandler_vwComment       |
      | vwcomment    | attachment_handler_class | vw_XenForo_AttachmentHandler_vwComment  |
      | vwcomment    | like_handler_class       | vw_XenForo_LikeHandler_vwComment        |
      | vwcomment    | news_feed_handler_class  | vw_XenForo_NewsFeedHandler_vwComment    |
      | vwcomment    | search_handler_class     | vw_XenForo_Search_DataHandler_vwComment |
      | vwcomment    | vw_contenttype_id        | 14                                      |
      | vwpage       | alert_handler_class      | vw_XenForo_AlertHandler_vwPage          |
      | vwpage       | like_handler_class       | vw_XenForo_LikeHandler_vwPage           |
      | vwpage       | news_feed_handler_class  | vw_XenForo_NewsFeedHandler_vwPage       |
      | vwpage       | search_handler_class     | vw_XenForo_Search_DataHandler_vwPage    |
      | vwpage       | vw_contenttype_id        | 15                                      |
      +--------------+--------------------------+-----------------------------------------+
      Code:
      delete from xf_content_type_field where content_type='vwcomment';
      delete from xf_content_type_field where content_type='vwpage';
      fixed it all.

      BTW, are you still making significant changes that require uninstall/reinstall to test; or do you think I can install once and just keep it now? I'd really like to start training users on pieces of it and I'd rather not lose content. =)
      Reply Reply  
    7. July 6, 2013 1:19 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. The uninstaller was trolling the Alter directory instead of the Insert directory when it was compiling the list of inserts to remove.

      You can install once and keep it. Should you run into major issues, you should be able to just disable VaultWiki until a fix is found.
      Reply Reply  
    8. July 6, 2013 4:53 PM
      rizwank rizwank is offline
      New Member
      Thanks. Is there a recent repackage that I should use, or is Beta 2 the best way to go at this point.
      Reply Reply  
    9. July 6, 2013 7:00 PM
      pegasus pegasus is offline
      VaultWiki Team
      Beta 2 is the best way to go at this point. It will likely be at least a week until Beta 3.
      Reply Reply  
    10. July 13, 2013 3:12 AM
      rizwank rizwank is offline
      New Member
      This issue also exists if VW is disabled in the ACP
      Reply Reply  
    11. July 13, 2013 11:31 AM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed search index errors when VaultWiki is disabled. Also fixed errors if the following takes place:
      1. User visits wiki search tab/is on wiki page
      2. Admin disables VaultWiki
      3. User submits search
      4. vw_Hard_Core not found
      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:52 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.