PDA

View Full Version : Hacked? Unusual Board Error


Mr.Danko Jones
09-04-2013, 04:10 PM
http://board.gscentral.org/forum.php shows this error message:

Parse error: syntax error, unexpected ';' in /www/htdocs/w0082736/includes/init.php(336) : eval()'d code on line 416
Unable to add cookies, header already sent.
File: /www/htdocs/w0082736/includes/init.php(336) : eval()'d code
Line: 416

I have tried checking the init.php file and replaced the file (which hadn't been modified apparently) with the default one from vBulletin and it still didn't fix things.

Any help? :)

ozzy47
09-04-2013, 04:14 PM
Have you recently installed any mods? Lets test and see if it is a mod causing it.

Open your config.php and below<?php add this line:

define('DISABLE_HOOKS', true);So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.1.4 Then check your site and see if the issue still persists, you must remove the define('DISABLE_HOOKS', true); from the config.php if you want the mods running again.

nerbert
09-04-2013, 05:40 PM
Parse error: syntax error, unexpected ';' in /www/htdocs/w0082736/includes/init.php(336) : eval()'d code on line 416

The problem is on line 416 of some plugin. See if you can find one that goes in a hook location that sounds like something that would be found in init.php

tbworld
09-04-2013, 09:28 PM
I have tried checking the init.php file and replaced the file (which hadn't been modified apparently) with the default one from vBulletin and it still didn't fix things.
Any help? :)

Follow @Nerbert's suggestion, but this might help.

Look for plugins on "init_startup"...

In the plugin manager if you click on "Hook Location" on the top header bar -- it will sort by hooks.

Mr.Danko Jones
09-05-2013, 03:56 PM
Turned off the plug-ins...back came the boards! Thanks for the idea. Now to find out what plug-in is doing it! :)

ozzy47
09-05-2013, 11:13 PM
Disable all the mods, then remove that line from the config.php

Then re enable each one till you find the culprit.

squidsk
09-06-2013, 01:55 PM
This may also be related to: https://vborg.vbsupport.ru/showthread.php?t=301904.

ozzy47
09-06-2013, 09:13 PM
Nah I don't believe so, it is a modification that is causing the error.