• 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
    • vb_section undefined 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: vb_section undefined error

    • Issue Tools
      • View Changes
    1. issueid=2011 October 1, 2010 10:22 AM
      ctrlbrk ctrlbrk is offline
      Junior Member
      vb_section undefined error

      vb 3.8.5
      vw 3.0.4

      After upgrading from 3.0.3 to 3.0.4, IE8 is throwing a "Done, but with errors on page". This appears when doing searches.

      Webpage error details

      User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; InfoPath.3; .NET4.0C; dreamdesktop 2.00.0054)
      Timestamp: Fri, 1 Oct 2010 14:17:37 UTC


      Message: 'vB_Section' is undefined
      Line: 3021
      Char: 2
      Code: 0
      URI: http://www.bigmiketrading.com/search...earchid=301535
      I checked, this code is in the vault_general_footer. I'm not showing any template changes, and I don't see anything wrong with the template itself.

      Please advise.

      Mike
    Issue Details
    Issue Number 2011
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Searching
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 3.0.4
    Fixed Version 3.0.5
    Milestone VaultWiki 3.0.5
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. October 20, 2010 12:33 AM
      pegasus pegasus is offline
      VaultWiki Team
      Not sure why this would appear when doing searches unless the results pass through the postbit factory.

      Either way, this is fixed for the next build. Part of a matching conditional was missing in the headinclude.
      Reply Reply  
    2. October 20, 2010 1:44 AM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Glad you reproduced and solved.

      Can I get a temp fix now please?

      Mike
      Reply Reply  
    3. October 20, 2010 4:47 AM
      pegasus pegasus is offline
      VaultWiki Team
      In vault_general_headinclude, find:
      Code:
      condition="$show['special_css']
      Replace first instance only with:
      Code:
      condition="$show['special_css'] OR $show['vault_sections']
      Reply Reply  
    4. October 20, 2010 6:16 AM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Quote Originally Posted by pegasus
      In vault_general_headinclude, find:
      Code:
      condition="$show['special_css']
      Replace first instance only with:
      Code:
      condition="$show['special_css'] OR $show['vault_sections']
      Hmm.

      This is the first instance:
      PHP Code:
      <if condition="$show['special_css'] OR ($show['vw-threadbits'] AND $show['ajax_js'])">
          <
      script type="text/javascript">
          <!--
          var 
      VAULT_40X_COMPAT = <if condition="VAULT_40X_COMPAT">true<else />false</if>;
          
      //-->
          
      </script>
      </if> 
      I added the OR $show['vault_sections'] so that it now looks like this:

      PHP Code:
      <if condition="$show['special_css'] OR $show['vault_sections'] OR ($show['vw-threadbits'] AND $show['ajax_js'])">
          <
      script type="text/javascript">
          <!--
          var 
      VAULT_40X_COMPAT = <if condition="VAULT_40X_COMPAT">true<else />false</if>;
          
      //-->
          
      </script>
      </if> 
      That was the only change I made. Unfortunately, the problem still exists (no change).

      Mike
      Reply Reply  
    5. October 20, 2010 12:02 PM
      pegasus pegasus is offline
      VaultWiki Team
      Sorry, in vBulletin 4 templates it is the first instance. In vBulletin 3, it is the second instance.
      Reply Reply  
    6. October 20, 2010 12:04 PM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Quote Originally Posted by pegasus
      Sorry, in vBulletin 4 templates it is the first instance. In vBulletin 3, it is the second instance.
      I tried that already as well, no change.

      Mike
      Reply Reply  
    7. October 20, 2010 3:27 PM
      pegasus pegasus is offline
      VaultWiki Team
      What kind of search do you need to perform in order to reproduce this? Please be specific what form you're using and which fields you are filling in.
      Reply Reply  
    8. October 20, 2010 3:40 PM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Quote Originally Posted by pegasus
      What kind of search do you need to perform in order to reproduce this? Please be specific what form you're using and which fields you are filling in.
      Any vb search. Go to my site, click Search on the navbar (vb search, not my insta-search on right), type anything, and you'll see the error in IE.

      The error exists on other pages as well. Like for instance click "Webinars" on navbar. That is just a misc.php=do custom template, nothing fancy, and the error is there. I've seen it other places too, just can't recall. Any custom template page its there, like my disclaimer at bottom of footer, etc.

      Mike
      Reply Reply  
    9. November 1, 2010 12:24 AM
      ctrlbrk ctrlbrk is offline
      Junior Member
      Update please...
      Reply Reply  
    10. November 1, 2010 4:45 AM
      pegasus pegasus is offline
      VaultWiki Team
      Update to 3.0.5 didn't solve it for you?
      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 12:35 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 © 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.