• 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
    • Archive Page Error

    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: Archive Page Error

    • Issue Tools
      • View Changes
    1. issueid=1266 March 14, 2010 4:49 AM
      Mokonzi Mokonzi is offline
      Senior Member
      Archive Page Error
      Archive Page Error

      Getting this error when the wiki is active on the archive.php page for the forums:

      Fatal error: Using $this when not in object context in /my/sites/public_html/archive/global.php(40) : eval()'d code on line 1
    Issue Details
    Issue Number 1266
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Forum Display
    Status Fixed
    Priority 1 - Security / Login / Data Loss
    Affected Version 3.0.0 Beta 6
    Fixed Version 3.0.0 Beta 6
    Milestone VaultWiki 3.0.0
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. March 14, 2010 12:42 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the current ZIP. In Plugins & Products > Plugin Manager, find the VaultWiki plugin for hook style_fetch, and click Edit. Find:
      Code:
      $codestyleid = $this->force_styleid;
      
      if (
      Replace with:
      Code:
      if (VB_AREA != 'Archive')
      {
      	$codestyleid = $this->force_styleid;
      }
      
      if (
      	$vault->misc['styleid'] AND
      Reply Reply  
    2. March 14, 2010 1:16 PM
      Mokonzi Mokonzi is offline
      Senior Member
      That's fixed it. Thanks pegasus.
      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 2:16 PM.
    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.