vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   BB Code Error (https://vborg.vbsupport.ru/showthread.php?t=221110)

MetalMilitia 08-17-2009 03:55 PM

BB Code Error
 
http://forums.armageddononline.org/misc.php?do=bbcode

Code:

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

Quote:

Originally Posted by MetalMilitia (Post 1869244)
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:
PHP Code:

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

PHP Code:

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?


All times are GMT. The time now is 06:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete