• 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
    • Server Errors

    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: Server Errors

    • Issue Tools
      • View Changes
    1. issueid=4101 December 13, 2014 6:17 AM
      Robust Robust is offline
      New Member
      Server Errors

    Issue Details
    Issue Number 4101
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category General
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.0 RC 5
    Fixed Version 4.0.0
    Milestone VaultWiki 4.0 Gold
    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. December 13, 2014 10:09 AM
      pegasus pegasus is offline
      VaultWiki Team
      For "Undefined offset: 5", this might be possible if it was an upgrade from VW4 RC 4. It looks like the upgrade script did not create the offsets that the code expects. In vault/core/model/block/vw.php, find:
      Code:
      if ($blockperms[$block['blockid']] & vw_Hard_Core::model('Bitfield')->get_bit('ugp', 'vw_block_permissions', 'canview'))
      Replace with:
      Code:
      if (isset($blockperms[$block['blockid']]) AND ($blockperms[$block['blockid']] & vw_Hard_Core::model('Bitfield')->get_bit('ugp', 'vw_block_permissions', 'canview')))
      This will add support for RC 4 formatted offsets.

      For "Undefined index: protect", would you be able to provide the stack trace for this error? The index named protect should always be available unless a record has been damaged, or there is a race condition when creating/installing, or there was a failed upgrade attempt from the Lite version. You can access the stack trace by clicking on that message in the log you quoted.
      Reply Reply  
    2. December 15, 2014 2:49 PM
      Robust Robust is offline
      New Member
      Stacktrace below. By the way, the install for VaultWiki froze, so I clicked Manual Install and done it manually. Could be the issue. How can I reinstall?
      Code:
      Error Info
      ErrorException: Undefined index: protect - vault/core/model/ui/tab/area/vw.php:136
      Generated By: Robust, Today at 5:17 PM
      Stack Trace
      #0 /var/www/gamingforums/vault/core/model/ui/tab/area/vw.php(136): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/gaming...', 136, Array)
      #1 /var/www/gamingforums/vault/core/model/ui/tab/vw.php(58): vw_UI_Tab_Area_Model->protected_against_me(Array, Array)
      #2 /var/www/gamingforums/vault/core/model/ui/tab/area/vw.php(87): vw_UI_Tab_Model->check('protected_again...', Array, Array)
      #3 /var/www/gamingforums/vault/core/model/ui/tab/vw.php(58): vw_UI_Tab_Area_Model->can_edit_tab(Array, Array)
      #4 /var/www/gamingforums/vault/core/view/ui/stack/vw.php(342): vw_UI_Tab_Model->check('can_edit_tab', Array)
      #5 /var/www/gamingforums/vault/core/view/ui/stack/vw.php(69): vw_UI_Stack_View->title_block(Array, Array)
      #6 /var/www/gamingforums/vault/core/view/ui/stack/vw.php(30): vw_UI_Stack_View->body(Object(vw_UI_Stack_Controller))
      #7 /var/www/gamingforums/vault/core/controller/ui/stack/vw.php(198): vw_UI_Stack_View->wrap(Object(vw_UI_Stack_Controller))
      #8 /var/www/gamingforums/library/vw/XenForo/ControllerPublic/Wiki.php(68): vw_UI_Stack_Controller->execute()
      #9 /var/www/gamingforums/library/XenForo/FrontController.php(347): vw_XenForo_ControllerPublic_Wiki->actionIndex()
      #10 /var/www/gamingforums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
      #11 /var/www/gamingforums/index.php(13): XenForo_FrontController->run()
      #12 {main}
      Request State
      array(3) {
        ["url"] => string(39) "https://www.gamingforums.net/wiki/Games"
        ["_GET"] => array(1) {
          ["/wiki/Games"] => string(0) ""
        }
        ["_POST"] => array(0) {
        }
      }
      Reply Reply  
    3. December 16, 2014 9:34 AM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs in XenForo when visiting any page that is protected. In vault/core/view/ui/stack/vw.php, find:
      Code:
      $fake = array(
      After it, add:
      Code:
      'protect' => 0,
      Reply Reply  
    4. December 21, 2014 12:10 PM
      Robust Robust is offline
      New Member
      By the way, the install for VaultWiki froze, so I clicked Manual Install and done it manually. I have no content atm and I'd like to do a fresh install if you think these issues could be due to it. I ran into two errors but continued (refreshed page and reran the installer). No database damage but this is probably why I have the errors? How can I uninstall completely and reinstall VaultWiki if so?
      Reply Reply  
    5. December 21, 2014 7:29 PM
      pegasus pegasus is offline
      VaultWiki Team
      I don't think that the errors you reported had anything to do with issues with the install process, except that maybe the install process didn't set some intended defaults. This would only cause the inconvenience that you need to set some values yourself, and it would occasionally create a debug message in your logs.

      I cannot know if an error had any truly problematic effects without knowing what the error messages were that you saw during installation. At this time, based only on the errors you reported, I don't think you need to re-install.

      In any case, these are the steps for re-install:
      1. You should be able to uninstall completely using the standard XenForo process for uninstalling add-ons.
      2. If a separate add-on called VaultWiki Routes exists, remove that too.
      3. After that, simply start the install process over again by re-installing the stub XML, etc.
      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:30 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.