vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Help needed. (https://vborg.vbsupport.ru/showthread.php?t=274317)

DAMINK 11-20-2011 05:36 AM

Help needed.
 
For no apparent reason i started getting this error.
On top of all pages and many many entries.

Code:

Parse error: syntax error, unexpected '[', expecting T_STRING or T_VARIABLE or '$' in /home/ftwforum/public_html/includes/class_core.php(4580) : eval()'d code on line 6
Over and over again.

Running vBulletin 4.1.7 Patch Level 1 and was about to update.
Like i said there was nothing i noticed to make it happen.
The Baidu spider was holding quite a few connections so i did ban that via .htaccess and no luck.
Any help would be appreciated.

HMBeaty 11-20-2011 05:40 AM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
PHP Code:

define('DISABLE_HOOKS'true); 


DAMINK 11-20-2011 05:53 AM

Tried disabling from the settings option plugin/hook system and no luck.
Will try edit the config file now.

Tried the edit on config file and no luck.
No mods or themes were added in months and months.
It just seemed to happen out of the blue.
The one thing that did change was i had about 50 connections from the baidu bot. But that is not .htaccess banned so should be ok??

kh99 11-20-2011 05:58 AM

Looks like that error is coming from a template, in case that helps at all.

DAMINK 11-20-2011 06:04 AM

No template changes in atleast 6 months.
The one think i did actually do is gave a mate access to change bbcode about 1/2 hr before.
He did not do any edits. He is sitting beside me now while i type this. (A very close mate)
So he did nothing. I changed his permissions back and checked logs. Nothing was done and i am 1000% sure he did nothing. Life long mate. Just thats all that happened.
Dunno guys my baby is down and me not happy lol.

kh99 11-20-2011 06:15 AM

Could have been a change by mistake - or maybe something else happened. You say the errors are at the top of every page - is that every page with posts, or every page? If it's every page, you could look at header, headinclude, footer, and navbar to see if those look OK.

Is that the entire error message? Sometimes there's more info about where that function was called from.

HMBeaty 11-20-2011 06:17 AM

It's related to your style. It doesn't have that error on your other styles....

DAMINK 11-20-2011 06:27 AM

Ok thankyou for your help. I do really appreciate it.
I will look into template edits now and work the theme issue out.

nerbert 11-20-2011 07:22 AM

Line 4580 of includes/class_core.php seems to have something to do with the postbit_legacy template. Maybe that helps.


All times are GMT. The time now is 02:29 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.00946 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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