• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
      • Try XenForo Demo
      • New Posts
      • FAQ
      • Calendar
      • Community
        • Groups
        • Albums
        • Member List
      • Forum Actions
        • Mark Forums Read
      • Quick Links
        • Today's Posts
        • Who's Online
      • Sponsor
        • Sponsor a Feature
        • List of Donors
    • Wiki
    • Support
    • What's New?
    • Buy Now
    • Manual
    • 
    • Forum
    • VaultWiki How-Tos
    • VaultWiki Questions
    • Fatal error when posting an article...

    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.

    Results 1 to 2 of 2

    Thread: Fatal error when posting an article...

    • Thread Tools
      • Show Printable Version
    1. September 5, 2009 #1
      Jaxel
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • View Articles
      Jaxel is offline
      Junior Member
      Join Date
      September 5, 2009
      Posts
      33
      Rep Power
      179

      Fatal error when posting an article...

      I keep getting the following error when I post an article...

      Code:
      Fatal error: Cannot redeclare handle_bbcode_video() (previously declared in /home/eightway/public_html/includes/class_bbcode.php(2463) : eval()'d code:24) in /home/eightway/public_html/vault/special_class_bbcode.php(2961) : eval()'d code on line 53
      This error only shows up on wiki forums. If I disable ALL plugin based BB codes (lots of mods use these), then I can start posting/editing articles. For some reason Vault Wiki is polling the "bbcode_fetch_tags" plugin more than once... this is a bug that I'm amazed hasn't been discovered yet.
      Last edited by Jaxel; September 5, 2009 at 7:10 PM.
      Reply With Quote Reply With Quote

    2. September 6, 2009 #2
      pegasus
      • View Profile
      • View Forum Posts
      • View Blog Entries
      • Visit Homepage
      • View Articles
      pegasus is offline
      VaultWiki Team
      Join Date
      March 28, 2004
      Location
      New York, NY
      Posts
      2,934
      Blog Entries
      18
      Rep Power
      659
      It's not a bug with VaultWiki. It's a bug in the video bbcode because it doesn't create the function in a require_once situation. It creates it within another function, when the entire purpose of a function is to be able to use it more than once.

      Every function in vBulletin is called from a separate file using require_once. While plugin developers should be using the same method, some do in fact define functions inside other functions. But doing so creates potential for the issue you are experiencing. In this case, the plugin should also be checking function_exists:
      Code:
      if (function_exists('function_name'))
      {
      	function function_name()
      	{
      		...
      	}
      }
      - lead developer for VaultWiki
      Reply With Quote Reply With Quote

    Similar Threads

    1. Posting a wiki page to as an article to CMS
      By nobodieshero in forum VaultWiki Questions
      Replies: 2
      Last Post: April 11, 2013, 2:30 PM
    2. Users without permission posting books
      By Alfa1 in forum VaultWiki Questions
      Replies: 2
      Last Post: March 6, 2011, 6:37 PM
    3. Fatal Error after Upgrade 3.0.4 > 3.0.8
      By pingelich in forum VaultWiki Questions
      Replies: 2
      Last Post: December 27, 2010, 8:36 AM
    4. Posting Pictures with Titles
      By theflatline in forum VaultWiki Questions
      Replies: 1
      Last Post: August 4, 2010, 12:36 PM
    5. Posting a book with chapter
      By stev in forum VaultWiki Questions
      Replies: 6
      Last Post: August 17, 2008, 7:17 PM

    Tags for this Thread

    able, all, also, another, are, article, because, been, but, called, can, cannot, case, class, disable, does, doing, entire, error, fatal, for, from, get, getting, has, keep, line, method, more, name, only, other, php, posting, public, reason, same, should, shows, some, that, the, this, use, using, way, when, while, with, within, you

    View Tag Cloud

    Bookmarks

    Bookmarks
    • Submit to Digg Digg
    • Submit to del.icio.us del.icio.us
    • Submit to StumbleUpon StumbleUpon
    • Submit to Google Google

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •  
    • BB code is On
    • Smilies are On
    • [IMG] code is Off
    • [VIDEO] code is
    • HTML code is Off

    Forum Rules

    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 2:43 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.