The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 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. |
#2
|
||||
|
||||
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:
|
#3
|
|||
|
|||
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?? |
#4
|
|||
|
|||
Looks like that error is coming from a template, in case that helps at all.
|
#5
|
|||
|
|||
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. |
#6
|
|||
|
|||
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. |
#7
|
||||
|
||||
It's related to your style. It doesn't have that error on your other styles....
|
#8
|
|||
|
|||
Ok thankyou for your help. I do really appreciate it.
I will look into template edits now and work the theme issue out. |
#9
|
|||
|
|||
Line 4580 of includes/class_core.php seems to have something to do with the postbit_legacy template. Maybe that helps.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|