vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   View Forum Leaders (https://vborg.vbsupport.ru/showthread.php?t=269993)

vshayes 09-09-2011 03:47 PM

View Forum Leaders
 
Let me get started and explain this the best I can.

Two days ago I upgraded to vb 4.x.x and everything was easy as pie.

EXCEPT when I click "view forum leaders" and then I get this error:

public_html/includes/class_core.php(4489) : eval()'d code on line 36

I realize this is probably a plugin, HOWEVER...

Yesterday I disabled HOOKS in the config, and reinstalled vBulletin. When I logged in to the AdminCP all the plugins were disabled and the link worked fine, no errors.

As soon as I disabled HOOKS, the problem happened again.

Mind you....at this time the plugins were all still DISABLED!!!!

I don't understand what is going on, and line 36 reads the following:

define('ALLOW_BBCODE_HTML', 512);

I tried to comment it out with, but it crashed the board. LOL.

Help? :D

kh99 09-09-2011 04:10 PM

The mention of line 36 in the message is line 36 of the eval()'d code. It's called from line 4489 of includes/class_core.php which is:

PHP Code:

eval($template_code); 


so it looks like the problem is in a template. If it only happens for "view forum leaders", then it must be SHOWGROUPS or one beginning with showgroups_.

vshayes 09-09-2011 05:02 PM

Quote:

Originally Posted by kh99 (Post 2243986)
The mention of line 36 in the message is line 36 of the eval()'d code. It's called from line 4489 of includes/class_core.php which is:

PHP Code:

eval($template_code); 


so it looks like the problem is in a template. If it only happens for "view forum leaders", then it must be SHOWGROUPS or one beginning with showgroups_.

Thank you for your help, Kevin. What would be the best course of action?

kh99 09-09-2011 05:27 PM

I'm not sure. Maybe open those templates in the editor and see if you see anything wrong, and then save each of them and make sure you don't see any errors when saving.


All times are GMT. The time now is 03:52 PM.

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.00925 seconds
  • Memory Usage 1,720KB
  • 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
  • (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