Error help Needed with BBCode

Discussion in 'vBulletin Discussions' started by ArnyVee, Jul 19, 2009.

  1. ArnyVee

    ArnyVee Regular Member

    Joined:
    May 25, 2009
    Messages:
    1,264
    Likes Received:
    39
    Guys and gals,

    I tried to add the bbCode from this thread on vB.com....

    Anchors in posts using vbcode - vBulletin Community Forum

    ....but, for some strange reason I got the following error message after clicking on "save" while trying to add the first BBCode...

    Fatal error: Cannot redeclare handle_bbcode_video() (previously declared in /home/avarona/domains/waltdisneyboards.com/public_html/includes/class_bbcode.php(2430) : eval()'d code:34) in /home/avarona/domains/waltdisneyboards.com/public_html/includes/class_bbcode.php(2430) : eval()'d code on line 63

    ....anyone have any ideas as to what I could/should do to fix this?

    Thanks! :D
     
  2. Lynne

    Lynne Regular Member

    Joined:
    May 26, 2009
    Messages:
    333
    Likes Received:
    32
    Location:
    Home Sweet Home!
    I don't see what that error has to do with that bbcode - very odd!

    Did you try disabling your plugins and then installing the code?
    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    PHP:
    define('DISABLE_HOOKS'true);
     
    2 people like this.
  3. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    Looks like a possible conflict with another modification.
     
  4. ArnyVee

    ArnyVee Regular Member

    Joined:
    May 25, 2009
    Messages:
    1,264
    Likes Received:
    39
    I disabled the AME mod (since it mentioned video in the error), but still couldn't install the BBCode. So, I'm still not sure how to fix this :(
     
  5. David

    David Regular Member

    Joined:
    May 30, 2003
    Messages:
    1,088
    Likes Received:
    133
    Location:
    Australia
    You're gonna have to disable modification one by one to see whats causing that error.

    Generally its a poorly written modification that if I recall is redeclaring a function inside a function, or has a function with the same name of another.
     
  6. ArnyVee

    ArnyVee Regular Member

    Joined:
    May 25, 2009
    Messages:
    1,264
    Likes Received:
    39
    Thanks for the suggestion Lynne! :D

    Okay, did the disable hooks deal and the BBCode installed with no problem. So, I've got something with a conflict somewhere. Hopefully I can work on disabling these one by one to figure out the issue down the road.

    I'm going to test the BBCode for the anchor now.
     
  7. ArnyVee

    ArnyVee Regular Member

    Joined:
    May 25, 2009
    Messages:
    1,264
    Likes Received:
    39

Share This Page