• 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
    • Can't approve an edit for wiki content

    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: Can't approve an edit for wiki content

    • Issue Tools
      • View Changes
    1. issueid=6131 December 2, 2020 12:04 PM
      mazzly mazzly is offline
      Junior Member
      Can't approve an edit for wiki content

      A user has made an edit to a wiki content and it shows up in the Approval queue.

      Try to perform any task (approve/deny/nothing) nothing happens, some message flashes and page reloads with same pending approval still there..

      Opening the "compare revision"-page I can then choose from the tools button -> approve, which sends me to another page with the text: "Are you sure you want to approve the 1 selected items?"

      Clicking yes it gives the error:
      "Oops! We ran into some problems. Please try again later. More error details may be in the browser console."
      or
      "Another user is performing a similar action at the moment. Please try again in a few seconds."

      Nothing shows up in the error log..

      A bit bad that we cannot approve edits by a user..
    Issue Details
    Issue Number 6131
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Moderator Tools
    Status Fixed
    Priority 3 - Loss of Functionality
    Affected Version 4.1.1
    Fixed Version 4.1.1
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 2, 2020 5:41 PM
      pegasus pegasus is offline
      VaultWiki Team
      When approving an edit, this is behavior I see:
      1. A message flashes very quickly "Oops! We ran into some problems. Please try again later."
      2. The page reloads.
      3. The pending approval is no longer there. If I visit the page, I see that the edit was approved.


      I will look into the erroneous message flashing, but as my edit is successfully approved, I cannot reproduce the worst part of your issue.
      If you are still experiencing this issue, I recommend opening a ticket here: https://www.vaultwiki.org/members/?do=tickets
      Please add my user "vaultwiki" as a wiki moderator so I can see the approval queue.
      Reply Reply  
    2. December 3, 2020 12:28 PM
      mazzly mazzly is offline
      Junior Member
      Tried again now and see this in JS console:

      <strong>Fatal Error</strong>: attempted to instantiate non-existent class <i>vw_OptList_Model</i><br/>
      <i>[vw-core]/model/optlist/vw.php</i> does not exist or does not contain the specified class.<br/>
      <br/>
      #0: vw_Hard_Core::fetch_object() in [vw-platform]/src/addons/vw/vw/_hard/core.php at line 766<br/>
      #1: vw_Hard_Core::model() in [vw-core]/controller/dm/page/vw.php at line 850<br/>
      #2: vw_DM_Page_Controller-&gt;process_revision() in [vw-core]/controller/dm/page/vw.php at line 811<br/>
      #3: vw_DM_Page_Controller-&gt;pre_save() in [vw-platform]/src/addons/vw/vw/XF/Entity/EntityBase.php at line 485<br/>
      #4: vw\vw\XF\Entity\EntityBase-&gt;_preSave() in [vw-platform]/src/XF/Mvc/Entity/Entity.php at line 1355<br/>
      #5: XF\Mvc\Entity\Entity-&gt;preSave() in [vw-platform]/src/addons/vw/vw/XF/Entity/EntityBase.php at line 476<br/>
      #6: vw\vw\XF\Entity\EntityBase-&gt;vwPreSave() in [vw-platform]/src/addons/vw/vw/XF/Entity/EntityBase.php at line 531<br/>
      #7: vw\vw\XF\Entity\EntityBase-&gt;vwSave() in [vw-core]/controller/dm/xf2.php at line 382<br/>
      #8: vw_DM_Controller_XF2-&gt;save() in [vw-core]/controller/dm/revision/vw.php at line 683<br/>
      #9: vw_DM_Revision_Controller-&gt;post_save_each() in [vw-platform]/src/addons/vw/vw/XF/Entity/EntityBase.php at line 628<br/>
      #10: vw\vw\XF\Entity\EntityBase-&gt;_postSave() in [vw-platform]/src/XF/Mvc/Entity/Entity.php at line 1266<br/>
      #11: XF\Mvc\Entity\Entity-&gt;save() in [vw-platform]/src/addons/vw/vw/XF/Entity/EntityBase.php at line 551<br/>
      #12: vw\vw\XF\Entity\EntityBase-&gt;vwSave() in [vw-core]/controller/dm/xf2.php at line 382<br/>
      #13: vw_DM_Controller_XF2-&gt;save() in [vw-core]/controller/ui/imod/action/approve/vw.php at line 217<br/>
      #14: vw_UI_iMod_Action_Approve_Controller-&gt;process_approve_generic() in [vw-core]/controller/ui/imod/action/approve/vw.php at line 164<br/>
      #15: vw_UI_iMod_Action_Approve_Controller-&gt;perform_doapprove() in [vw-core]/controller/ui/imod/action/base/vw.php at line 106<br/>
      #16: vw_UI_iMod_Action_base_Controller-&gt;process() in [vw-platform]/src/addons/vw/vw/Handler/InlineMod/Base/AbstractAction.php at line 183<br/>
      #17: vw\vw\Handler\InlineMod\Base\AbstractAction-&gt;applyToEntity() in [vw-platform]/src/XF/InlineMod/AbstractAction.php at line 87<br/>
      #18: XF\InlineMod\AbstractAction-&gt;applyInternal() in [vw-platform]/src/XF/InlineMod/AbstractAction.php at line 80<br/>
      #19: XF\InlineMod\AbstractAction-&gt;apply() in [vw-platform]/src/XF/Pub/Controller/InlineMod.php at line 131<br/>
      #20: XF\Pub\Controller\InlineMod-&gt;actionPerform() in [vw-platform]/src/addons/vw/vw/XF/Pub/Controller/InlineMod.php at line 41<br/>
      #21: vw\vw\XF\Pub\Controller\InlineMod-&gt;actionPerform() in [vw-platform]/src/XF/Mvc/Dispatcher.php at line 350<br/>
      #22: XF\Mvc\Dispatcher-&gt;dispatchClass() in [vw-platform]/src/XF/Mvc/Dispatcher.php at line 257<br/>
      #23: XF\Mvc\Dispatcher-&gt;dispatchFromMatch() in [vw-platform]/src/XF/Mvc/Dispatcher.php at line 113<br/>
      #24: XF\Mvc\Dispatcher-&gt;dispatchLoop() in [vw-platform]/src/XF/Mvc/Dispatcher.php at line 55<br/>
      #25: XF\Mvc\Dispatcher-&gt;run() in [vw-platform]/src/XF/App.php at line 2300<br/>
      #26: XF\App-&gt;run() in [vw-platform]/src/XF.php at line 465<br/>
      #27: XF::runApp() in [vw-platform]/index.php at line 20<br/>
      <br/>
      Please forward this error to VaultWiki technical support at <a href="https://www.vaultwiki.org/support/4X/">https://www.vaultwiki.org/support/4X/</a> or email <a href="mailto:support@vaultwiki.org">support@vaultwiki.org </a>
      Reply Reply  
    3. December 3, 2020 1:13 PM
      pegasus pegasus is offline
      VaultWiki Team
      It seems like portions of a 4.2.x file were inadvertently merged with the 4.1.1 package. In src/addons/vw/vw/_core/controller/dm/page/vw.php, find:
      Code:
      $gzipped = ($revision['flags'] & vw_Hard_Core::model('OptList')->bit('revision_flags', 'gzip'));
      Replace with:
      Code:
      $gzipped = ($revision['flags'] & vw_Hard_Core::model('Bitfield')->get_bit('misc', 'vw_revision_flags', 'gzip'));
      A new build of the package has been issued to include this change.
      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 7:41 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.