The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Error help Needed with BBCode
Guys and gals,
I tried to add the bbCode from this thread on vB.com.... Anchors in posts using vbcode ....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 in advance :up: FYI: Since it stated something about 'video' in the error, I disabled the AME mod that I have, but it still wouldn't install. |
#2
|
|||
|
|||
Hey Arny,
First, do you understand the use of anchors? It's only really necessary for long posts. If you followed his steps exactly, you should have no problems using it. BBCode shouldn't conflict with anything as it's parsed separately. Go back over his tutorial and read it step-by-step and see if you implemented it correctly, then try and use it. I see nothing wrong with this code as it's just using href's to denote parts of the post. Off-topic: It's a nice little piece of code, I might need to use this myself |
#3
|
||||
|
||||
Hey James,
I followed the steps exactly (have done it three times now) and even copy and pasted the exact text into the exact fields as described. But, I get that same error message Does the error message give us any sort of indication of what could be wrong? |
#4
|
|||
|
|||
Hey Arny,
I'm not experienced in PHP but it says it cannot redeclare handle_bbcode_video. Do you have any modifications that use/affect BBCodes in any way? (i.e. BBCode permission handler etc)? Try disabling modifications using: PHP Code:
If this doesn't work, report back to us. |
#5
|
||||
|
||||
James, do I add that in the config file or another php file?
|
#6
|
||||
|
||||
In the config.php file
|
#7
|
|||
|
|||
Oops sorry, got a little carried away there!
Yeah, add to config.php (thanks redline!) |
#8
|
||||
|
||||
No problem
|
#9
|
||||
|
||||
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. Thanks for the help folks :up: |
#10
|
|||
|
|||
1 or more of your modifications are conflicting with the BBCode.
I suggest just disable them all then enable them 1 by 1 until you find the conflict. Then either fix a patch or delete it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|