PDA

View Full Version : BB Code Error


MetalMilitia
08-17-2009, 03:55 PM
http://forums.armageddononline.org/misc.php?do=bbcode

Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /home/armaged3/public_html/forums/misc.php(482) : eval()'d code on line 1

Likely a mod causing it I'm sure.... anyone know a possible solution?

Lynne
08-17-2009, 04:11 PM
Likely a mod causing it I'm sure.... anyone know a possible solution?
Sure, disable the mod. :)

Here is the problem line (482 in misc.php), so you should go take a look at the code and the template:
eval('$template[\'bbcodebits\'] .= "' . fetch_template('help_bbcodes_bbcode') . '";');

MetalMilitia
08-17-2009, 04:16 PM
line is the same, any idea what mod would cause something like this?

I haven't installed many recently - so it's confusing.

Lynne
08-17-2009, 05:16 PM
Did you try disabling your modifications/plugins and see if you still have this problem?
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Also, do this to see if this problem exists on a default style:
Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem?