• 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
    • Delete tab 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: Delete tab not working

    • Issue Tools
      • View Changes
    1. issueid=189 August 13, 2008 6:17 AM
      vimto vimto is offline
      Regular Member
      Delete tab not working
      When trying to delete an article with the delete tab, the page never reloads.

      When I try to delete an article in my wiki forum with the delete tab, the page says:

      Loading Selected Tab - Please Wait.

      This never loads and the article is never deleted. If I attempt deleting through the Edit tab it works fine.

      The Move tab has the same response:

      Loading Selected Tab - Please Wait.

      The other tabs seem to be working fine so far.
    Issue Details
    Issue Number 189
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Inline Moderation
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 2.0.1
    Fixed Version 2.0.2
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. August 13, 2008 6:32 AM
      vimto vimto is offline
      Regular Member
      Just been messing with my test page and attempted to leave a comment on it, the comment saved but left me with this message:
      Code:
      Warning: Invalid argument supplied for foreach() in [path]/vault/tabs/special_tab_discussion.php(419) : eval()'d code on line 1
      Reply Reply  
    2. August 13, 2008 8:10 PM
      pegasus pegasus is offline
      VaultWiki Team
      For the delete tab issue, in vault/tabs/special_tab_inlinemod.php, find:
      PHP Code:
      $wiki_info['sitename'] = htmlspecialchars_uni($wiki_info['vault_displayname'] ? $wiki_info['vault_displayname'] : wiki_info['title_clean']); 
      Replace with:
      PHP Code:
      $wiki_info['sitename'] = htmlspecialchars_uni($wiki_info['vault_displayname'] ? $wiki_info['vault_displayname'] : $wiki_info['title_clean']); 
      As for the second post, this is a problem with your plugin settings. Line 419 is hook showthread_postbit_create. It's likely you don't have legacy hook showthread_query enabled, but it's hard to say if that is even an issue because it depends on how the plugin you're using is written.
      Reply Reply  
    3. August 14, 2008 3:40 AM
      vimto vimto is offline
      Regular Member
      yep, that fixed it thanks.

      As for the 2nd posting.....I haven't disabled anything since the last version I uploaded, so not sure why that's happening?
      Reply Reply  
    4. August 14, 2008 4:59 AM
      vimto vimto is offline
      Regular Member
      yep, that fixed it thanks.

      As for the 2nd posting.....I haven't disabled anything since the last version I uploaded, so not sure why that's happening?
      Reply Reply  
    5. August 14, 2008 11:40 AM
      pegasus pegasus is offline
      VaultWiki Team
      2.0.0 introduced a more advanced legacy hook system. You should probably look at your options again.
      Reply Reply  
    6. August 14, 2008 6:30 PM
      vimto vimto is offline
      Regular Member
      Quote Originally Posted by pegasus
      2.0.0 introduced a more advanced legacy hook system. You should probably look at your options again.
      I wouldn't know where to begin, I've no experience regarding the hook system or have any idea on what could be inteferring with it.
      Reply Reply  
    7. August 14, 2008 7:12 PM
      pegasus pegasus is offline
      VaultWiki Team
      I would try enabling legacy hook showthread_query to start.
      Reply Reply  
    8. August 15, 2008 4:18 AM
      vimto vimto is offline
      Regular Member
      I enabled showthread_query in the CES VaultWiki options yet the error still appears when commenting on an article. I get the following error for every comment that has been posted:
      Code:
      Warning: Invalid argument supplied for foreach() in [path]/vault/tabs/special_tab_discussion.php(419) : eval()'d code on line 1
      If i have 5 comments on an article, i'll get that message 5 times at the top of the screen when I make a new comment. It wont let me use the Discussion tab to make a comment if there is a comment already, i have to use the link at the bottom of the article in the footer.

      Edit: just rechecked admin settings and showthread_query was unticked.....tried ticking again, didn't save.....seems to be a problem there. Every time the page reloads the boxes are unticked.......
      Reply Reply  
    9. August 15, 2008 10:25 AM
      pegasus pegasus is offline
      VaultWiki Team
      This is now fixed on your install. For others with the legacy hooks not saving, see: http://www.crackedeggstudios.com/pro...hp?issueid=193
      Reply Reply  
    10. August 15, 2008 6:40 PM
      vimto vimto is offline
      Regular Member
      Many thanks for fixing this.

      I just tested it out and it works great. thanks again
      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:54 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.