• 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
    • PHP Fatal Error with special_plugins_search.php

    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: PHP Fatal Error with special_plugins_search.php

    • Issue Tools
      • View Changes
    1. issueid=1484 April 26, 2010 2:07 PM
      iphoneclub iphoneclub is offline
      Junior Member
      PHP Fatal Error with special_plugins_search.php
      When an empty search result is reported VaultWiki bails with Error 500

      When an empty search result is reported (e.g. no new posts or non-existant search term) a PHP Fatal Error is written into the error_log (with the blank white screen of death). This is with VaultWiki 3.0.0 RC2 and vB 3.7.7. E.g. try searching for 'sms backup' (without quotes) at http://www.iphoneclub.nl/forum/search.php.

      Code:
      [Mon Apr 26 19:30:40 2010] [error] [client XXX.XXX.XXX.XXX] PHP Fatal error: Class 'vB_Template' not found in /var/www/vhosts/xxxxx/httpdocs/forum/vault/special_plugins_search.php on line 358, referer: http://www.iphoneclub.nl/forum/search.php
    Issue Details
    Issue Number 1484
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Searching
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 3.0.0 RC 2
    Fixed Version 3.0.0 RC 2
    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. April 26, 2010 3:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      In vault/special_plugins_search.php, find:
      Code:
      	if ($vbulletin->forumcache[$thread['forumid']]['vault_type'] == 0)
      Add before:
      Code:
      	if (!VAULT_40X_COMPAT)
      	{
      		return;
      	}
      Reply Reply  
    2. April 26, 2010 4:09 PM
      iphoneclub iphoneclub is offline
      Junior Member
      Thanks for the quick fix! Seems to work perfectly.
      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 11:36 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.