• 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
    • Wiki Active setting is not remembered

    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: Wiki Active setting is not remembered

    • Issue Tools
      • View Changes
    1. issueid=5131 July 8, 2017 8:04 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Wiki Active setting is not remembered

      The wiki active setting is always unticked so if I change any setting without tickiing the wiki active checkbox then the wiki is disabled again.
    Issue Details
    Issue Number 5131
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.0.18
    Fixed Version (none)
    Milestone (none)
    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 8, 2017 8:08 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Correction: it is remembered. But even when its ticked the wiki is still getting disabled.
      Reply Reply  
    2. July 10, 2017 10:16 AM
      pegasus pegasus is offline
      VaultWiki Team
      The wiki gets disabled if you change any setting that will change page URLs. When the deferred task that rebuilds the URLs is completed, the wiki is automatically re-enabled if it was enabled before.

      If you change a setting on the same page while this is happening, and you leave it unticked, then the deferred task will be notified that the new desired state is disabled, and that it should not automatically re-enable.
      Reply Reply  
    3. August 28, 2017 11:30 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Please add this information to the page. its extremely confusing when this happens.
      Better yet: show a notice when this is triggered.
      Reply Reply  
    4. August 28, 2017 2:01 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I dont know but I cant get the wiki activated. Maybe I need to wait longer than an hour. But it does not seem to be working.
      Reply Reply  
    5. August 28, 2017 3:16 PM
      pegasus pegasus is offline
      VaultWiki Team
      Your other issue (https://www.vaultwiki.org/issues/5204/) had caused the deferred task responsible for rebuilding settings to enter a failed state. I reactivated the task manually and it completed.
      Reply Reply  
    6. August 28, 2017 9:09 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      How did you do that? I ask because I expected this to be the case and tried to set the state by saving the options page again.
      Reply Reply  
    7. August 29, 2017 10:30 AM
      pegasus pegasus is offline
      VaultWiki Team
      Saving the options again will not reset the state; it will only update the list of options that need to be rebuilt by the settings rebuild task.

      It can be manually reset with a MySQL query:
      Code:
      UPDATE vw_defer
      SET hold = 0
      WHERE hold > 0
      We set a failed state on a given task-type (here, "settings") when a rebuild request set a unique lock over 60 seconds ago. If the lock has not been released yet, we assume that either the PHP timeout was reached or an error occurred. We assume that running the same task again will result in the same errors, so it is placed "on hold"; if we did not assume this, a denial of service condition would be started, infinitely retrying deferred.php (see: VWE-2014-0383). Normally, developer attention is required to resolve the underlying issue that triggered the error, so failed states are reset by running the upgrade script (in case the bug fix was part of the upgrade).

      When a notice is added to this setting, it would be useful to state whether the rebuild has failed, to provide information about how to look into it, and to provide an easy way to try again.
      Reply Reply  
    8. September 13, 2017 7:12 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I'm sorry but I am not following. If I do not change anything on the setting page, but only set the wiki to active, then how long will it approximately take before the wiki is turned on?
      Reply Reply  
    9. September 13, 2017 7:30 PM
      pegasus pegasus is offline
      VaultWiki Team
      As I have just discovered, this setting is broken in Patch Level releases due to a failure to properly calculate whether an upgrade is pending (because of the "Patch Level" version name). I have (in the last 5 minutes) updated the current patches with the hotfix. Once the hotfix is applied, it should be possible to reactivate this setting under patch level releases.
      Reply Reply  
    10. September 13, 2017 9:28 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      I have applied the patch. It was active after that. After disabling the wiki, it seems I cannot re-enable it again. Does it need an amount of time to go back on?
      I did not change any settings.
      Reply Reply  
    11. September 14, 2017 8:57 AM
      pegasus pegasus is offline
      VaultWiki Team
      It looks like your wiki is back on again, so I figure you had another deferred task in the queue that completed after your post.

      I have noticed that "Load Font-Awesome Files from Remote Third-Party" always triggers the deferred rebuild even when it was unchecked before and remains unchecked. I have fixed this issue for the next release.

      I have also changed it so that any hold placed on the task is automatically removed when saving settings again. If anything this should throw more errors in the log so that the admin will know why the task is failing.
      Reply Reply  
    12. September 14, 2017 9:29 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Thanks!
      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 3:35 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.